mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-30 22:51:06 +00:00
c59916710e
Previously, casting an object of a struct type to an identical type would produce an error. This PR allows this case. As a side-effect of the change, several self-type casts in existing tests go away. For example: 0:10 Construct float ( temp float) 0:10 'f' ( in float) becomes this (without the unneeded constructor op): 0:10 'f' ( in float) For vector or array types this can result in somewhat less overall code. Fixes: #1218 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
hlslAttributes.cpp | ||
hlslAttributes.h | ||
hlslGrammar.cpp | ||
hlslGrammar.h | ||
hlslOpMap.cpp | ||
hlslOpMap.h | ||
hlslParseables.cpp | ||
hlslParseables.h | ||
hlslParseHelper.cpp | ||
hlslParseHelper.h | ||
hlslScanContext.cpp | ||
hlslScanContext.h | ||
hlslTokens.h | ||
hlslTokenStream.cpp | ||
hlslTokenStream.h |