summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-10-25 11:45:47 +0200
committerMarek Olšák <[email protected]>2013-11-04 19:07:57 +0100
commit2fd42001231b70ba1764b1455d642037d2d5fff5 (patch)
treeef251ea6dbab0dcf7d1637b460d318bbf8c59ff0 /src/gallium/drivers/radeonsi/si_state.h
parentd0cf73a4086e2ef256f6a21c4e30030cc07fc5b6 (diff)
radeonsi: implement uniform buffer objects
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_state.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h
index afd0388162a..f3d402348e3 100644
--- a/src/gallium/drivers/radeonsi/si_state.h
+++ b/src/gallium/drivers/radeonsi/si_state.h
@@ -110,7 +110,8 @@ union si_state {
#define NUM_SAMPLER_VIEWS (FMASK_TEX_OFFSET+NUM_TEX_UNITS)
#define NUM_SAMPLER_STATES NUM_TEX_UNITS
-#define NUM_CONST_BUFFERS 2
+#define NUM_PIPE_CONST_BUFFERS 16
+#define NUM_CONST_BUFFERS 17
/* This represents resource descriptors in memory, such as buffer resources,
* image resources, and sampler states.