diff --git a/src/compiler/shader_enums.h b/src/compiler/shader_enums.h index 03b2eaf5070..21ea09f9017 100644 --- a/src/compiler/shader_enums.h +++ b/src/compiler/shader_enums.h @@ -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), }; /**