[Mesa-dev] [PATCH 2/6] radv: restore an assertion in handle_vs_outputs()
Samuel Pitoiset
samuel.pitoiset at gmail.com
Fri Jul 12 16:12:32 UTC 2019
The NGG GS epilogue no longers call that function so the assertion
is just useless now.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
src/amd/vulkan/radv_nir_to_llvm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/amd/vulkan/radv_nir_to_llvm.c b/src/amd/vulkan/radv_nir_to_llvm.c
index d5d30bbcf12..bc1d72f51bb 100644
--- a/src/amd/vulkan/radv_nir_to_llvm.c
+++ b/src/amd/vulkan/radv_nir_to_llvm.c
@@ -2974,7 +2974,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];
}
--
2.22.0
More information about the mesa-dev
mailing list