projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2d0e48
)
st/nir: Use gl_nir_opt_access
author
Connor Abbott
<cwabbott0@gmail.com>
Tue, 4 Jun 2019 12:18:54 +0000
(14:18 +0200)
committer
Connor Abbott
<cwabbott0@gmail.com>
Wed, 19 Jun 2019 12:08:28 +0000
(14:08 +0200)
Nothing uses its results yet, that will come with the following commits.
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/state_tracker/st_glsl_to_nir.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_glsl_to_nir.cpp
b/src/mesa/state_tracker/st_glsl_to_nir.cpp
index e4303b0250cf99da410f84de789003c71f75f32e..97dfe7a54a2b22d4fb4522d0369c08322f11e397 100644
(file)
--- a/
src/mesa/state_tracker/st_glsl_to_nir.cpp
+++ b/
src/mesa/state_tracker/st_glsl_to_nir.cpp
@@
-359,6
+359,8
@@
st_nir_opts(nir_shader *nir, bool scalar)
lower_flrp = 0;
}
+ NIR_PASS(progress, nir, gl_nir_opt_access);
+
NIR_PASS(progress, nir, nir_opt_undef);
NIR_PASS(progress, nir, nir_opt_conditional_discard);
if (nir->options->max_unroll_iterations) {