thatcosmonaut / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
1 stars 2 forks source link

Texture issues in SOR4 FNA3D trace #11

Closed flibitijibibo closed 1 month ago

flibitijibibo commented 2 months ago

In addition to one of the textures in the starting screen being uninitialized-looking, lots of validation errors for layout transitions:

UNASSIGNED-CoreValidation-DrawState-InvalidImageLayout(ERROR / SPEC): msgNum: 1303270965 - Validation Error: [ UNASSIGNED-CoreValidation-DrawState-InvalidImageLayout ] Object 0: handle = 0x1cec2f0, type = VK_OBJECT_TYPE_COMMAND_BUFFER; Object 1: handle = 0x5a400000005a4, type = VK_OBJECT_TYPE_IMAGE; | MessageID = 0x4dae5635 | vkQueueSubmit(): pSubmits[0].pCommandBuffers[0] command buffer VkCommandBuffer 0x1cec2f0[] expects VkImage 0x5a400000005a4[] (subresource: aspectMask 0x1 array layer 0, mip level 0) to be in layout VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL--instead, current layout is VK_IMAGE_LAYOUT_UNDEFINED.
flibitijibibo commented 1 month ago

Fixed by https://github.com/FNA-XNA/FNA3D/commit/cb65bb9af1dec79c2d3423385ef15acd17fefc70