diff --git a/src/vrend_shader.c b/src/vrend_shader.c index 6066d7d..8d59fa2 100644 --- a/src/vrend_shader.c +++ b/src/vrend_shader.c @@ -6310,25 +6310,7 @@ static void emit_ios_tes(struct dump_ctx *ctx) ctx->tes_vertex_order ? "cw" : "ccw", ctx->tes_point_mode ? ", point_mode" : ""); - for (i = 0; i < ctx->num_outputs; i++) { - if (!ctx->outputs[i].glsl_predefined_no_emit) { - const char *prefix = ""; - if (ctx->outputs[i].name == TGSI_SEMANTIC_GENERIC || - ctx->outputs[i].name == TGSI_SEMANTIC_COLOR || - ctx->outputs[i].name == TGSI_SEMANTIC_BCOLOR) { - ctx->num_interps++; - prefix = INTERP_PREFIX; - } - emit_ios_generics(ctx, io_out, prefix, &ctx->outputs[i], - ctx->outputs[i].fbfetch_used ? "inout" : "out", ""); - - } else if (ctx->outputs[i].invariant || ctx->outputs[i].precise) { - emit_hdrf(ctx, "%s%s;\n", - ctx->outputs[i].precise ? "precise " : - (ctx->outputs[i].invariant ? "invariant " : ""), - ctx->outputs[i].glsl_name); - } - } + emit_ios_generic_outputs(ctx, can_emit_generic_default); emit_winsys_correction(ctx);