gallium: Add CAPs for constant buffers.
authorMichal Krol <michal@vmware.com>
Mon, 25 Jan 2010 12:35:35 +0000 (13:35 +0100)
committerMichal Krol <michal@vmware.com>
Thu, 28 Jan 2010 13:08:08 +0000 (14:08 +0100)
src/gallium/include/pipe/p_defines.h

index 35f3830ebcf076ba9d7305b6ba62b64bf89466ae..353d79a6a7ebb37602752ef37e705f0028823eac 100644 (file)
@@ -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 */
 
 
 /**