1. 06 Oct, 2016 4 commits
  2. 05 Oct, 2016 4 commits
  3. 04 Oct, 2016 1 commit
    • HLSL: fix for flattening assignments from non-symbol R-values. · 2199c240
      steve-lunarg authored
      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.
  4. 03 Oct, 2016 1 commit
  5. 02 Oct, 2016 3 commits
    • add reflection queries to return a TType. Fix minor issue with interface names. · 8ffc36ae
      steve-lunarg authored
      - Add new queries: TProgram::getUniformTType and getUniformBlockTType,
        which return a const TType*, or nullptr on a bad index.  These are valid for
        any source language.
      
      - Interface name for HLSL cbuffers is taken from the (only) available declaration name,
        whereas before it was always an empty string, which caused some troubles with reflection
        mapping them all to the same index slot.  This also makes it appear in the SPIR-V binary
        instead of an empty string.
      
      - Print the binding as part of the reflection textual dump.
      
      - TType::clone becomes const.  Needed to call it from a const method, and anyway it doesn't
        change the object it's called on.
      
      - Because the TObjectReflection constructor is called with a TType *reference* (not pointer)
        so that it's guaranteed to pass in a type, and the "badReflection" value should use a nullptr
        there, that now has a dedicated static method to obtain the bad value.  It uses a private
        constructor, so external users can't create one with a nullptr type.
    • Non-functional: Rationalizing parse helper hierarchy, step 3 (effected editable… · de97fe0a
      John Kessenich authored
      Non-functional: Rationalizing parse helper hierarchy, step 3 (effected editable symbols and IO resize).
    • Non-functional: Rationalizing parse helper hierarchy, step 2 (effected error… · a2a5dd47
      John Kessenich authored
      Non-functional: Rationalizing parse helper hierarchy, step 2 (effected error messaging and cascading errors).
  6. 01 Oct, 2016 11 commits
  7. 30 Sep, 2016 4 commits
  8. 29 Sep, 2016 7 commits
  9. 28 Sep, 2016 1 commit
  10. 27 Sep, 2016 4 commits