mirror of
https://github.com/RPCS3/glslang.git
synced 2025-01-02 00:18:33 +00:00
c44b95fdec
In HLSL, there are three (TODO: ??) dimensions of clip and cull distance values: * The semantic's value N, ala SV_ClipDistanceN. * The array demension, if the value is an array. * The vector element, if the value is a vector or array of vectors. In SPIR-V, clip and cull distance are arrays of scalar floats, always. This PR currently ignores the semantic N axis, and handles the other two axes by sequentially copying each vector element of each array member into sequential floats in the output array. Fixes: #946 |
||
---|---|---|
.. | ||
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 |