mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 20:58:04 +02:00
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:
parent
4cad0bc438
commit
1191408d4b
2 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue