summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-06-04 01:10:05 +0200
committerJason Ekstrand <[email protected]>2018-06-22 20:54:00 -0700
commit3573570afef9f8f7c08643e01f64b0f75093c06b (patch)
tree898ad06c1cc24fbdd08efbeb900011950a546efc
parent75286c2d083cdbdfb202a93349e567df0441d5f7 (diff)
radv: Disable lower_io_to_temporaries during deref changes.
Acked-by: Bas Nieuwenhuizen <[email protected]> Acked-by: Dave Airlie <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/amd/vulkan/radv_shader.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c
index 9ffb4fb6157..147092511de 100644
--- a/src/amd/vulkan/radv_shader.c
+++ b/src/amd/vulkan/radv_shader.c
@@ -291,6 +291,8 @@ radv_shader_compile_to_nir(struct radv_device *device,
nir_lower_vars_to_ssa(nir);
+ /* Temporarily disabled during deref changes */
+#if 0
if (nir->info.stage == MESA_SHADER_VERTEX ||
nir->info.stage == MESA_SHADER_GEOMETRY) {
NIR_PASS_V(nir, nir_lower_io_to_temporaries,
@@ -300,6 +302,7 @@ radv_shader_compile_to_nir(struct radv_device *device,
NIR_PASS_V(nir, nir_lower_io_to_temporaries,
nir_shader_get_entrypoint(nir), true, false);
}
+#endif
nir_split_var_copies(nir);
nir_lower_var_copies(nir);