1. 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).
  2. 01 Oct, 2016 11 commits
  3. 30 Sep, 2016 4 commits
  4. 29 Sep, 2016 7 commits
  5. 28 Sep, 2016 1 commit
  6. 27 Sep, 2016 4 commits
  7. 26 Sep, 2016 5 commits
  8. 23 Sep, 2016 3 commits
  9. 22 Sep, 2016 2 commits
    • Fix defects in uniform array flattening · cf43e661
      steve-lunarg authored
      Fix for two defects as follows:
      
      - The IO mapping traverser was not setting inVisit, and would skip some AST nodes.
        Depending on the order of nodes, this could have prevented the binding from
        showing up in the generated SPIR-V.
      
      - If a uniform array was flattened, each of the flattened scalars from the array
        is still a (now-scalar) uniform.  It was being converted to a temporary.
    • Merge pull request #516 from amdrexu/feature3 · 02df206c
      John Kessenich authored
      SPV: Implement the extension SPV_KHR_shader_ballot