[Mesa-dev] [PATCH 02/40] i965/gen8: Document inst buffer size modify enabling bit
Topi Pohjolainen
topi.pohjolainen at intel.com
Sat Apr 16 13:42:30 UTC 2016
Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
---
src/mesa/drivers/dri/i965/gen8_misc_state.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/gen8_misc_state.c b/src/mesa/drivers/dri/i965/gen8_misc_state.c
index a46b252..c0014e5 100644
--- a/src/mesa/drivers/dri/i965/gen8_misc_state.c
+++ b/src/mesa/drivers/dri/i965/gen8_misc_state.c
@@ -64,7 +64,8 @@ gen8_upload_state_base_address(struct brw_context *brw)
/* Instruction access upper bound */
OUT_BATCH(ALIGN(brw->cache.bo->size, 4096) | 1);
if (brw->gen >= 9) {
- OUT_BATCH(1);
+ const int instruction_buffer_size_modify_enable = 1;
+ OUT_BATCH(instruction_buffer_size_modify_enable);
OUT_BATCH(0);
OUT_BATCH(0);
}
--
2.5.5
More information about the mesa-dev
mailing list