mesa: Fix Get(GL_TRANSPOSE_CURRENT_MATRIX_ARB) to transpose
authorChris Forbes <chrisf@ijw.co.nz>
Mon, 24 Nov 2014 08:44:38 +0000 (21:44 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Mon, 24 Nov 2014 08:55:47 +0000 (21:55 +1300)
This was just returning the same value as GL_CURRENT_MATRIX_ARB.
Spotted while investigating something else in apitrace.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Cc: "10.3 10.4" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/get_hash_params.py

index a931d9d86c185f346ae4866d3e9b5e1a173ee239..09a61acc1e3b00ad2d34d03add6496ab50585ffd 100644 (file)
@@ -627,7 +627,7 @@ descriptor=[
 # == GL_CURRENT_MATRIX_NV
   [ "CURRENT_MATRIX_ARB", "LOC_CUSTOM, TYPE_MATRIX, 0, extra_ARB_vertex_program_ARB_fragment_program" ],
 # == GL_CURRENT_MATRIX_NV
-  [ "TRANSPOSE_CURRENT_MATRIX_ARB", "LOC_CUSTOM, TYPE_MATRIX, 0, extra_ARB_vertex_program_ARB_fragment_program" ],
+  [ "TRANSPOSE_CURRENT_MATRIX_ARB", "LOC_CUSTOM, TYPE_MATRIX_T, 0, extra_ARB_vertex_program_ARB_fragment_program" ],
 # == GL_PROGRAM_ERROR_POSITION_NV
   [ "PROGRAM_ERROR_POSITION_ARB", "CONTEXT_INT(Program.ErrorPos), extra_ARB_vertex_program_ARB_fragment_program" ],