mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 19:10:21 +01:00
anv: reuse the VK_IMAGE_ASPECT_PLANES_BITS_ANV macro
Signed-off-by: Rohan Garg <rohan.garg@intel.com> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21283>
This commit is contained in:
parent
5bb217a07a
commit
4e61191065
1 changed files with 4 additions and 5 deletions
|
|
@ -2332,16 +2332,15 @@ anv_pipe_invalidate_bits_for_access_flags(struct anv_device *device,
|
|||
return pipe_bits;
|
||||
}
|
||||
|
||||
#define VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV ( \
|
||||
VK_IMAGE_ASPECT_COLOR_BIT | \
|
||||
VK_IMAGE_ASPECT_PLANE_0_BIT | \
|
||||
VK_IMAGE_ASPECT_PLANE_1_BIT | \
|
||||
VK_IMAGE_ASPECT_PLANE_2_BIT)
|
||||
#define VK_IMAGE_ASPECT_PLANES_BITS_ANV ( \
|
||||
VK_IMAGE_ASPECT_PLANE_0_BIT | \
|
||||
VK_IMAGE_ASPECT_PLANE_1_BIT | \
|
||||
VK_IMAGE_ASPECT_PLANE_2_BIT)
|
||||
|
||||
#define VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV ( \
|
||||
VK_IMAGE_ASPECT_COLOR_BIT | \
|
||||
VK_IMAGE_ASPECT_PLANES_BITS_ANV)
|
||||
|
||||
struct anv_vertex_binding {
|
||||
struct anv_buffer * buffer;
|
||||
VkDeviceSize offset;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue