summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-06-04 01:10:12 +0200
committerJason Ekstrand <[email protected]>2018-06-22 21:23:06 -0700
commit8c4f430d438f37f9e3d6c16aff3ed82d671d9ddb (patch)
tree9df28c6066ca062c3b2cf092605faa83e3644dba /src/amd
parentaef4213fca6a8e6d0c6f3b0abeabd878e0c1d351 (diff)
radv: Enable lower_io_to_temporaries after deref changes.
Acked-by: Bas Nieuwenhuizen <[email protected]> Acked-by: Dave Airlie <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/vulkan/radv_shader.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c
index a0069de49d0..03185de304a 100644
--- a/src/amd/vulkan/radv_shader.c
+++ b/src/amd/vulkan/radv_shader.c
@@ -287,8 +287,6 @@ 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,
@@ -298,7 +296,6 @@ 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);