freedreno/a3xx: fix VS out / FS in linking
authorRob Clark <robclark@freedesktop.org>
Fri, 1 Nov 2013 14:11:27 +0000 (10:11 -0400)
committerRob Clark <robclark@freedesktop.org>
Sat, 2 Nov 2013 00:20:47 +0000 (20:20 -0400)
commitf16b084bb92f77acc40b83ad5708e406d4debf14
tree45939d1105d5939baad2e212ba17e782c4db1242
parent83318d6511da580e3b40af7cb0111684b165f315
freedreno/a3xx: fix VS out / FS in linking

Actually link VS out / FS in based on semantic info, keeping in mind
that position/pointsize can also be an input to the FS.  This fixes a
few fragment shaders which were using gl_Position.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_compiler.c
src/gallium/drivers/freedreno/a3xx/fd3_program.c
src/gallium/drivers/freedreno/a3xx/fd3_program.h