simplerr / UtopianEngine

A game engine in early development
MIT License
52 stars 5 forks source link

Fallback to copy if image blitting is not supported by device #123

Closed simplerr closed 3 years ago

simplerr commented 3 years ago

// Check if the device supports blitting to linear images vkGetPhysicalDeviceFormatProperties(device->GetPhysicalDevice(), dstImage.GetFormat(), &formatProps); if (!(formatProps.linearTilingFeatures & VK_FORMAT_FEATURE_BLIT_DST_BIT)) { assert(0); }

Asserts on RTX 3070.

simplerr commented 3 years ago

Done