sharpemu/tests/SharpEmu.Libs.Tests/VideoOut
Raiyan b9eee497aa
[VideoOut] Scope the AMD integrated-GPU penalty to Windows (#339)
* [VideoOut] Prefer real integrated GPUs over software rasterizers (#325)

Penalize only AMD integrated GPUs (the #97 vkCreateGraphicsPipelines
crash) instead of all integrated devices, so Intel/Apple/Qualcomm iGPUs
outrank Cpu-type software rasterizers (Mesa lavapipe). Hoist
ScorePhysicalDevice to the outer class and add unit tests for the
ordering.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* [VideoOut] Scope AMD iGPU penalty to Windows via a penalty helper

Extract ComputeDevicePenalty (the value subtracted from a device's base
score) and gate the #97 AMD-integrated penalty on Windows only. Mesa RADV
on Linux (e.g. the Steam Deck's AMD APU) is a different, working driver
and should keep its full integrated score. Add a Steam Deck test case and
drop inline comments.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* [VideoOut] Move device-scoring helpers out of the const block

Relocate ScorePhysicalDevice and ComputeDevicePenalty below the leading
const cluster instead of splitting it, and trim the vendor-ID reference
comment to adapters an x86-64 host can realistically enumerate.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-17 18:48:09 +03:00
..
PngSplashLoaderTests.cs Fix PNG chunk CRC validation (#241) 2026-07-16 00:46:43 +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
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