The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

c/render: Make srgb_view renderable for scratch images

+1 -1
+1 -1
src/xrt/compositor/render/render_resources.c
··· 463 463 VkImageUsageFlags unorm_usage = VK_IMAGE_USAGE_STORAGE_BIT | VK_IMAGE_USAGE_SAMPLED_BIT; 464 464 465 465 // Very few cards support SRGB storage. 466 - VkImageUsageFlags srgb_usage = VK_IMAGE_USAGE_SAMPLED_BIT; 466 + VkImageUsageFlags srgb_usage = VK_IMAGE_USAGE_SAMPLED_BIT | VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; 467 467 468 468 // Combination of both. 469 469 VkImageUsageFlags image_usage = unorm_usage | srgb_usage;