Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 75ef230f by Elizabeth Figura at 2025-01-29T17:58:00+01:00 tests: Add some stress tests for scope and variable definition.
- - - - - 2863d86b by Elizabeth Figura at 2025-01-29T17:58:00+01:00 vkd3d-shader/hlsl: Do not define a separate scope for function parameters.
Remove the no longer needed code to detect redefinition in this case.
- - - - - e40d4a0e by Elizabeth Figura at 2025-01-29T17:58:00+01:00 vkd3d-shader/hlsl: Factor out the error message into hlsl_add_var().
- - - - - fbd17266 by Elizabeth Figura at 2025-01-29T17:58:00+01:00 vkd3d-shader/hlsl: Do not abort on variable redefinition.
There is no harm in defining two variables with the same name.
- - - - - f1412e42 by Elizabeth Figura at 2025-01-29T17:58:00+01:00 vkd3d-shader/hlsl: Handle error instructions in add_shader_compilation().
- - - - -
5 changed files:
- Makefile.am - libs/vkd3d-shader/hlsl.c - libs/vkd3d-shader/hlsl.h - libs/vkd3d-shader/hlsl.y - + tests/hlsl/scope.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/7d1e4a40b16037d7d3019790e52b3...