Mesa (master): gallium: bump shader input and output limits

Marek Olšák mareko at kemper.freedesktop.org
Sat May 16 13:17:59 UTC 2015


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

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Mar 19 23:27:10 2015 +0100

gallium: bump shader input and output limits

Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Signed-off-by: Marek Olšák <marek.olsak at amd.com>

---

 src/gallium/include/pipe/p_state.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h
index e15860c..e713a44 100644
--- a/src/gallium/include/pipe/p_state.h
+++ b/src/gallium/include/pipe/p_state.h
@@ -58,8 +58,8 @@ extern "C" {
 #define PIPE_MAX_COLOR_BUFS        8
 #define PIPE_MAX_CONSTANT_BUFFERS 32
 #define PIPE_MAX_SAMPLERS         18 /* 16 public + 2 driver internal */
-#define PIPE_MAX_SHADER_INPUTS    32
-#define PIPE_MAX_SHADER_OUTPUTS   48 /* 32 GENERICs + POS, PSIZE, FOG, etc. */
+#define PIPE_MAX_SHADER_INPUTS    80 /* 32 GENERIC + 32 PATCH + 16 others */
+#define PIPE_MAX_SHADER_OUTPUTS   80 /* 32 GENERIC + 32 PATCH + 16 others */
 #define PIPE_MAX_SHADER_SAMPLER_VIEWS 32
 #define PIPE_MAX_SHADER_RESOURCES 32
 #define PIPE_MAX_TEXTURE_LEVELS   16




More information about the mesa-commit mailing list