The open source OpenXR runtime
0
fork

Configure Feed

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

c/util: Make use of components clear [NFC]

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2491>

authored by

Jakob Bornecrantz and committed by
Marge Bot
a48f4399 2dd2e21d

+2 -2
+2 -2
src/xrt/compositor/util/comp_swapchain.c
··· 314 314 VkCommandBuffer cmd_buffer; 315 315 VkResult ret; 316 316 317 - VkComponentMapping components = { 317 + VkComponentMapping no_alpha_components = { 318 318 .r = VK_COMPONENT_SWIZZLE_R, 319 319 .g = VK_COMPONENT_SWIZZLE_G, 320 320 .b = VK_COMPONENT_SWIZZLE_B, ··· 366 366 image_view_type, // type 367 367 image_view_format, // format 368 368 subresource_range, // subresource_range 369 - components, // components 369 + no_alpha_components, // components 370 370 &sc->images[i].views.no_alpha[layer]); // out_view 371 371 372 372 VK_CHK_WITH_GOTO(ret, "vk_create_view_swizzle", error);