projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
505b81b
)
radv: Don't run opt_remove_phis before lower_returns
author
Jesse Natalie
<jenatali@microsoft.com>
Fri, 12 May 2023 15:14:35 +0000
(08:14 -0700)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 26 May 2023 18:31:30 +0000
(18:31 +0000)
nir_lower_returns will run nir_opt_remove_phis as part of its work
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22913>
src/amd/vulkan/radv_rt_shader.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_rt_shader.c
b/src/amd/vulkan/radv_rt_shader.c
index
36f06b4
..
b10ee33
100644
(file)
--- a/
src/amd/vulkan/radv_rt_shader.c
+++ b/
src/amd/vulkan/radv_rt_shader.c
@@
-832,7
+832,6
@@
insert_rt_case(nir_builder *b, nir_shader *shader, struct rt_variables *vars, ni
NIR_PASS_V(shader, lower_rt_instructions, &src_vars, call_idx_base);
- NIR_PASS(_, shader, nir_opt_remove_phis);
NIR_PASS(_, shader, nir_lower_returns);
NIR_PASS(_, shader, nir_opt_dce);