diff options
author | Kenneth Graunke <[email protected]> | 2015-03-28 10:02:17 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-04-07 14:34:13 -0700 |
commit | 4f4b04b7c7ee1ce27da990190a740473db0f2ecb (patch) | |
tree | 16f5cc9c92f06cb6a5db5124716c259b8f8ea986 /src/glsl/nir/nir_validate.c | |
parent | 900498bd111091dfda79d5ca6d84fffd427a866d (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