diff options
author | Marek Olšák <[email protected]> | 2017-06-14 23:09:24 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-06-22 01:51:02 +0200 |
commit | 743ad599a97d09b119d26b99f6b79e41b567e421 (patch) | |
tree | 3ccdbd3d7ea47037329bc97d8d87e247f7d77c6a /common.py | |
parent | 2ec1e32d11ed788dfed229a569a238743b9b1f9f (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