mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-19 08:50:25 +01:00
radv: add radv_shader_info::ps::uses_fbfetch_output
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30124>
This commit is contained in:
parent
541a204733
commit
ab2c8af634
2 changed files with 2 additions and 0 deletions
|
|
@ -875,6 +875,7 @@ gather_shader_info_fs(const struct radv_device *device, const nir_shader *nir,
|
|||
info->ps.post_depth_coverage = nir->info.fs.post_depth_coverage;
|
||||
info->ps.depth_layout = nir->info.fs.depth_layout;
|
||||
info->ps.uses_sample_shading = nir->info.fs.uses_sample_shading;
|
||||
info->ps.uses_fbfetch_output = nir->info.fs.uses_fbfetch_output;
|
||||
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;
|
||||
|
|
|
|||
|
|
@ -215,6 +215,7 @@ struct radv_shader_info {
|
|||
bool load_provoking_vtx;
|
||||
bool load_rasterization_prim;
|
||||
bool force_sample_iter_shading_rate;
|
||||
bool uses_fbfetch_output;
|
||||
} ps;
|
||||
struct {
|
||||
bool uses_grid_size;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue