Module: Mesa
Branch: gallium-multiple-constant-buffers
Commit: dfc5cee6299ffa6eb4e92fb0461bb3dbb1664abe
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=dfc5cee6299ffa6eb4e92fb0461bb3dbb1664abe

Author: Michal Krol <[email protected]>
Date:   Mon Jan 25 13:35:35 2010 +0100

gallium: Add CAPs for constant buffers.

---

 src/gallium/include/pipe/p_defines.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/include/pipe/p_defines.h 
b/src/gallium/include/pipe/p_defines.h
index 35f3830..353d79a 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -405,6 +405,8 @@ enum pipe_transfer_usage {
 #define PIPE_CAP_MAX_PREDICATE_REGISTERS 30
 #define PIPE_CAP_MAX_COMBINED_SAMPLERS   31  /*< Maximum texture image units 
accessible from vertex
                                                  and fragment shaders combined 
*/
+#define PIPE_CAP_MAX_CONST_BUFFERS       32
+#define PIPE_CAP_MAX_CONST_BUFFER_SIZE   33  /*< In bytes */
 
 
 /**

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to