[Mesa-dev] [PATCH] i965: Bump number of supported atomic counter buffers.

Francisco Jerez currojerez at riseup.net
Sun Nov 24 17:39:29 PST 2013


Now that we have dynamic binding tables there's no good reason anymore
to expose so few atomic counter buffers.  Increase it to 16.
---
 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 63f0687..97f8906 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -660,7 +660,7 @@ struct brw_gs_prog_data
 #define BRW_MAX_DRAW_BUFFERS 8
 
 /** Max number of atomic counter buffer objects in a shader */
-#define BRW_MAX_ABO 4
+#define BRW_MAX_ABO 16
 
 /**
  * Max number of binding table entries used for stream output.
-- 
1.8.3.4



More information about the mesa-dev mailing list