tgsi_exec: use defines for max inputs/outputs
authorDave Airlie <airlied@redhat.com>
Tue, 10 Jun 2014 04:19:10 +0000 (14:19 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 11 Jun 2014 02:21:04 +0000 (12:21 +1000)
commit7ea04f089b7379d110f81b4d83464352980a3217
tree37d5a127140682b7a4450cc20b16a62ba9ef0e00
parent740d5bed77120aba4d815b5e2d28b109f214a800
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 <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/tgsi/tgsi_exec.c
src/gallium/auxiliary/tgsi/tgsi_exec.h