mesa/src
Dave Airlie fce9699bca 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" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 18ad641c3b)
2016-01-07 12:41:23 +02:00
..
egl egl: don't forget to ship platform_x11_dri3.h into the tarball 2015-11-20 18:08:04 +00:00
gallium gallium/util: return correct number of bound vertex buffers 2016-01-07 12:40:14 +02:00
gbm gbm.h: Add a missing stddef.h include for size_t. 2015-10-30 19:12:14 +00:00
getopt
glsl glsl: Relax qualifier ordering restriction in ES 3.1. 2015-12-12 19:39:02 +00:00
glx glx/dri3: Convert to use dri3 helper in loader library 2015-11-17 17:26:20 +02:00
gtest mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
hgl glapi/hgl: Drop extern "C" as it was added to glapi 2015-05-13 15:26:29 -04:00
loader loader: unconditionally add AM_CPPFLAGS to libloader_la_CPPFLAGS 2015-11-29 17:56:36 +00:00
mapi mesa: do not enable KHR_debug for ES 1.0 2015-12-04 16:37:06 +00:00
mesa mesa/shader: return correct attribute location for double matrix arrays 2016-01-07 12:41:23 +02:00
util ralloc: Set *start in ralloc_vasprintf_rewrite_tail() if str is NULL. 2015-11-12 11:00:10 -08:00
Makefile.am glsl: move shader_enums into nir 2015-10-09 15:03:28 -04:00
SConscript scons: rework the EGL build 2015-07-22 16:35:27 +01:00