math: drop MAT_[ST][XYZ] defines
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 26 Jun 2023 13:38:30 +0000 (15:38 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 6 Jul 2023 09:42:44 +0000 (09:42 +0000)
commitd941078129bad10f87cb93e4d2164904adc77cff
treec7ce9008af4adb1a5091726488a6c5c3fd5a17cf
parent4a00e4ff6122afda320ed5ab1a3abbab5cb52027
math: drop MAT_[ST][XYZ] defines

These were used a single time each, and that argually made the code a
bit more confusing to read. Let's just drop these, and use the correct
indexes directly.

Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24003>
src/mesa/math/m_matrix.c
src/mesa/math/m_matrix.h