Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 4a8eabf5 by Anna (navi) Figueiredo Gomes at 2025-11-24T17:05:45+01:00 tests/hlsl: Add const scalar array dimension tests.
- - - - - 13ee6d74 by Anna (navi) Figueiredo Gomes at 2025-11-24T17:09:15+01:00 vkd3d-shader/hlsl: Store statically initialized constant scalars/vectors in ctx->static_initializers.
Constant numeric local variables can be used in places were literals are expected if they're initialized with a static expression.
Storing such constant in ctx->static_initializers allows copy-prop to handle such cases properly.
- - - - -
2 changed files:
- libs/vkd3d-shader/hlsl.y - tests/hlsl/array-dimension.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/e4cbbe3172b8ee9493fed9b1b623e...