sharpemu/tests/SharpEmu.Libs.Tests/VideoOut
kuba 327018e80a
Encode linear-float flips to sRGB at present (#448)
PS5 float VideoOut buffers (A16B16G16R16F flips) hold linear scRGB
light where 1.0 is SDR white; hardware scan-out applies the display
transfer function. vkCmdBlitImage converts numerically only, so
raw-blitting a linear-float guest frame into a UNORM swapchain crushes
dim scenes to near-black.

Blit float flip sources through a cached swapchain-sized sRGB
intermediate (the sRGB store performs the linear->sRGB encode), then
raw vkCmdCopyImage the encoded bytes into the same-compatibility-class
UNORM swapchain image. Swapchains that are already sRGB keep the
direct blit (their store encodes), and swapchain formats without an
sRGB counterpart keep today's raw blit unchanged.
2026-07-20 01:29:38 +03:00
..
PngSplashLoaderTests.cs Fix PNG chunk CRC validation (#241) 2026-07-16 00:46:43 +03:00
VideoOutOutputOptionsTests.cs [VideoOut] Initialize output options storage (#315) 2026-07-18 04:14:27 +03:00
VideoOutOutputSupportTests.cs videoout: implement output support query (#269) 2026-07-18 02:44:23 +03:00
VideoOutPixelFormatTests.cs [VideoOut] Fall back to 8-bit RGBA for unknown pixel formats instead of silently failing (#294) 2026-07-17 04:35:57 +03:00
VulkanDepthAttachmentTests.cs [Vulkan] Honor guest depth clear state (#290) 2026-07-17 02:29:53 +03:00
VulkanGuestImageByteCountTests.cs [shader_recompiler] Fix guest image byte count calculation for Vulkan video presenter (#395) 2026-07-18 16:09:26 +03:00
VulkanHostBufferPoolTests.cs Bound Vulkan host buffer pool memory (#201) 2026-07-16 16:44:29 +03:00
VulkanPhysicalDeviceScoringTests.cs [VideoOut] Scope the AMD integrated-GPU penalty to Windows (#339) 2026-07-17 18:48:09 +03:00
VulkanPresentEncodeFormatTests.cs Encode linear-float flips to sRGB at present (#448) 2026-07-20 01:29:38 +03:00