spirv2dxil: Mark SSBO reads for bindless as CAN_REORDER
authorJesse Natalie <jenatali@microsoft.com>
Mon, 1 May 2023 20:07:01 +0000 (13:07 -0700)
committerMarge Bot <emma+marge@anholt.net>
Mon, 1 May 2023 21:12:43 +0000 (21:12 +0000)
commitbb65d36c5c5bc4a8b4ff43e17c7ca06f6386b1f9
treeb2eda385ab8fcd3184b5c1b30c9873ee4d3ef3b0
parent34cc37910f362dd8d51ef47de0ca592f0e42571a
spirv2dxil: Mark SSBO reads for bindless as CAN_REORDER

This makes it so that they can be CSE'd, which helps prevent redundant
reads of the same data.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22786>
src/microsoft/spirv_to_dxil/dxil_spirv_nir_lower_bindless.c