mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 06:40:08 +01:00
radv: gather info about nir_intrinsic_load_sample_positions_amd
nir_intrinsic_load_barycentric_coord_at_sample is lowered before the radv_shader_info pass and load_sample_positions_amd might be needed. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16742>
This commit is contained in:
parent
7ee8a12a62
commit
593fb2035d
1 changed files with 3 additions and 0 deletions
|
|
@ -173,6 +173,9 @@ gather_intrinsic_info(const nir_shader *nir, const nir_intrinsic_instr *instr,
|
|||
case nir_intrinsic_load_provoking_vtx_amd:
|
||||
info->ps.load_provoking_vtx = true;
|
||||
break;
|
||||
case nir_intrinsic_load_sample_positions_amd:
|
||||
info->ps.needs_sample_positions = true;
|
||||
break;
|
||||
case nir_intrinsic_load_rasterization_primitive_amd:
|
||||
info->ps.load_rasterization_prim = true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue