summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_opt_dce.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-12-13 17:42:34 -0600
committerJason Ekstrand <[email protected]>2019-01-08 00:38:30 +0000
commitd0fe52a456bca1877db583f3e3ca23387c323d31 (patch)
tree4562995699d0f4bd984c25337502fd0a8d36b2d8 /src/compiler/nir/nir_opt_dce.c
parent7e85480a67eea965481266bf4bcdb690b44e19bd (diff)
nir/validate: Allow derefs in phi nodes
We added this assert when first moving derefs over to instructions to ensure that deref chains could go all the way back to the variables. Now that we're going to start using derefs for things that we can do variable pointers on such as UBOs and SSBOs, we need to be able to run derefs through phi nodes, selects, and basically anything else. Reviewed-by: Alejandro PiƱeiro <[email protected]> Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_opt_dce.c')
0 files changed, 0 insertions, 0 deletions