[Mesa-dev] [PATCH 01/19] fixup! anv, i965, radv, st, ir3: Call nir_lower_deref_instrs
Bas Nieuwenhuizen
bas at basnieuwenhuizen.nl
Sun May 13 00:19:55 UTC 2018
Also apply the pass to radv meta shaders.
---
src/amd/vulkan/radv_shader.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c
index afafea46f0c..d52471fe9e4 100644
--- a/src/amd/vulkan/radv_shader.c
+++ b/src/amd/vulkan/radv_shader.c
@@ -179,6 +179,8 @@ radv_shader_compile_to_nir(struct radv_device *device,
assert(exec_list_length(&nir->functions) == 1);
struct exec_node *node = exec_list_get_head(&nir->functions);
entry_point = exec_node_data(nir_function, node, node);
+
+ NIR_PASS_V(nir, nir_lower_deref_instrs, ~0);
} else {
uint32_t *spirv = (uint32_t *) module->data;
assert(module->size % 4 == 0);
--
2.17.0
More information about the mesa-dev
mailing list