diff options
author | Emil Velikov <[email protected]> | 2014-01-16 15:35:02 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-01-18 19:16:16 +0000 |
commit | d606ca37eb20f18d8ac4727c68831fcecb2f7de4 (patch) | |
tree | 31c6cf2a2189bfe24b8edaa87f88465b5aefbfec /src/gallium/drivers/nouveau/nouveau_video.h | |
parent | bf70c238a72021d61e1464ecc31932c47b7003cc (diff) |
nv50: access only the available amount of textures
The textures array is defined as a number of PIPE_MAX_SAMPLERS per shader stage.
Currently nv50 driver handles only 3 shader stages, thus we wreck chaos when
accessing array-out-of-bounds.
Fixes a segfault in piglit/bin/arb_texture_buffer_object-data-sync -fbo -auto
Cc: 9.1 9.2 10.0 <[email protected]>
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_video.h')
0 files changed, 0 insertions, 0 deletions