nir: replace IS_SWIZZLED flag with ACCESS_IS_SWIZZLED_AMD

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19422>
This commit is contained in:
Marek Olšák
2022-11-06 18:55:46 -05:00
committed by Marge Bot
parent 7998c3bdd3
commit 716ac4a55d
7 changed files with 24 additions and 18 deletions

View File

@@ -1000,6 +1000,13 @@ enum gl_access_qualifier
/** Execute instruction also in helpers. */
ACCESS_INCLUDE_HELPERS = (1 << 8),
/**
* Whether the address bits are swizzled by the hw. This practically means
* that loads can't be vectorized and must be exactly 32 bits on some chips.
* The swizzle amount is determined by the descriptor.
*/
ACCESS_IS_SWIZZLED_AMD = (1 << 9),
};
/**