vkd3d-shader: Parse angle bracket initializer in state blocks.

While fxc allows full expressions inside the angle brackets, we don't parse that
yet as it'd be quite a mess to properly do so with yacc, and I'm not aware of any
game doing so in their shaders.
This commit is contained in:
Anna (navi) Figueiredo Gomes
2025-02-27 16:04:30 +01:00
committed by Henri Verbeet
parent 9809bda0e5
commit 50254c284b
Notes: Henri Verbeet 2025-03-03 18:05:50 +01:00
Approved-by: Elizabeth Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1398
2 changed files with 21 additions and 1 deletions

View File

@@ -653,7 +653,7 @@ DepthStencilState dss1
RandomField = vec.w;
};
[pixel shader todo]
[pixel shader]
sampler sams
{
Filter = <ANISOTROPIC>;