VulkanSceneGraph
VulkanSceneGraph copied to clipboard
[FIXED] valueCount for array mipmaps read from vsg::Data
Pull Request Template
Description
Added vsg::computeValueCount used in CopyAndReleaseImage / TransferTask to get the correct value count for layered, mipmapped image data.
Type of change
- [X] Bug fix (non-breaking change which fixes an issue)
How Has This Been Tested?
Tested converting 2D images to 2D image array.
Tested vsgvalidate array_data_mipmaps:
info: array_data_mipmaps test passed
Checklist:
- [ ] My code follows the style guidelines of this project
- [X] I have performed a self-review of my own code
- [X] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [X] My changes generate no new warnings
- [X] I have added tests that prove my fix is effective or that my feature works
- [X] New and existing unit tests pass locally with my changes
- [X] Any dependent changes have been merged and published in downstream modules