-
-
Save i509VCB/219ecfa91e39fb64db47d970b36caae6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // at top of vk_meta_copy_image | |
| // ok | |
| if (src_format == VK_FORMAT_R32_UINT && dst_format == VK_FORMAT_R32_SFLOAT) { | |
| dst_format = VK_FORMAT_R32_UINT; | |
| } | |
| // but the same for R16 fails dEQP | |
| if (src_format == VK_FORMAT_R16_UINT && dst_format == VK_FORMAT_R16_SFLOAT) { | |
| dst_format = VK_FORMAT_R16_UINT; | |
| } | |
| // different format is a nope | |
| if (src_format == VK_FORMAT_B8G8R8A8_UNORM && dst_format == VK_FORMAT_R16_SFLOAT) { | |
| dst_format = VK_FORMAT_R16_SINT; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment