diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2014-09-10 17:57:54 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2014-09-11 11:18:36 -0700 |
commit | 7aeb853c90c2e84fdd4b6b0af97566562c912861 (patch) | |
tree | 8916d3b7482da224a96b0576704ccacaa88612ff /src/gallium/README.portability | |
parent | a46d7579e9b92a48e391ef63be7129a957bf155a (diff) |
i965/vec4: Only examine virtual_grf_end for GRF sources
If the source is not a GRF, it could have a register >= virtual_grf_count.
Accessing virtual_grf_end with such a register would lead to
out-of-bounds access. Make sure the source is a GRF before accessing
virtual_grf_end.
Fixes Valgrind complaints while compiling some shaders.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: mesa-stable@lists.freedesktop.org
Diffstat (limited to 'src/gallium/README.portability')
0 files changed, 0 insertions, 0 deletions