From: Samuel Pitoiset Date: Tue, 14 Apr 2020 15:46:51 +0000 (+0200) Subject: aco: fix emitting stream output with tess eval shaders X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11faaf646d1397db0d902298a3f0870f79692b68;p=mesa.git aco: fix emitting stream output with tess eval shaders Fixes dEQP-VK.transform_feedback.simple.winding_patch_list_12. Signed-off-by: Samuel Pitoiset Reviewed-by: Timur Kristóf Part-of: --- diff --git a/src/amd/compiler/aco_instruction_selection.cpp b/src/amd/compiler/aco_instruction_selection.cpp index c0977f518b8..21ba2ec2cf6 100644 --- a/src/amd/compiler/aco_instruction_selection.cpp +++ b/src/amd/compiler/aco_instruction_selection.cpp @@ -10199,7 +10199,7 @@ static void emit_stream_output(isel_context *ctx, Temp out[4]; bool all_undef = true; - assert(ctx->stage == vertex_vs || ctx->stage == gs_copy_vs); + assert(ctx->stage & hw_vs); for (unsigned i = 0; i < num_comps; i++) { out[i] = ctx->outputs.temps[loc * 4 + start + i]; all_undef = all_undef && !out[i].id();