summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-07-15 07:08:13 -0600
committerBrian Paul <[email protected]>2016-07-15 11:05:18 -0600
commit50a669de4e216d2e3bea3ec1148c7e79f77ecb27 (patch)
treecd31ee13b79761bbfb958da7e56e6cb8c6ec5300 /common.py
parentb9d10e79c88842ba05d6937a3803cb5740b866da (diff)
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: <[email protected]> Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions