mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Forbid returning void expressions from void functions.
This commit is contained in:
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
@@ -89,7 +89,7 @@ float4 main() : sv_target
|
||||
return func();
|
||||
}
|
||||
|
||||
[pixel shader fail todo]
|
||||
[pixel shader fail]
|
||||
|
||||
void foo()
|
||||
{
|
||||
|
Reference in New Issue
Block a user