KhronosGroup / KhronosGroup/glslang
HLSL: Error with scattered l-value read/modify/write with matrix accessor swizzles
Open
bug
HLSL
- Dominant language
- C++
- Stars
- 3.6k
- Forks
- 989
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 31
Description
There are errors when trying to do some simple assignments like the following to a matrix:
```
float3x4 anchorTransform;
...
anchorTransform._m03_m13_m23 -= localSpaceOffset.xyz;
```
The error is:
```
error: 'assign' : only simple assignment to non-simple matrix swizzle is supported
```
Contributor guide
Assessment
This issue has not been assessed yet.