r600g: fix dynamic_input_array_index.shader_test
authorDave Airlie <airlied@redhat.com>
Fri, 24 Jan 2014 04:46:37 +0000 (14:46 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 5 Feb 2014 00:49:40 +0000 (10:49 +1000)
commit0d79d5da40fcf0c7233dec4d9ac4ce66b9942147
tree1a3ab5e0441890caa23c3dfdab1bd15dfcaeeb24
parente12147e9f608b8117e653152317c6c64ea004b71
r600g: fix dynamic_input_array_index.shader_test

This follows what fglrx does, it unpacks the input we are
going to indirect into a bunch of registers and indirects
inside them.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/r600_shader.c