diff options
author | Marek Olšák <marek.olsak@amd.com> | 2015-03-19 23:31:41 +0100 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2015-05-16 14:51:23 +0200 |
commit | ec67d73a73f74011b33f6ab59bed4c88ebaa7497 (patch) | |
tree | fdc3025ef585896f813bf5aecb403af55aa5cd72 /src/gallium/auxiliary/tgsi | |
parent | 93c940736f03b3eaf53d3a5703963b87a506747e (diff) |
tgsi/ureg: use correct limit for max input count
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/auxiliary/tgsi')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_ureg.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |