summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-05-04 01:25:21 -0700
committerKenneth Graunke <[email protected]>2017-05-06 15:43:43 -0700
commit1151349c2afb5d6a497a6312364efa2443977a21 (patch)
tree0578442b85a9268798937e2a422cead835dd72fa /src/mesa/drivers
parent6e2c39f562bce4f3aa6ad93afe9c1b08415f252e (diff)
i965: Drop BRW_NEW_BLORP from 3DSTATE_VF atom.
BLORP doesn't program 3DSTATE_VF, since it doesn't use index buffers, making the setting irrelevant. So there's no need to re-emit it after a BLORP operation - the old setting will still be in place. Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/genX_state_upload.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/genX_state_upload.c b/src/mesa/drivers/dri/i965/genX_state_upload.c
index ca05817e19c..67873d06431 100644
--- a/src/mesa/drivers/dri/i965/genX_state_upload.c
+++ b/src/mesa/drivers/dri/i965/genX_state_upload.c
@@ -855,8 +855,7 @@ genX(upload_cut_index)(struct brw_context *brw)
const struct brw_tracked_state genX(cut_index) = {
.dirty = {
.mesa = _NEW_TRANSFORM,
- .brw = BRW_NEW_BLORP |
- BRW_NEW_INDEX_BUFFER,
+ .brw = BRW_NEW_INDEX_BUFFER,
},
.emit = genX(upload_cut_index),
};