Mesa (master): tgsi/ureg: use correct limit for max input count
Marek Olšák
mareko at kemper.freedesktop.org
Sat May 16 13:17:59 UTC 2015
Module: Mesa
Branch: master
Commit: ec67d73a73f74011b33f6ab59bed4c88ebaa7497
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec67d73a73f74011b33f6ab59bed4c88ebaa7497
Author: Marek Olšák <marek.olsak at amd.com>
Date: Thu Mar 19 23:31:41 2015 +0100
tgsi/ureg: use correct limit for max input count
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Signed-off-by: Marek Olšák <marek.olsak at amd.com>
---
src/gallium/auxiliary/tgsi/tgsi_ureg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
index a4c0fc5..55d8cf1 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c
@@ -73,7 +73,7 @@ struct ureg_tokens {
unsigned count;
};
-#define UREG_MAX_INPUT PIPE_MAX_ATTRIBS
+#define UREG_MAX_INPUT PIPE_MAX_SHADER_INPUTS
#define UREG_MAX_SYSTEM_VALUE PIPE_MAX_ATTRIBS
#define UREG_MAX_OUTPUT PIPE_MAX_SHADER_OUTPUTS
#define UREG_MAX_CONSTANT_RANGE 32
More information about the mesa-commit
mailing list