diff options
author | Eric Anholt <[email protected]> | 2017-09-07 10:17:02 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-09-18 16:14:27 -0700 |
commit | 6e3d7a59162a48cd55c7405295061301839c8135 (patch) | |
tree | 64098cc010594eedf9f5979e22e5e02e13081ef2 /src/gallium/drivers | |
parent | 9f763c1f9b7654912e3fcfac814a55eed68881fe (diff) |
ttn: Fix out-of-bounds accesses since the always-2D-constants change.
Only one of the three checks for dim was updated, so we would try to set a
UBO buffer index source value on a nir_load_uniform, and wouldn't actually
declare non-UBO uniforms.
Fixes: 37dd8e8dee1d ("gallium: all drivers should accept two-dimensional constant buffer indexing")
Tested-by: Derek Foreman <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
0 files changed, 0 insertions, 0 deletions