diff options
author | Brian Paul <brianp@vmware.com> | 2016-07-15 07:08:13 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2016-07-15 11:05:18 -0600 |
commit | 50a669de4e216d2e3bea3ec1148c7e79f77ecb27 (patch) | |
tree | cd31ee13b79761bbfb958da7e56e6cb8c6ec5300 /src/intel/vulkan | |
parent | b9d10e79c88842ba05d6937a3803cb5740b866da (diff) | |
download | external_mesa3d-50a669de4e216d2e3bea3ec1148c7e79f77ecb27.zip external_mesa3d-50a669de4e216d2e3bea3ec1148c7e79f77ecb27.tar.gz external_mesa3d-50a669de4e216d2e3bea3ec1148c7e79f77ecb27.tar.bz2 |
svga: handle mismatched number of samplers, sampler views
in svga_init_shader_key_common(). Since the CSO module only tracks
sampler views for fragment shaders, the number of samplers and sampler
views can be mismatched for other types of shaders. This situation
triggered an assertion in Chrome with maps.google.com
This patch adds defensive code to handle that situation.
Fixes VMware bug 1694027
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Diffstat (limited to 'src/intel/vulkan')
0 files changed, 0 insertions, 0 deletions