Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 5ad2e7ee by Elizabeth Figura at 2025-05-14T15:08:13+02:00 vkd3d-shader/hlsl: Fix an incorrect error message for referring to non-struct types with "struct".
We cannot be redefining struct types in this rule, only referring to already defined types. Struct type definition is handled by named_struct_spec, which complains if the type was defined at all, regardless of class.
- - - - - 8ca50a2f by Elizabeth Figura at 2025-05-14T15:09:42+02:00 tests/hlsl: Add more tests for struct syntax.
- - - - - c1adf54a by Elizabeth Figura at 2025-05-14T15:09:48+02:00 vkd3d-shader/hlsl: Forbid referring to typedefs with "struct".
- - - - -
5 changed files:
- Makefile.am - libs/vkd3d-shader/hlsl.h - libs/vkd3d-shader/hlsl.y - tests/hlsl/invalid.shader_test - + tests/hlsl/struct-syntax.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/bfa655a01fb79a941f71e68b4413f...