| commit | 072f30955b427c0e9bbc7b1c290e196b846a7598 | [log] [tgz] |
|---|---|---|
| author | Italo Nicola <italonicola@collabora.com> | Wed Nov 03 07:40:36 2021 -0300 |
| committer | Gert Wollny <gw.fossdev@gmail.com> | Mon Dec 13 15:10:52 2021 +0000 |
| tree | 164ca4dbbb9d6268f42df60106314509a63064d0 | |
| parent | 2f054bd97657156199f0e1223af82d7d2c214321 [diff] |
shader: Always write code to toggle clip plane This prevents shader recompilation when the guest only wants to enable/disable clip plane in a compatibility profile. Can improve performance if many shaders have to be recompiled because of this, which happens in some games like Portal 2. Signed-off-by: Italo Nicola <italonicola@collabora.com> Reviewed-by: Gert Wollny <gert.wollny@collabora.com>