Skip to content
Commit 0056943e authored by Connor Abbott's avatar Connor Abbott Committed by Dylan Baker
Browse files

nir/sink: Don't sink load_ubo to outside of its defining loop



Previously, this could have made the resource divergent in code like
that which is genereated by nir_lower_non_uniform_access.

Fixes: da8ed68a ('nir: replace nir_move_load_const() with nir_opt_sink()')
Reviewed-by: default avatarDaniel Schürmann <daniel@schuermann.dev>
(cherry picked from commit 5ac32b29)
parent d14d70de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment