HLSL: Fix #805: Support cast of scalars to structures.
Somewhat complex due to recognizing a general scalar, but not replicating it for each member to avoid side effects.
Showing
- Test/baseResults/hlsl.scalarCast.vert.out 501 additions, 0 deletionsTest/baseResults/hlsl.scalarCast.vert.out
- Test/hlsl.scalarCast.vert 37 additions, 0 deletionsTest/hlsl.scalarCast.vert
- glslang/Include/revision.h 1 addition, 1 deletionglslang/Include/revision.h
- gtests/Hlsl.FromFile.cpp 1 addition, 0 deletionsgtests/Hlsl.FromFile.cpp
- hlsl/hlslParseHelper.cpp 73 additions, 36 deletionshlsl/hlslParseHelper.cpp
- hlsl/hlslParseHelper.h 4 additions, 3 deletionshlsl/hlslParseHelper.h
Loading
Please register or sign in to comment