summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2017-01-14 18:08:11 -0500
committerConnor Abbott <[email protected]>2017-01-14 18:18:17 -0500
commitc9b74f3f0306a3305ad62644a7c7ef1e4a3f19f1 (patch)
tree9ba956776cec33f32e037852be1e630f400a8070 /src/gallium/drivers
parentbf8e1f9e7b26acecab1fc63a526ce3d10eae4c61 (diff)
nir/gcm: fix a bug with metadata handling
We were using impl->num_blocks, but that isn't guaranteed to be up-to-date until after the block_index metadata is required. If we were unlucky, this could lead to overwriting memory. Noticed by inspection. Signed-off-by: Connor Abbott <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
0 files changed, 0 insertions, 0 deletions