vkd3d-shader/hlsl: Forbid returning void expressions from void functions.

This commit is contained in:
Zebediah Figura
2021-09-10 16:36:36 -05:00
committed by Alexandre Julliard
parent b29d3489de
commit 9cc7aaf5a1
Notes: Alexandre Julliard 2023-01-13 22:23:38 +01:00
Approved-by: Francisco Casas (@fcasas)
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/47
2 changed files with 18 additions and 10 deletions

View File

@@ -89,7 +89,7 @@ float4 main() : sv_target
return func();
}
[pixel shader fail todo]
[pixel shader fail]
void foo()
{