mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
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:
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
@ -1,7 +1,8 @@
|
||||
[vertex shader]
|
||||
void main(out float tex : texcoord, inout float4 pos : sv_position)
|
||||
void main(float4 pos : position, out float tex : texcoord, out float4 out_pos : sv_position)
|
||||
{
|
||||
tex = (pos.x + 1) * 320;
|
||||
out_pos = pos;
|
||||
}
|
||||
|
||||
[pixel shader]
|
||||
|
Reference in New Issue
Block a user