mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
radv: Rename layer_input to reads_layer in PS info.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32641>
This commit is contained in:
parent
652a0b48bc
commit
57c5962413
3 changed files with 3 additions and 3 deletions
|
|
@ -3521,7 +3521,7 @@ radv_compute_spi_ps_input(const struct radv_physical_device *pdev, const struct
|
|||
}
|
||||
|
||||
if (info->ps.reads_sample_id || info->ps.reads_frag_shading_rate || info->ps.reads_sample_mask_in ||
|
||||
info->ps.layer_input) {
|
||||
info->ps.reads_layer) {
|
||||
spi_ps_input |= S_0286CC_ANCILLARY_ENA(1);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -952,7 +952,7 @@ gather_shader_info_fs(const struct radv_device *device, const nir_shader *nir,
|
|||
info->ps.writes_memory = nir->info.writes_memory;
|
||||
info->ps.has_pcoord = nir->info.inputs_read & VARYING_BIT_PNTC;
|
||||
info->ps.prim_id_input = nir->info.inputs_read & VARYING_BIT_PRIMITIVE_ID;
|
||||
info->ps.layer_input = BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_LAYER_ID);
|
||||
info->ps.reads_layer = BITSET_TEST(nir->info.system_values_read, SYSTEM_VALUE_LAYER_ID);
|
||||
info->ps.viewport_index_input = nir->info.inputs_read & VARYING_BIT_VIEWPORT;
|
||||
info->ps.writes_z = nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_DEPTH);
|
||||
info->ps.writes_stencil = nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_STENCIL);
|
||||
|
|
|
|||
|
|
@ -173,7 +173,6 @@ struct radv_shader_info {
|
|||
bool exports_mrtz_via_epilog;
|
||||
bool has_pcoord;
|
||||
bool prim_id_input;
|
||||
bool layer_input;
|
||||
bool viewport_index_input;
|
||||
uint8_t input_clips_culls_mask;
|
||||
uint32_t input_mask;
|
||||
|
|
@ -200,6 +199,7 @@ struct radv_shader_info {
|
|||
bool reads_linear_centroid;
|
||||
bool reads_fully_covered;
|
||||
bool reads_pixel_coord;
|
||||
bool reads_layer;
|
||||
uint8_t reads_frag_coord_mask;
|
||||
uint8_t reads_sample_pos_mask;
|
||||
uint8_t depth_layout;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue