Somehow I missed this when adding all of the other MOCS values. Signed-off-by: Kenneth Graunke <kenn...@whitecape.org> Cc: "10.2" <mesa-sta...@lists.freedesktop.org> --- src/mesa/drivers/dri/i965/gen8_draw_upload.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/gen8_draw_upload.c b/src/mesa/drivers/dri/i965/gen8_draw_upload.c index 0272892..05a9c06 100644 --- a/src/mesa/drivers/dri/i965/gen8_draw_upload.c +++ b/src/mesa/drivers/dri/i965/gen8_draw_upload.c @@ -213,11 +213,9 @@ gen8_emit_index_buffer(struct brw_context *brw) if (index_buffer == NULL) return; - perf_debug("Missing MOCS setup for 3DSTATE_INDEX_BUFFER."); - BEGIN_BATCH(5); OUT_BATCH(CMD_INDEX_BUFFER << 16 | (5 - 2)); - OUT_BATCH(brw_get_index_type(index_buffer->type) << 8); + OUT_BATCH(brw_get_index_type(index_buffer->type) << 8 | BDW_MOCS_WB); OUT_RELOC64(brw->ib.bo, I915_GEM_DOMAIN_VERTEX, 0, 0); OUT_BATCH(brw->ib.bo->size); ADVANCE_BATCH(); -- 1.9.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev