amd/common,radv: move vertex_format_table to ac_shader_util.{h,c}
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3086>
This commit is contained in:
@@ -46,6 +46,13 @@ enum ac_image_dim {
|
||||
ac_image_2darraymsaa,
|
||||
};
|
||||
|
||||
struct ac_data_format_info {
|
||||
uint8_t element_size;
|
||||
uint8_t num_channels;
|
||||
uint8_t chan_byte_size;
|
||||
uint8_t chan_format;
|
||||
};
|
||||
|
||||
unsigned
|
||||
ac_get_spi_shader_z_format(bool writes_z, bool writes_stencil,
|
||||
bool writes_samplemask);
|
||||
@@ -60,6 +67,9 @@ unsigned
|
||||
ac_get_tbuffer_format(enum chip_class chip_class,
|
||||
unsigned dfmt, unsigned nfmt);
|
||||
|
||||
const struct ac_data_format_info *
|
||||
ac_get_data_format_info(unsigned dfmt);
|
||||
|
||||
enum ac_image_dim
|
||||
ac_get_sampler_dim(enum chip_class chip_class, enum glsl_sampler_dim dim,
|
||||
bool is_array);
|
||||
|
Reference in New Issue
Block a user