1. 21 Feb, 2018 2 commits
  2. 20 Feb, 2018 1 commit
  3. 18 Feb, 2018 1 commit
    • HLSL: Add conversions for image ops during SPV construction · 4425f245
      LoopDawg authored
      HLSL allows image and texture types to be templatized on sub-vec4 types,
      or even structures.  This was mostly handled already during creation of
      sampling operations.  However, for operator[] which can generate image
      loads, this wasn't happening.
      
      It also isn't very easy to do at that point in time, because operator[]
      does not know where the results it produces will end up.  They may be
      an lvalue or an rvalue, and there's a post-process to convert loads to
      stores.  They may end up in atomic ops.
      
      To bypass that difficulty, GlslangToSpv now looks for this case and
      adds the appropriate conversion.  LIMITATION: this only works for
      cases for which a simple conversion opcode suffices.  That is to say,
      it will not work if the type is templatized on a struct.
  4. 15 Feb, 2018 2 commits
  5. 14 Feb, 2018 1 commit
  6. 12 Feb, 2018 1 commit
  7. 10 Feb, 2018 2 commits
  8. 09 Feb, 2018 1 commit
  9. 08 Feb, 2018 3 commits
  10. 07 Feb, 2018 1 commit
  11. 06 Feb, 2018 5 commits
  12. 05 Feb, 2018 2 commits
    • Merge pull request #1234 from dneto0/update-spirv · 2651ccae
      John Kessenich authored
      Update SPIRV-Tools known-good
    • Update SPIRV-Tools known-good · d1232992
      David Neto authored
      Update SPIRV-Tools.  Relevant functional changes:
       - Optimizer enhancements:
         - ADCE now removes OpSwitch
         - Block merging occurs in more cases
       - Optimizer fixes:
         - Constant propagation (CCP): support matrix constants
         - #1199: Optimizer: Fix CCP: don't propagate spec constants.
         - #1203: Optimizer: Fix common uniform elim bug introduced by refactoring.
         - #1210: Optimizer: Aggressive dead code elimination: Fix 'break' identification.
         - #1212: Optimizer: Aggressive dead code elimination: Was skipping too many instructions.
         - #1214: Optimizer: Aggressive dead code elimination: Fix infinite loop.
         - #1228: Optimizer: Fix CCP: Handling of varying Phi nodes; was resulting in infinite loop.
         - #1245: Optimizer: Dead branch elimination: Avoid a null pointer dereference.
         - #1250: Optimizer: Dead branch elimination: Avoid spuriously reporting a change.
         - #1262: Support building on VisualStudio 2013 again
      
      Update SPIRV-Headers, with "unified1" directory.
      
      Updated one Glslang legalization test base result due to better block merging.
  13. 02 Feb, 2018 2 commits
  14. 01 Feb, 2018 8 commits
  15. 29 Jan, 2018 1 commit
  16. 18 Jan, 2018 2 commits
  17. 17 Jan, 2018 1 commit
  18. 16 Jan, 2018 1 commit
    • Fix unused function warning. · 541f7bbd
      Frank Henigman authored
      TGlslangToSpvTraverser::getExtBuiltins is only used when AMD_EXTENSIONS
      is defined, so only define it in that case to avoid an unused function
      warning.
  19. 12 Jan, 2018 1 commit
  20. 11 Jan, 2018 1 commit
  21. 10 Jan, 2018 1 commit