projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6648bd6
)
radv: enable nir varying array splitting
author
Timothy Arceri
<tarceri@itsqueeze.com>
Mon, 30 Oct 2017 00:58:52 +0000
(11:58 +1100)
committer
Timothy Arceri
<tarceri@itsqueeze.com>
Mon, 4 Dec 2017 01:52:18 +0000
(12:52 +1100)
Acked-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_pipeline.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_pipeline.c
b/src/amd/vulkan/radv_pipeline.c
index 6490b04863070f8005911513468be77d4b7095fb..0146d6935e00f47b87b36143f0b52a783387d5c0 100644
(file)
--- a/
src/amd/vulkan/radv_pipeline.c
+++ b/
src/amd/vulkan/radv_pipeline.c
@@
-1682,6
+1682,9
@@
radv_link_shaders(struct radv_pipeline *pipeline, nir_shader **shaders)
}
for (int i = 1; i < shader_count; ++i) {
+ nir_lower_io_arrays_to_elements(ordered_shaders[i],
+ ordered_shaders[i - 1]);
+
nir_remove_dead_variables(ordered_shaders[i],
nir_var_shader_out);
nir_remove_dead_variables(ordered_shaders[i - 1],