Skip to content
Snippets Groups Projects
  1. Oct 13, 2016
    • steve-lunarg's avatar
      HLSL: allow multi-dimensional arrays · 7b211a37
      steve-lunarg authored
      All the underpinnings are there; this just parses multiple array dimensions
      and passes them through to the existing mechanisms.
      
      Also, minor comment fixes, and add a new test for multi-dim arrays.
      7b211a37
  2. Oct 12, 2016
  3. Oct 11, 2016
  4. Oct 10, 2016
  5. Oct 09, 2016
    • Alex Szpakowski's avatar
      Address some compiler warnings. · 49ad2b72
      Alex Szpakowski authored
      - Add explicit casts from long to int.
      - Comment out method argument names that are unused.
      - Always initialize a boolean variable before it's read.
      49ad2b72
  6. Oct 07, 2016
  7. Oct 06, 2016
  8. Oct 05, 2016
  9. Oct 04, 2016
    • steve-lunarg's avatar
      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.
      2199c240
  10. Oct 03, 2016
  11. Oct 02, 2016
    • steve-lunarg's avatar
      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.
      8ffc36ae
    • John Kessenich's avatar
      Non-functional: Rationalizing parse helper hierarchy, step 3 (effected... · de97fe0a
      John Kessenich authored
      Non-functional: Rationalizing parse helper hierarchy, step 3 (effected editable symbols and IO resize).
      de97fe0a
    • John Kessenich's avatar
      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).
      a2a5dd47
  12. Oct 01, 2016
  13. Sep 30, 2016
  14. Sep 29, 2016
Loading