projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fd5b4c
)
spirv: Handle SpvExecutionModeXfb
author
Neil Roberts
<nroberts@igalia.com>
Tue, 12 Dec 2017 16:18:32 +0000
(17:18 +0100)
committer
Alejandro Piñeiro
<apinheiro@igalia.com>
Tue, 31 Jul 2018 11:18:28 +0000
(13:18 +0200)
This just sets has_transform_feedback_varyings on the shader.
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/spirv/spirv_to_nir.c
patch
|
blob
|
history
diff --git
a/src/compiler/spirv/spirv_to_nir.c
b/src/compiler/spirv/spirv_to_nir.c
index 79104695f5f4b9804e7b5f7424d548c93c99b679..4013d2ddd0ec77dddecb20f1e88a7c09d900b5df 100644
(file)
--- 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: