diff options
author | Tapani Pälli <tapani.palli@intel.com> | 2021-12-02 10:44:10 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2021-12-03 09:10:32 +0000 |
commit | d44d2e823f6fae31bff5876835717b64149414c2 (patch) | |
tree | 11c08bca77bdaa1a3efa9911a1b725a36406828e /src/broadcom/compiler/v3d_compiler.h | |
parent | 5c4c8bdc4c54a1f3d7e496e52476124366e6e7d6 (diff) |
anv: allow VK_IMAGE_LAYOUT_UNDEFINED as final layout
From VK_KHR_synchronization2:
"Image memory barriers that do not perform an image layout
transition can be specified by setting oldLayout equal to
newLayout.
E.g. the old and new layout can both be set to
VK_IMAGE_LAYOUT_UNDEFINED, without discarding data in the
image."
v2: make assert more readable (Lionel Landwerlin)
Cc: mesa-stable
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14008>
Diffstat (limited to 'src/broadcom/compiler/v3d_compiler.h')
0 files changed, 0 insertions, 0 deletions