projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aef4213
)
radv: Enable lower_io_to_temporaries after deref changes.
author
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Sun, 3 Jun 2018 23:10:12 +0000
(
01:10
+0200)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 23 Jun 2018 04:23:06 +0000
(21:23 -0700)
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Acked-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/amd/vulkan/radv_shader.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_shader.c
b/src/amd/vulkan/radv_shader.c
index a0069de49d041d4c5975289debcecab96c58df91..03185de304a8d5273b8d63901916a13c5046b217 100644
(file)
--- 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);