mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 11:00:11 +01:00
radv: gather info about load_poly_line_smooth_enabled
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23200>
This commit is contained in:
parent
5ce784e5c9
commit
642a0972f0
2 changed files with 4 additions and 0 deletions
|
|
@ -330,6 +330,7 @@ struct radv_shader_info {
|
|||
struct {
|
||||
bool uses_sample_shading;
|
||||
bool needs_sample_positions;
|
||||
bool needs_poly_line_smooth;
|
||||
bool writes_memory;
|
||||
bool writes_z;
|
||||
bool writes_stencil;
|
||||
|
|
|
|||
|
|
@ -231,6 +231,9 @@ gather_intrinsic_info(const nir_shader *nir, const nir_intrinsic_instr *instr,
|
|||
case nir_intrinsic_bvh64_intersect_ray_amd:
|
||||
info->cs.uses_rt = true;
|
||||
break;
|
||||
case nir_intrinsic_load_poly_line_smooth_enabled:
|
||||
info->ps.needs_poly_line_smooth = true;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue