Mesa (master): i965/gen6: Fix the size of the GS surface binding table.

Eric Anholt anholt at kemper.freedesktop.org
Tue Feb 21 21:31:18 UTC 2012


Module: Mesa
Branch: master
Commit: 96ba94cad2c728c3772456bc02fbd0863153f4e6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=96ba94cad2c728c3772456bc02fbd0863153f4e6

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Feb 21 12:56:29 2012 -0800

i965/gen6: Fix the size of the GS surface binding table.

I obviously didn't test on gen6 before pushing.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Tested-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/drivers/dri/i965/brw_context.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index 8edd004..09d8373 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 {




More information about the mesa-commit mailing list