summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-03-28 00:02:37 -0700
committerKenneth Graunke <[email protected]>2015-04-02 14:20:03 -0700
commitda5ec2ac0bc20b52fefe59081efcdb9b3989f6a7 (patch)
treebaa386df6a87e586980d6c7ffbf6f2d9cd9003e4 /src/gallium
parent7380c641b116a47d5729c553dcf3ed7143e877cc (diff)
nir: Allocate nir_tex_instr::sources out of the instruction itself.
The lifetime of the sources array needs to be match the nir_tex_instr itself. So, allocate it using the instruction itself as the context. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions