diff options
author | Dave Airlie <[email protected]> | 2015-12-18 12:25:53 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-12-18 12:26:24 +0000 |
commit | 00fec0e4e115188caae347dd7d04acac10a08504 (patch) | |
tree | ce38e539fd6e71be4bfba28a371992674f48e1bb /src/gallium/drivers/radeonsi/si_state_draw.c | |
parent | 276bd08900a43223152a46d3a31646a909ead2a9 (diff) |
mesa/shader: return correct attribute location for double matrix arrays
If we have a dmat2[4], then dmat2[0] is at 17, dmat2[1] at 19,
dmat2[2] at 21 etc. The old code was returning 17,18,19.
I think this code is also wrong for float matricies as well.
There is now a piglit for the float case.
This partly fixes:
GL41-CTS.vertex_attrib_64bit.limits_test
[airlied: update with Tapani suggestion to clean it up].
Cc: "11.0 11.1" <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit 18ad641c3b2e926b8b3e2bd1df31fa739624cbe4)
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state_draw.c')
0 files changed, 0 insertions, 0 deletions