protonscr

test_hull_shader_vertex_input_patch_constant_phase has SV_Position.w == 0 which causes its failure

vkd3dclosed
HansKristian-Work/vkd3d-proton#862 · opened 2021-10-18 by werman · updated 2022-01-19 · 0 comments · github
Wwerman 2021-10-18 github

VS has:

            if (vid == 0)
                d.position = float4(-1, -1, 0, 0);
            else if (vid == 1)
                d.position = float4(-1, 1, 0, 0);
            else
                d.position = float4(3, 1, 0, 0);

So 1/SV_Position.w would be inf, I don't think that we should expect such triangle to cover the viewport... Apparently both RADV and Turnip don't like it.

BTW, if I set the value to 1.0, this triangle doesn't cover the whole viewport.

Nothing extracted yet.