diff options
author | Dave Airlie <[email protected]> | 2014-06-10 14:19:10 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2014-06-11 12:21:04 +1000 |
commit | 7ea04f089b7379d110f81b4d83464352980a3217 (patch) | |
tree | 37d5a127140682b7a4450cc20b16a62ba9ef0e00 /src/gallium/auxiliary/tgsi/tgsi_exec.h | |
parent | 740d5bed77120aba4d815b5e2d28b109f214a800 (diff) |
tgsi_exec: use defines for max inputs/outputs
This fixes the limits for GL 3.2, and subsequently fixes
some segfaults in some varying packing tests and max varying tests
after the limits bumped.
Reviewed-by: Roland Scheidegger <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_exec.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_exec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.h b/src/gallium/auxiliary/tgsi/tgsi_exec.h index a5369ae16a3..d53c4ba5502 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_exec.h +++ b/src/gallium/auxiliary/tgsi/tgsi_exec.h @@ -213,7 +213,7 @@ struct tgsi_sampler * input register files, this is the stride between two 1D * arrays. */ -#define TGSI_EXEC_MAX_INPUT_ATTRIBS 17 +#define TGSI_EXEC_MAX_INPUT_ATTRIBS PIPE_MAX_SHADER_INPUTS /* The maximum number of constant vectors per constant buffer. */ |