mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
nir/divergence: add missing RT intrinsinc handling
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20763>
(cherry picked from commit b82d9b1a3d)
This commit is contained in:
parent
9f4d8d7595
commit
04bc00cf2c
2 changed files with 4 additions and 1 deletions
|
|
@ -3325,7 +3325,7 @@
|
|||
"description": "nir/divergence: add missing RT intrinsinc handling",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -670,6 +670,9 @@ visit_intrinsic(nir_shader *shader, nir_intrinsic_instr *instr)
|
|||
case nir_intrinsic_load_ray_hit_kind:
|
||||
case nir_intrinsic_load_ray_flags:
|
||||
case nir_intrinsic_load_cull_mask:
|
||||
case nir_intrinsic_report_ray_intersection:
|
||||
case nir_intrinsic_rq_proceed:
|
||||
case nir_intrinsic_rq_load:
|
||||
is_divergent = true;
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue