summaryrefslogtreecommitdiffstats
path: root/src/mesa/sparc/sparc_matrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/sparc/sparc_matrix.h')
-rw-r--r--src/mesa/sparc/sparc_matrix.h20
1 files changed, 4 insertions, 16 deletions
diff --git a/src/mesa/sparc/sparc_matrix.h b/src/mesa/sparc/sparc_matrix.h
index 6ef0acde69e..d478b76802f 100644
--- a/src/mesa/sparc/sparc_matrix.h
+++ b/src/mesa/sparc/sparc_matrix.h
@@ -7,24 +7,12 @@
#ifdef __arch64__
#define LDPTR ldx
-#define MAT_M 0x00
-#define MAT_INV 0x08
-#define V4F_DATA 0x00
-#define V4F_START 0x08
-#define V4F_COUNT 0x10
-#define V4F_STRIDE 0x14
-#define V4F_SIZE 0x18
-#define V4F_FLAGS 0x1c
+#define MATH_ASM_PTR_SIZE 8
+#include "math/m_vector_asm.h"
#else
#define LDPTR ld
-#define MAT_M 0x00
-#define MAT_INV 0x04
-#define V4F_DATA 0x00
-#define V4F_START 0x04
-#define V4F_COUNT 0x08
-#define V4F_STRIDE 0x0c
-#define V4F_SIZE 0x10
-#define V4F_FLAGS 0x14
+#define MATH_ASM_PTR_SIZE 4
+#include "math/m_vector_asm.h"
#endif
#define VEC_SIZE_1 1