tests: Avoid using "SV_Position" as a name for the vertex shader input.

We use vkd3d_shader_find_signature_element() in the Vulkan runner, and
vkd3d-shader translates SM1 position to "POSITION".
This commit is contained in:
Zebediah Figura
2022-08-15 19:53:55 -05:00
committed by Alexandre Julliard
parent aa44f9b390
commit 6a514ebe8e
Notes: Alexandre Julliard 2023-12-14 23:31:52 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/518
6 changed files with 37 additions and 15 deletions

View File

@@ -12,9 +12,10 @@ levels 2
0.0 0.0 1.0 0.0
[vertex shader]
void main(out float2 tex : texcoord, inout float4 pos : sv_position)
void main(float4 pos : position, out float2 tex : texcoord, out float4 out_pos : sv_position)
{
tex = pos.xy;
out_pos = pos;
}
[pixel shader]