KhronosGroup / KhronosGroup/Vulkan-ValidationLayers
LOAD_OP_CLEAR does not validate depth-stencil layout
Open
ImageLayout
- Dominant language
- C++
- Stars
- 1k
- Forks
- 504
- Avg merge
- 11h 35m
- Merged PRs (30d)
- 224
Description
**Environment:**
- OS: Arch Linux
- GPU and driver version: 9070xt, mesa main
- SDK or header version if building from repo: main
- Options enabled (synchronization, best practices, etc.):
**Describe the Issue**
Attempting to use imageLayout = DEPTH_STENCIL_READ_ONLY_OPTIMAL, with loadOp = CLEAR should trip validation, but it doesn't.
This is a normal D32S8 image, 2 layers, 1 mip. The VkImageView covers the first layer only if that matters.
Contributor guide
Assessment
This issue has not been assessed yet.