Mesa (master): gallium: Add CAPs for constant buffers.

Michał Król michal at kemper.freedesktop.org
Thu Jan 28 13:12:28 UTC 2010


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

Author: Michal Krol <michal at vmware.com>
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 */
 
 
 /**




More information about the mesa-commit mailing list