[Mesa-dev] [PATCH 3/4] i965: Reserve binding table space for SSBO surfaces

Iago Toral Quiroga itoral at igalia.com
Wed Sep 30 03:06:41 PDT 2015


These share the space with UBO surfaces but we need to make sure we
allocate enough space for both sets (12 of each)
---
 src/mesa/drivers/dri/i965/brw_context.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index 155a1a1..53ed36f 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -773,6 +773,7 @@ struct brw_vs_prog_data {
 #define BRW_MAX_SURFACES   (BRW_MAX_DRAW_BUFFERS +                      \
                             BRW_MAX_TEX_UNIT * 2 + /* normal, gather */ \
                             BRW_MAX_UBO +                               \
+                            BRW_MAX_SSBO +                              \
                             BRW_MAX_ABO +                               \
                             BRW_MAX_IMAGES +                            \
                             2 + /* shader time, pull constants */       \
-- 
1.9.1



More information about the mesa-dev mailing list