Mesa (master): gallium/tgsi_exec: Drop the unused scratch temp regs.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jan 5 10:22:50 UTC 2021


Module: Mesa
Branch: master
Commit: 6fb9365a070c308977d5e4fe85f0927fd5c9d199
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6fb9365a070c308977d5e4fe85f0927fd5c9d199

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Dec 22 13:40:53 2020 -0800

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 at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8283>

---

 src/gallium/auxiliary/tgsi/tgsi_exec.h | 6 +-----
 1 file changed, 1 insertion(+), 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
 
 
 



More information about the mesa-commit mailing list