1. 02 Oct, 2016 1 commit
  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 4 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
    • HLSL: Merge pull request #515 from steve-lunarg/flatten-uniform-array · 4455258a
      John Kessenich authored
      HLSL: Flatten uniform arrays
    • Flatten uniform arrays · e0b9debd
      steve-lunarg authored
      This checkin adds a --flatten-uniform-arrays option which can break
      uniform arrays of samplers, textures, or UBOs up into individual
      scalars named (e.g) myarray[0], myarray[1], etc.  These appear as
      individual linkage objects.
      
      Code notes:
      
      - shouldFlatten internally calls shouldFlattenIO, and shouldFlattenUniform,
        but is the only flattening query directly called.
      
      - flattenVariable will handle structs or arrays (but not yet arrayed structs;
        this is tested an an error is generated).
      
      - There's some error checking around unhandled situations.  E.g, flattening
        uniform arrays with initializer lists is not implemented.
      
      - This piggybacks on as much of the existing mechanism for struct flattening
        as it can.  E.g, it uses the same flattenMap, and the same
        flattenAccess() method.
      
      - handleAssign() has been generalized to cope with either structs or arrays.
      
      - Extended test infrastructure to test flattening ability.