shader: Emit indirect generic outputs in GS and TES

With the NTT code path in the guest we might end up with
the generic array outputs also with GS and TES.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Corentin Noël <corentin.noel@collabora.com>
macos/master
Gert Wollny 3 years ago committed by Gert Wollny
parent 3c1846eec0
commit 91e81d6c42
  1. 4
      src/vrend_shader.c

@ -6837,6 +6837,8 @@ static void emit_ios_geom(const struct dump_ctx *ctx,
}
}
emit_ios_indirect_generics_output(ctx, glsl_strbufs, "");
emit_ios_generic_outputs(ctx, glsl_strbufs, generic_ios, front_back_color_emitted_flags,
force_color_two_side, num_interps, can_emit_generic_geom);
@ -6952,6 +6954,8 @@ static void emit_ios_tes(const struct dump_ctx *ctx,
ctx->tes_vertex_order ? "cw" : "ccw",
ctx->tes_point_mode ? ", point_mode" : "");
emit_ios_indirect_generics_output(ctx, glsl_strbufs, "");
emit_ios_generic_outputs(ctx, glsl_strbufs, generic_ios, front_back_color_emitted_flags,
force_color_two_side, num_interps, can_emit_generic_default);

Loading…
Cancel
Save