radeonsi: pass sample_coverage VGPR index to the PS prolog instead of guessing
The code was correct, but little confusing. This is cleaner. Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14266>
This commit is contained in:
@@ -96,7 +96,8 @@ enum ac_image_dim ac_get_image_dim(enum chip_class chip_class, enum glsl_sampler
|
||||
bool is_array);
|
||||
|
||||
unsigned ac_get_fs_input_vgpr_cnt(const struct ac_shader_config *config,
|
||||
signed char *face_vgpr_index, signed char *ancillary_vgpr_index);
|
||||
signed char *face_vgpr_index, signed char *ancillary_vgpr_index,
|
||||
signed char *sample_coverage_vgpr_index_ptr);
|
||||
|
||||
void ac_choose_spi_color_formats(unsigned format, unsigned swap, unsigned ntype,
|
||||
bool is_depth, bool use_rbplus,
|
||||
|
Reference in New Issue
Block a user