diff options
author | Jason Ekstrand <[email protected]> | 2018-12-13 11:08:13 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-01-08 00:38:30 +0000 |
commit | fc9c4f89b85c0116c0dc22a3eaf25f5df88ad657 (patch) | |
tree | d66f7211155d2ba45fb2fd269233a9249092b9cd /src/compiler/glsl/ast_to_hir.cpp | |
parent | bf1a1eed882980a1cd08482386e3a001ce64a5a4 (diff) |
nir: Move propagation of cast derefs to a new nir_opt_deref pass
We're going to want to do more deref optimizations going forward and
this gives us a central place to do them. Also, cast propagation will
get a bit more complicated with the addition of ptr_as_array derefs.
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ast_to_hir.cpp')
0 files changed, 0 insertions, 0 deletions