ac: Move ac_nir_config struct to ac_nir.h
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32966>
This commit is contained in:
@@ -39,6 +39,11 @@ enum {
|
||||
AC_EXP_FLAG_VALID_MASK = (1 << 2),
|
||||
};
|
||||
|
||||
struct ac_nir_config {
|
||||
enum amd_gfx_level gfx_level;
|
||||
bool uses_aco;
|
||||
};
|
||||
|
||||
/* TODO: Remove these once radeonsi gathers shader_info before lowering. */
|
||||
#define AC_VECTOR_ARG_FLAG(name, value) (((name) & 0xf) | ((value) << 4))
|
||||
#define AC_VECTOR_ARG_UNSET 0
|
||||
|
@@ -240,11 +240,6 @@ enum ac_descriptor_type
|
||||
AC_DESC_PLANE_2,
|
||||
};
|
||||
|
||||
struct ac_nir_config {
|
||||
enum amd_gfx_level gfx_level;
|
||||
bool uses_aco;
|
||||
};
|
||||
|
||||
unsigned ac_get_spi_shader_z_format(bool writes_z, bool writes_stencil, bool writes_samplemask,
|
||||
bool writes_mrt0_alpha);
|
||||
|
||||
|
Reference in New Issue
Block a user