iris: Drop comment about ISP_DIS
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 24 Jan 2019 00:58:30 +0000 (16:58 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:11 +0000 (10:26 -0800)
i965 re-emits 3DSTATE_CONSTANT_* on every batch, so there's no point in
restoring the constants from the context.  Iris actually re-pins the
constant buffers properly across the batch, and avoids re-emitting the
constant packets unless it's necessary.  So, we don't want ISP_DIS.

src/gallium/drivers/iris/iris_batch.c

index 66ed3c36278573a77215a2227b111a14c15f6aa7..2e4d529ffb25f3fde34442f550672c4c15b2c458 100644 (file)
@@ -444,8 +444,6 @@ iris_chain_to_new_batch(struct iris_batch *batch)
 static void
 iris_finish_batch(struct iris_batch *batch)
 {
-   // XXX: ISP DIS
-
    /* Emit MI_BATCH_BUFFER_END to finish our batch. */
    uint32_t *map = batch->map_next;