nir: add ACCESS_USES_FORMAT_AMD for typed buffer opcodes
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:
@@ -1007,6 +1007,17 @@ enum gl_access_qualifier
|
||||
* The swizzle amount is determined by the descriptor.
|
||||
*/
|
||||
ACCESS_IS_SWIZZLED_AMD = (1 << 9),
|
||||
|
||||
/**
|
||||
* Whether an AMD-specific buffer intrinsic uses a format conversion.
|
||||
*
|
||||
* If unset, the intrinsic will access raw memory without any conversion.
|
||||
*
|
||||
* If set, the memory opcode performs a format conversion according to
|
||||
* the format determined by the descriptor (in a manner identical to image
|
||||
* buffers and sampler buffers).
|
||||
*/
|
||||
ACCESS_USES_FORMAT_AMD = (1 << 10),
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user