math: remove unused defines

Since libmesa_classic got removed, we no longer have the assembly
sources that used these defines, so let's get rid of them.

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>
This commit is contained in:
Erik Faye-Lund
2023-06-26 15:24:38 +02:00
committed by Marge Bot
parent 386a365645
commit 4a00e4ff61
2 changed files with 0 additions and 10 deletions
-3
View File
@@ -953,9 +953,6 @@ _math_matrix_viewport(GLmatrix *m, const float scale[3],
void
_math_matrix_set_identity( GLmatrix *mat )
{
STATIC_ASSERT(MATRIX_M == offsetof(GLmatrix, m));
STATIC_ASSERT(MATRIX_INV == offsetof(GLmatrix, inv));
memcpy( mat->m, Identity, sizeof(Identity) );
memcpy( mat->inv, Identity, sizeof(Identity) );
-7
View File
@@ -54,13 +54,6 @@ extern "C" {
#define MAT_TZ 14
/*@}*/
/**
* If you add a new field, please add it to the STATIC_ASSERTs in
* _math_matrix_set_identity().
*/
#define MATRIX_M 0
#define MATRIX_INV (MATRIX_M + 16 * 4)
/**
* Different kinds of 4x4 transformation matrices.
* We use these to select specific optimized vertex transformation routines.