mesa: don't allocate matrices with malloc
authorMarek Olšák <marek.olsak@amd.com>
Mon, 28 Sep 2020 12:53:42 +0000 (08:53 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Dec 2020 11:52:10 +0000 (11:52 +0000)
commit3175b63a0dfa290430f9f7eb651387788933a02b
tree0bf61b7de9e1b75dbba5f083e522ea08f759ae3c
parent9c84ca574d43b47932f32fc7cb67a21cec7ffe8c
mesa: don't allocate matrices with malloc

There is no reason for it. This removes a pointer indirection.

Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6946>
src/mesa/drivers/dri/i915/intel_context.c
src/mesa/drivers/dri/nouveau/nv10_state_tnl.c
src/mesa/drivers/dri/nouveau/nv20_state_tnl.c
src/mesa/drivers/dri/r200/r200_context.c
src/mesa/main/matrix.c
src/mesa/math/m_matrix.c
src/mesa/math/m_matrix.h
src/mesa/math/m_vector_asm.h
src/mesa/tnl/t_context.c