vkd3d-shader/hlsl: Make single-component swizzles retrieve a scalar and add more swizzle tests.
1 unresolved thread
Vectors cannot be used as array indexes, however, single-component swizzles (such as vec.x) can be used.
This suggests that single-component swizzles should actually be scalars and not vectors of dimx = 1.
It is worth noting that the use of swizzles on scalars should still be allowed.
Merge request reports
Activity
added 15 commits
-
053a11da...d2f8a576 - 10 commits from branch
wine:master
- dd216875 - tests: Combine all the swizzle tests in a single file.
- 524029a0 - tests: Test using single-component swizzles as indexes.
- 9d7ef64d - tests: Test swizzles on scalar values.
- edf86b22 - tests: Add tests for assignments to self with swizzles.
- f33ca836 - vkd3d-shader/hlsl: Make single-component swizzles retrieve a scalar.
Toggle commit list-
053a11da...d2f8a576 - 10 commits from branch
Please register or sign in to reply