mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
8bc9e15618
Instead of returning nonsense (such as, currently, a type with zero size). In practice this improves error reporting for shaders such as the following: void func(float x[]) { float y[] = {x}; } Currently this outputs a nonsense test.hlsl:1:19: E5002: Implicit size arrays not allowed in function parameters. test.hlsl:3:7: E5002: Implicit size arrays need to be initialized. With this patch the second warning is removed.