summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2020-12-22 13:40:53 -0800
committerMarge Bot <eric+marge@anholt.net>2021-01-05 09:54:49 +0000
commit6fb9365a070c308977d5e4fe85f0927fd5c9d199 (patch)
tree548ed97f80f7877aecff77e5667f342a0e94b6a0
parentc27cbfd9ed5335e1c5f728c0fc92e5dd048fe99b (diff)
gallium/tgsi_exec: Drop the unused scratch temp regs.
I suspect this was used back in the SSE2 backend days. Definitely dead now. Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8283>
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_exec.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.h b/src/gallium/auxiliary/tgsi/tgsi_exec.h
index e3d190939b5..82cea22a7db 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.h
@@ -220,11 +220,7 @@ struct tgsi_sampler
#define TGSI_EXEC_TEMP_KILMASK_I (TGSI_EXEC_NUM_TEMPS + 0)
#define TGSI_EXEC_TEMP_KILMASK_C 0
-/* 4 register buffer for various purposes */
-#define TGSI_EXEC_TEMP_R0 (TGSI_EXEC_NUM_TEMPS + 1)
-#define TGSI_EXEC_NUM_TEMP_R 4
-
-#define TGSI_EXEC_NUM_TEMP_EXTRAS 5
+#define TGSI_EXEC_NUM_TEMP_EXTRAS 1