static void
disable_stages(struct brw_context *brw)
{
- struct intel_context *intel = &brw->intel;
-
assert(!brw->gs.prog_active);
/* Disable the Geometry Shader (GS) Unit */
OUT_BATCH(_3DSTATE_BINDING_TABLE_POINTERS_DS << 16 | (2 - 2));
OUT_BATCH(0);
ADVANCE_BATCH();
-
- /* Disable the SOL stage */
- BEGIN_BATCH(3);
- OUT_BATCH(_3DSTATE_STREAMOUT << 16 | (3 - 2));
- OUT_BATCH(0);
- OUT_BATCH(0);
- ADVANCE_BATCH();
}
const struct brw_tracked_state gen7_disable_stages = {
.dirty = {
.mesa = 0,
- .brw = BRW_NEW_BATCH,
+ .brw = BRW_NEW_CONTEXT,
.cache = 0,
},
.emit = disable_stages,