From: Marek Olšák Date: Thu, 19 Mar 2015 22:31:41 +0000 (+0100) Subject: tgsi/ureg: use correct limit for max input count X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec67d73a73f74011b33f6ab59bed4c88ebaa7497;p=mesa.git tgsi/ureg: use correct limit for max input count Reviewed-by: Roland Scheidegger Signed-off-by: Marek Olšák --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c index a4c0fc50c6c..55d8cf1eeb0 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