commit | c3db19efba8ccdf8df94ab357cf675ba8728f81c | [log] [tgz] |
---|---|---|
author | Michel Dänzer <michel.daenzer@amd.com> | Thu Sep 27 20:01:33 2012 +0200 |
committer | Michel Dänzer <michel@daenzer.net> | Tue Oct 02 17:50:58 2012 +0200 |
tree | 302b930492643818f66a109f98fd0c3b287b90b1 | |
parent | dbb4a7f9502c886885bfd8cc635eb5e52f3d1d39 [diff] |
radeonsi: Better indexing of parameters in the pixel shader. We were previously using the TGSI input index, which can exceed the number of parameters passed from the vertex shader via the parameter cache. Now we use a separate index which only counts those parameters. Prevents piglit regressions with the following fix. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>