tgsi: fix parsing of tessellation shader inputs/outputs
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>
Sun, 16 Aug 2015 16:31:57 +0000 (13:31 -0300)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 18 Aug 2015 03:05:00 +0000 (23:05 -0400)
commit723a5a2e6881e55b50b23c470d7591360f061dba
treef620bdaf4705a85d27ca2b335b2affab4612993b
parenta37fa7653bead4985668c359391bdf01dec8b084
tgsi: fix parsing of tessellation shader inputs/outputs

Tessellation control shaders write to outputs as OUT[ADDR[0].x][0], make
sure to parse the indirect dimension on outputs.

Also tess control inputs/outputs and tess eval input declarations need
to receive the same treatment as geometry shader inputs.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/auxiliary/tgsi/tgsi_text.c