mesa: Pass the type to _mesa_uniform_matrix as a glsl_base_type
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 1 Sep 2015 01:30:48 +0000 (18:30 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 2 Sep 2015 23:24:17 +0000 (16:24 -0700)
commita6976f09727014730f45ec27c714c6a8140e074a
treedd8911817d5c328ab4e946dce54fff6e4b14fc70
parent882aab00abb226c103b8c6fe514247334b4d2d04
mesa: Pass the type to _mesa_uniform_matrix as a glsl_base_type

This matches _mesa_uniform, and it enables the bug fix in the next
patch.

v2: s/type/basicType/ in the assert in _mesa_uniform_matrix.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au> [v1]
Cc: Dave Airlie <airlied@redhat.com>
Cc: "10.6 11.0" <mesa-stable@lists.freedesktop.org>
src/mesa/main/uniform_query.cpp
src/mesa/main/uniforms.c
src/mesa/main/uniforms.h