summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2010-01-25 13:35:35 +0100
committerMichal Krol <[email protected]>2010-01-28 14:08:08 +0100
commit25123e0c8820d641a36e0717bddc934718bc05ee (patch)
tree0a3b4824a345ed3294c3b9df87558d7004878391 /src/gallium/include
parent7c5f255201f42303188137f56ea8acc030444f0e (diff)
gallium: Add CAPs for constant buffers.
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_defines.h2
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 35f3830ebcf..353d79a6a7e 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 */
/**