HansKristian-Work / vkd3d-proton

Fork of VKD3D. Development branches for Proton's Direct3D 12 implementation.
GNU Lesser General Public License v2.1
1.75k stars 183 forks source link

Invalid Vulkan usage in test_multisample_resolve_strongly_typed #2032

Closed hakzsam closed 3 days ago

hakzsam commented 6 days ago

$ VKD3D_TEST_FILTER=test_multisample_resolve_strongly_typed ./build/tests/d3d12

test_multisample_resolve_strongly_typed:2029:Test 2: Todo: Got hr 0, expected E_INVALIDARG.
VUID-VkImageViewCreateInfo-image-01762(ERROR / SPEC): msgNum: 1695986743 - Validation Error: [ VUID-VkImageViewCreateInfo-image-01762 ] Object 0: handle = 0x8fd57200000000e5, type = VK_OBJECT_TYPE_IMAGE; | MessageID = 0x6516b437 | vkCreateImageView(): pCreateInfo->format VK_FORMAT_R16_UNORM is different from VkImage 0x8fd57200000000e5[] format (VK_FORMAT_R16_SFLOAT). Formats MUST be IDENTICAL unless VK_IMAGE_CREATE_MUTABLE_FORMAT BIT was set on image creation. The Vulkan spec states: If image was not created with the VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT flag, or if the format of the image is a multi-planar format and if subresourceRange.aspectMask is VK_IMAGE_ASPECT_COLOR_BIT, format must be identical to the format used to create image (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkImageViewCreateInfo-image-01762)
    Objects: 1
        [0] 0x8fd57200000000e5, type: 10, name: NULL
d3d12: ../src/vulkan/runtime/vk_image.c:475: vk_image_view_init: Assertion `image_view->format == image->format' failed.
Aborted (core dumped)

The test currently asserts on Mesa/RADV.