diff options
author | Samuel Pitoiset <[email protected]> | 2020-04-14 17:46:51 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-16 07:57:39 +0000 |
commit | 11faaf646d1397db0d902298a3f0870f79692b68 (patch) | |
tree | e082d1050951967a53a7adbfd57f08e0d8c9d6f1 /src/amd | |
parent | 91aa596ca7ef3411264181f49f58743f5c965710 (diff) |
aco: fix emitting stream output with tess eval shaders
Fixes dEQP-VK.transform_feedback.simple.winding_patch_list_12.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timur Kristóf <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4553>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/compiler/aco_instruction_selection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |