mesa/main: handle double uniform matrices properly
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Tue, 9 Feb 2016 11:51:03 +0000 (12:51 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Wed, 4 May 2016 06:08:12 +0000 (08:08 +0200)
commit97989059b9472b4055ff72dac02b0e6c6f4afeb7
treed49a215fe1631a1f7f9772132a831fa3f3622457
parent2ab2d2e5881d289a8239467a97516e4e410cebfb
mesa/main: handle double uniform matrices properly

When computing the offset in the uniform storage table, take into account
the size multiplier so double precision matrices are handled correctly.

Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/uniform_query.cpp