amd/common: add ac_vgt_gs_mode() helper
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
#define AC_SHADER_UTIL_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "amd_family.h"
|
||||
|
||||
unsigned
|
||||
ac_get_spi_shader_z_format(bool writes_z, bool writes_stencil,
|
||||
@@ -33,4 +36,7 @@ ac_get_spi_shader_z_format(bool writes_z, bool writes_stencil,
|
||||
unsigned
|
||||
ac_get_cb_shader_mask(unsigned spi_shader_col_format);
|
||||
|
||||
uint32_t
|
||||
ac_vgt_gs_mode(unsigned gs_max_vert_out, enum chip_class chip_class);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user