Skip to content
Snippets Groups Projects
Commit 9cf986dc authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Marge Bot
Browse files

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: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 8dfb240b ("nir: Add raytracing shader call lowering pass.")
Reviewed-by: default avatarJason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <mesa/mesa!16036>
parent 51dea59e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment