glslang-zig/glslang
steve-lunarg 2199c2404b HLSL: fix for flattening assignments from non-symbol R-values.
If a member-wise assignment from a non-flattened struct to a flattened struct sees a complex R-value
(not a symbol), it now creates a temporary to hold that value, to avoid repeating the R-value.
This avoids, e.g, duplicating a whole function call.  Also, it avoids re-using the AST node, making a
new one for each member inside the member loop.

The latter (re-use of AST node) was also an issue in the GetDimensions intrinsic decomposition,
so this PR fixes that one too.
2016-10-04 17:07:45 -06:00
..
GenericCodeGen Whitespace: Nonfunctional: fix inconsistent white space, esp. no tabs. 2016-08-05 17:34:34 -06:00
Include add reflection queries to return a TType. Fix minor issue with interface names. 2016-10-02 16:57:58 -06:00
MachineIndependent HLSL: fix for flattening assignments from non-symbol R-values. 2016-10-04 17:07:45 -06:00
OSDependent Merge branch 'cpp-headers' 2016-08-11 10:01:13 -06:00
Public add reflection queries to return a TType. Fix minor issue with interface names. 2016-10-02 16:57:58 -06:00
CMakeLists.txt HLSL: Add location offsets per resource type 2016-09-20 20:31:27 -06:00
updateGrammar Bison: Non-functional: Move to revision 3.0.4. 2016-05-04 12:54:56 -06:00