From a5ec8461f93318ceeb19577d917725cb3f368ec9 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Tue, 12 Dec 2017 17:18:32 +0100 Subject: [PATCH] spirv: Handle SpvExecutionModeXfb This just sets has_transform_feedback_varyings on the shader. Reviewed-by: Timothy Arceri --- src/compiler/spirv/spirv_to_nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/spirv/spirv_to_nir.c b/src/compiler/spirv/spirv_to_nir.c index 79104695f5f..4013d2ddd0e 100644 --- a/src/compiler/spirv/spirv_to_nir.c +++ b/src/compiler/spirv/spirv_to_nir.c @@ -3721,7 +3721,7 @@ vtn_handle_execution_mode(struct vtn_builder *b, struct vtn_value *entry_point, break; case SpvExecutionModeXfb: - vtn_fail("Unhandled execution mode"); + b->shader->info.has_transform_feedback_varyings = true; break; case SpvExecutionModeVecTypeHint: -- 2.30.2