diff options
author | Neil Roberts <[email protected]> | 2017-12-12 17:18:32 +0100 |
---|---|---|
committer | Alejandro PiƱeiro <[email protected]> | 2018-07-31 13:18:28 +0200 |
commit | a5ec8461f93318ceeb19577d917725cb3f368ec9 (patch) | |
tree | 192f931fd07258d297461500153898dc57d5a8c0 /src | |
parent | 3fd5b4c7aa467d160b9a57c47239d90950346aad (diff) |
spirv: Handle SpvExecutionModeXfb
This just sets has_transform_feedback_varyings on the shader.
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/spirv/spirv_to_nir.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |