From 96ba94cad2c728c3772456bc02fbd0863153f4e6 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 21 Feb 2012 12:56:29 -0800 Subject: [PATCH] i965/gen6: Fix the size of the GS surface binding table. I obviously didn't test on gen6 before pushing. Reviewed-by: Kenneth Graunke Tested-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 8edd004f856..09d8373a1a1 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -870,7 +870,7 @@ struct brw_context uint32_t state_offset; uint32_t bind_bo_offset; - uint32_t surf_offset[BRW_MAX_VS_SURFACES]; + uint32_t surf_offset[BRW_MAX_GS_SURFACES]; } gs; struct { -- 2.30.2