vkd3d-shader/hlsl: Allow empty parameter lists to be specified as "(void)".

This commit is contained in:
Zebediah Figura
2023-02-13 17:38:03 -06:00
committed by Alexandre Julliard
parent 58445da64b
commit cd6e8b5540
Notes: Alexandre Julliard 2023-02-14 22:23:01 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Francisco Casas (@fcasas)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/91
2 changed files with 16 additions and 8 deletions

View File

@ -149,7 +149,7 @@ void func()
{
}
[pixel shader todo]
[pixel shader]
/* This is something of an internal test: we need to make sure that we use the
* correct variables for a function's arguments and returns regardless of
@ -176,7 +176,7 @@ float4 main() : sv_target
}
[test]
todo draw quad
draw quad
todo probe all rgba (0.1, 0.2, 0.3, 0.4)
[pixel shader]