diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2014-01-16 15:37:53 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2014-01-25 16:45:49 -0800 |
commit | 04e5f2e94f5628fa8009029255c91e6bf84ec7da (patch) | |
tree | 9c3db6bf583e57d65397200bdcc0cc39c374252f /src/gtest | |
parent | a3f259e4049a4e2e12d53bc3cb35e3a684afe0d4 (diff) |
nv50: access only the available amount of constbuf
The textures array is defined as a number of NV50_MAX_PIPE_CONSTBUFS
per shader stage. Currently the nv50 driver handles only 3 shader
stages, thus we wreck chaos when accessing array-out-of-bounds.
Cc: 9.1 9.2 10.0 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
(cherry picked from commit 12e744abbb9fd8cb07a12954aaa7127521d5af0a)
Diffstat (limited to 'src/gtest')
0 files changed, 0 insertions, 0 deletions