Closed YunHsiao closed 4 years ago
Not yet I guess...? From what I can tell it still seems in an early stage now, with only minimal image initial/global layout checks.
Ah, ok, this is just layout validation. It's interesting that the issue doesn't occur when push descriptors are used which is why this hasn't been fixed before - there must be some difference between validation of push descriptors and validation of regular updates, which likely indicates a validation layer bug. The change itself looks good, but I want to file the validation layer bug if it exists before merging this.
I filed https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/1862 for this
The depth pyramid image is first used in the culling process, but layout transition was not done until pyramid generation, which will generate a validation error in the latest version(1.2.135.0).