xenia icon indicating copy to clipboard operation
xenia copied to clipboard

Detect bad driver settings

Open Margen67 opened this issue 3 years ago • 2 comments

People seem to think it's a good idea to override dangerous driver settings like anti-aliasing, so it should be detected.

Margen67 avatar Jul 22 '22 03:07 Margen67

Dolphin does this (only with OpenGL?) https://github.com/dolphin-emu/dolphin/blob/b0b5faa79335895a8a0cca71567c5460c9584feb/Source/Core/VideoBackends/OGL/OGLRender.cpp#L717-L730

Margen67 avatar Jul 22 '22 08:07 Margen67

There's no concept of the default framebuffer in D3D10+ or Vulkan though, and in D3D12, the swap chain buffers (the ones that get sent to the screen) can't be multisampled at all, so for this, we'll probably need to actually render something and see if there is any partially covered pixel (and also to render something with 2x MSAA to see if there are no 25% or 75% coverages, and with 4x MSAA to check if there are no 12.5% and so on).

Triang3l avatar Jul 22 '22 09:07 Triang3l