summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_atom.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-08-02 15:17:27 +0200
committerMarek Olšák <[email protected]>2016-08-12 18:47:24 +0200
commit412bd7360c46405de3158683ce0f349126c30b77 (patch)
tree4a0de2e51fd8250a013ced35b4e986f5b134d93a /src/mesa/state_tracker/st_atom.c
parentdd93cbc8945e182ab3130eeeb074fae798e5d4af (diff)
st/mesa: don't update clip state if it has no effect
Tested-by: Edmondo Tommasina <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_atom.c')
-rw-r--r--src/mesa/state_tracker/st_atom.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_atom.c b/src/mesa/state_tracker/st_atom.c
index 06c523e8b8e..b73ae32d8d7 100644
--- a/src/mesa/state_tracker/st_atom.c
+++ b/src/mesa/state_tracker/st_atom.c
@@ -141,9 +141,6 @@ void st_validate_state( struct st_context *st, enum st_pipeline pipeline )
pipeline_mask &= ~ST_NEW_TES_RESOURCES;
if (!ctx->GeometryProgram._Current)
pipeline_mask &= ~ST_NEW_GS_RESOURCES;
- if (!ctx->Transform.ClipPlanesEnabled)
- pipeline_mask &= ~ST_NEW_CLIP_STATE;
-
break;
case ST_PIPELINE_COMPUTE:
if (ctx->ComputeProgram._Current != &st->cp->Base)