tgsi/ureg: use correct limit for max input count
authorMarek Olšák <marek.olsak@amd.com>
Thu, 19 Mar 2015 22:31:41 +0000 (23:31 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 16 May 2015 12:51:23 +0000 (14:51 +0200)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/tgsi/tgsi_ureg.c

index a4c0fc50c6cdd39fc2bbc1cffb930ef9dafd6e0d..55d8cf1eeb01292ff3af6482d4905c9e22572b5b 100644 (file)
@@ -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