Mesa (master): ilo: enable multiple constant buffers

Chia-I Wu olv at kemper.freedesktop.org
Mon May 27 04:44:33 UTC 2013


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

Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Mon May 27 12:31:01 2013 +0800

ilo: enable multiple constant buffers

This effectively enables uniform buffer object support.

---

 src/gallium/drivers/ilo/ilo_context.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/ilo/ilo_context.h b/src/gallium/drivers/ilo/ilo_context.h
index 3e12bf1..8d3d141 100644
--- a/src/gallium/drivers/ilo/ilo_context.h
+++ b/src/gallium/drivers/ilo/ilo_context.h
@@ -36,7 +36,7 @@
  * \see brw_context.h
  */
 #define ILO_MAX_DRAW_BUFFERS    8
-#define ILO_MAX_CONST_BUFFERS   1
+#define ILO_MAX_CONST_BUFFERS   (1 + 12)
 #define ILO_MAX_SAMPLER_VIEWS   16
 #define ILO_MAX_SAMPLERS        16
 #define ILO_MAX_SO_BINDINGS     64




More information about the mesa-commit mailing list