summaryrefslogtreecommitdiffstats
path: root/src/glx/glx_query.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2015-12-10 11:44:34 +1000
committerDave Airlie <[email protected]>2015-12-11 16:28:29 +1000
commit18ad641c3b2e926b8b3e2bd1df31fa739624cbe4 (patch)
tree626af22bbc4ed662945cfb159e8adfbbecb0e1e1 /src/glx/glx_query.c
parent64c59b06244fc34f015f1f75b8205ac597ab0105 (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]>
Diffstat (limited to 'src/glx/glx_query.c')
0 files changed, 0 insertions, 0 deletions