We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 237389b commit 1f3ae26Copy full SHA for 1f3ae26
include/nbl/video/utilities/IGPUObjectFromAssetConverter.h
@@ -1574,8 +1574,12 @@ inline created_gpu_object_array<asset::ICPUImageView> IGPUObjectFromAssetConvert
1574
requiredFormatUsages.attachment = 1;
1575
if ((imageUsageFlags & asset::IImage::EUF_DEPTH_STENCIL_ATTACHMENT_BIT).value)
1576
1577
-
+
1578
const auto format = imageCreationParams.format;
1579
1580
+ if(format != asset::EF_R8G8B8_SRGB)
1581
+ continue; // This Temporary format promotion code only works for this format
1582
1583
bool formatSupported = false;
1584
if (imageCreationParams.tiling == asset::IImage::ET_OPTIMAL)
1585
{
0 commit comments