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:
Samuel Pitoiset 2023-05-24 14:42:00 +02:00 committed by Marge Bot
parent 5ce784e5c9
commit 642a0972f0
2 changed files with 4 additions and 0 deletions

View file

@ -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;

View file

@ -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;
}