From cc43bd151bb9531aa4b5c0c3cf8bc5647b37a962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timur=20Krist=C3=B3f?= Date: Thu, 9 Jan 2025 19:12:36 -0600 Subject: [PATCH] ac: Move AC_HS_MSG_VOTE_LDS_BYTES to ac_shader_util.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák Part-of: --- src/amd/common/ac_nir.h | 3 --- src/amd/common/ac_shader_util.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/amd/common/ac_nir.h b/src/amd/common/ac_nir.h index 0be2ed50900..aabe84a69a8 100644 --- a/src/amd/common/ac_nir.h +++ b/src/amd/common/ac_nir.h @@ -17,9 +17,6 @@ extern "C" { #endif -/* Reserve this size at the beginning of LDS for the tf0/1 shader message group vote. */ -#define AC_HS_MSG_VOTE_LDS_BYTES 16 - enum { /* SPI_PS_INPUT_CNTL_i.OFFSET[0:4] */ diff --git a/src/amd/common/ac_shader_util.h b/src/amd/common/ac_shader_util.h index ac52c51dc0a..99919a12833 100644 --- a/src/amd/common/ac_shader_util.h +++ b/src/amd/common/ac_shader_util.h @@ -30,6 +30,9 @@ extern "C" { #define AC_SENDMSG_GS_OP_EMIT (2 << 4) #define AC_SENDMSG_GS_OP_EMIT_CUT (3 << 4) +/* Reserve this size at the beginning of LDS for the tf0/1 shader message group vote. */ +#define AC_HS_MSG_VOTE_LDS_BYTES 16 + /* An extension of gl_access_qualifier describing other aspects of memory operations * for code generation. */