i965: Drop BRW_NEW_BLORP from 3DSTATE_VF atom.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 4 May 2017 08:25:21 +0000 (01:25 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 6 May 2017 22:43:43 +0000 (15:43 -0700)
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 <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/genX_state_upload.c

index ca05817..67873d0 100644 (file)
@@ -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),
 };