i965: Reserve binding table space for SSBO surfaces
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 30 Sep 2015 09:06:30 +0000 (11:06 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Mon, 5 Oct 2015 06:12:17 +0000 (08:12 +0200)
These share the space with UBO surfaces but we need to make sure we
allocate enough space for both sets (12 of each)

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.h

index 0ffc262f289cad108d975ff6ab4898780e765ba7..8efecf982185a57d7b734b4e3dfd114cd07ed7f2 100644 (file)
@@ -751,6 +751,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 */       \