e813e5e90b9b548fe601c54f4602e30afb2c3776
Root cause: driver returned format=58 (A2B10G10R10_PACK32) as fallback when B8G8R8A8_SRGB wasn't found. 10-bit packed format has different byte layout → vkCmdCopyImageToBuffer gives garbage when interpreted as 8-bit BGRA → acid colors in video. Fix: - QuerySurfaceFormat: try B8G8R8A8_UNORM first (NVIDIA supports it) - Fallback: B8G8R8A8_SRGB, then first available - Removed SRGB LUT conversion — UNORM data is already linear - Raw BGRA bytes go directly to FFmpeg (pixel_format=bgra)
Description
AI powered Game Engine
23 MiB
Languages
C#
97.8%
GLSL
1.8%
Shell
0.2%
PowerShell
0.2%