From: Neil Roberts Date: Tue, 12 Dec 2017 16:18:32 +0000 (+0100) Subject: spirv: Handle SpvExecutionModeXfb X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5ec8461f93318ceeb19577d917725cb3f368ec9;p=mesa.git spirv: Handle SpvExecutionModeXfb This just sets has_transform_feedback_varyings on the shader. Reviewed-by: Timothy Arceri --- 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: