diff options
author | Samuel Pitoiset <[email protected]> | 2019-07-12 18:12:32 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-07-16 11:16:53 +0200 |
commit | 219dc1b25ccacbd6c0d3db35c5284419319c3cb2 (patch) | |
tree | 62ac94c18e16d3ef99b3feb4b27e58c8700fb730 | |
parent | 68603b767f4c3b3aa4f992a28cbb0fa349a2802b (diff) |
radv: restore an assertion in handle_vs_outputs()
The NGG GS epilogue no longers call that function so the assertion
is just useless now.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
-rw-r--r-- | src/amd/vulkan/radv_nir_to_llvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_nir_to_llvm.c b/src/amd/vulkan/radv_nir_to_llvm.c index b890ce56f16..b87258d4695 100644 --- a/src/amd/vulkan/radv_nir_to_llvm.c +++ b/src/amd/vulkan/radv_nir_to_llvm.c @@ -2965,7 +2965,7 @@ handle_vs_outputs_post(struct radv_shader_context *ctx, outputs[noutput].usage_mask = ctx->shader_info->info.tes.output_usage_mask[i]; } else { - assert(ctx->is_gs_copy_shader || ctx->options->key.vs_common_out.as_ngg); + assert(ctx->is_gs_copy_shader); outputs[noutput].usage_mask = ctx->shader_info->info.gs.output_usage_mask[i]; } |