nir/lower_shader_calls: don't insert code after break/continue
When moving code from below to the insertion cursor point, if the cursor points to a jump instruction, don't bother inserting the code. It would break the break/continue assumptions of NIR and would not be executed anyway. Signed-off-by:Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: 8dfb240b ("nir: Add raytracing shader call lowering pass.") Reviewed-by:
Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <mesa/mesa!16036>
Loading
Please register or sign in to comment