r600g: use file_max instead of file_count to determine reg offset
authorChristian König <deathsimple@vodafone.de>
Sun, 24 Jul 2011 17:11:34 +0000 (19:11 +0200)
committerChristian König <deathsimple@vodafone.de>
Sun, 24 Jul 2011 17:17:27 +0000 (19:17 +0200)
commit4d23c6df81639057f12a604556121aa7b41d921c
treeae131a3b8e9d88055beca00b7570886117d184fc
parentac6455e9a25f5472c96d580e3d2389f1ed1c0619
r600g: use file_max instead of file_count to determine reg offset

Otherwise shaders with skipped inputs/outputs doesn't work correctly.

Signed-off-by: Christian König <deathsimple@vodafone.de>
src/gallium/drivers/r600/r600_shader.c