summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_validate.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-03-28 10:02:17 -0700
committerKenneth Graunke <[email protected]>2015-04-07 14:34:13 -0700
commit4f4b04b7c7ee1ce27da990190a740473db0f2ecb (patch)
tree16f5cc9c92f06cb6a5db5124716c259b8f8ea986 /src/glsl/nir/nir_validate.c
parent900498bd111091dfda79d5ca6d84fffd427a866d (diff)
nir: Allocate nir_ssa_def::uses/if_uses out of the instruction.
We can't allocate them out of the nir_ssa_def itself, because it may not be ralloc'd (for example, nir_dest embeds a nir_ssa_def). However, allocating them out of the instruction should work. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_validate.c')
0 files changed, 0 insertions, 0 deletions