1. 13 Sep, 2017 2 commits
  2. 12 Sep, 2017 10 commits
  3. 11 Sep, 2017 1 commit
    • Delete unused 'this' capture · 933c10cd
      mchock-nv authored
      Remove an unused 'this' entry from a lambda capture list.
      
      This cleans up a unused-lambda-capture warning.
  4. 09 Sep, 2017 1 commit
  5. 08 Sep, 2017 1 commit
  6. 07 Sep, 2017 2 commits
  7. 06 Sep, 2017 1 commit
    • Fix lvalue check in SPIR-V generation · 76117921
      LoopDawg authored
      There were several locations in TGlslangToSpvTraverser::handleUserFunctionCall testing for
      whether a fn argument should be in the lvalue or rvalue array.  They must get the same
      result for indexing sanity, but had slightly different logic.
      
      They're now forced into the same test.
  8. 04 Sep, 2017 1 commit
  9. 01 Sep, 2017 4 commits
  10. 31 Aug, 2017 3 commits
    • Fix issues of GL_ARB_viewport_layer_array · 2a305f65
      Rex Xu authored
    • Merge pull request #1037 from LoopDawg/clip-cull-geom · 75e057f9
      John Kessenich authored
      HLSL: add geometry stage support for clip/cull distance
    • HLSL: add geometry stage support for clip/cull distance · 5e5b12e9
      LoopDawg authored
      Changes:
      
      (1) Allow clip/cull builtins as both input and output in the same shader stage.  Previously,
      not enough data was tracked to handle this.
      
      (2) Handle the extra array dimension in GS inputs.  The synthesized external variable can
      now be created with the extra array dimension if needed, and the form conversion code is
      able to handle it as well.
      
      For example, both of these GS inputs would result in the same synthesized external type:
      
          triangle in float4 clip[3] : SV_ClipDistance
      
          triangle in float2 clip[3][2] : SV_ClipDistance
      
      In the second case, the inner array dimension packs with the 2-vector of floats into an array[4],
      which there is an array[3] of due to the triangle geometry.
  11. 29 Aug, 2017 2 commits
  12. 28 Aug, 2017 3 commits
  13. 26 Aug, 2017 2 commits
  14. 25 Aug, 2017 4 commits
  15. 24 Aug, 2017 3 commits
    • Merge pull request #1028 from LoopDawg/clip-cull-input · 1f312f90
      John Kessenich authored
      HLSL: handle clip and cull distance input builtin type conversion
    • HLSL: handle clip and cull distance input builtin type conversion · e2cda3c2
      LoopDawg authored
      HLSL allows a range of types for clip and cull distances.  There are
      three dimensions, including arrayness, vectorness, and semantic ID.
      SPIR-V requires clip and cull distance be a single array of floats in
      all cases.
      
      This code provides input side conversion between the SPIR-V form and
      the HLSL form.  (Output conversion was added in PR #947 and #997).
      
      This PR extends HlslParseContext::assignClipCullDistance to cope with
      the input side conversion.  Not as much changed as appears: there was
      also a lot of renaming to reflect the fact that the code now handles
      either direction.
      
      Currently, non-{frag,vert} stages are not handled, and are explicitly
      rejected.
      
      Fixes #1026.
    • Merge pull request #1029 from amdrexu/feature2 · fc343694
      John Kessenich authored
      Implement extension GL_AMD_shader_image_load_store_lod