protonscr

test_line_rasterization failing on drivers without smooth line support

vkd3dclosed
HansKristian-Work/vkd3d-proton#2699 · opened 2025-11-11 by zdobersek · updated 2025-11-13 · 3 comments · github
Zzdobersek 2025-11-11 github

This is observed on Turnip, which can't support smooth lines on Adreno hardware.

Two test combinations in test_line_rasterization end up using D3D12_LINE_RASTERIZATION_MODE_ALPHA_ANTIALIASED mode, which is only translatable to Vulkan if the smooth line feature is present -- if not, it will use the default VK line rasterization mode, making these tests fail.

I don't think there's an options struct member that would cover this.

HHansKristian-Work maintainer 2025-11-12 github

There is not, but I just added a bug_if() on ANV for just this issue. Feel free to PR it for Turnip.

HHansKristian-Work maintainer 2025-11-13 github

Made it more general.

Zzdobersek 2025-11-13 github

No worries.

Nothing extracted yet.