Skip to content

Commit f068580

Browse files
committed
Use 10-bit UNORM on DXGI interop as well.
1 parent 92fc80e commit f068580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vulkan/wsi.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ bool WSI::init_surface_swapchain_dxgi(unsigned width, unsigned height)
212212
switch (current_backbuffer_format)
213213
{
214214
case BackbufferFormat::UNORM:
215-
format = { VK_FORMAT_B8G8R8A8_UNORM, VK_COLOR_SPACE_SRGB_NONLINEAR_KHR };
215+
format = { VK_FORMAT_A2B10G10R10_UNORM_PACK32, VK_COLOR_SPACE_SRGB_NONLINEAR_KHR };
216216
break;
217217

218218
case BackbufferFormat::sRGB:

0 commit comments

Comments
 (0)