tgsi/scan: set correct input limits for geometry shader
authorZack Rusin <zackr@vmware.com>
Sat, 20 Apr 2013 07:02:00 +0000 (00:02 -0700)
committerZack Rusin <zackr@vmware.com>
Tue, 23 Apr 2013 00:36:07 +0000 (20:36 -0400)
commit76587d2e5e3d580e71e38c8ee8904e9e83fd513e
tree41d44fc7fa5d4fb2110ff2aa0e9f375f90e605e7
parent913ed25f18aa9e24fc34fcf0b637d73ce355025d
tgsi/scan: set correct input limits for geometry shader

TGSI geometry shader input declerations are of the IN[][2] format
and the dimensions of the array have to be deduced from the input
primitive property.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_scan.c