summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-06-14 23:09:24 +0200
committerMarek Olšák <[email protected]>2017-06-22 01:51:02 +0200
commit743ad599a97d09b119d26b99f6b79e41b567e421 (patch)
tree3ccdbd3d7ea47037329bc97d8d87e247f7d77c6a /common.py
parent2ec1e32d11ed788dfed229a569a238743b9b1f9f (diff)
st/mesa: don't set 16 scissors and 16 viewports if they're unused
Only do so if there is a shader writing gl_ViewportIndex. This removes a lot of CPU overhead for the most common case. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions