nir: Don't reorder volatile intrinsics
Fixes issue with "is helper invocation" that in recent SPIR-V is mapped to a volatile Load. The CSE was catching the loads before they were transformed in the new is_helper_invocation intrinsic (that is not reorderable). Fixes: 729df14e ("nir: Handle volatile semantics for loading HelperInvocation builtin") Reviewed-by:Jason Ekstrand <jason.ekstrand@collabora.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Reviewed-by:
M Henning <drawoc@darkrefraction.com> Part-of: <mesa/mesa!19432>