1. 06 Feb, 2018 2 commits
    • Merge pull request #1238 from zeux/pp-string-buffer · 9ffc72d1
      John Kessenich authored
      Preprocessor: Use std::string instead of std::stringstream
    • Preprocessor: Use std::string instead of std::stringstream · 75cffdf9
      Arseny Kapoulkine authored
      std::stringstream has a measurable overhead for preprocessing - it
      appears that operator<< does a tiny bit of extra work for appending
      chars/strings and also can't be inlined in most cases on VS2015;
      additionally, std::endl triggers a stream flush which also adds up.
      
      Replacing this with std::string buffer gets the preprocessing time down
      from 180ms to 135ms in one case, making it 1.33x faster.
      
      Note that integer-to-string conversion is using std::to_string; in
      theory this could be slower than sprintf or manual conversion, but I
      haven't found these cases to affect preprocessing time in practice
      (std::to_string would always use the short string buffer for
      line/version numbers, and the number of calls is not too significant).
  2. 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.
  3. 02 Feb, 2018 2 commits
  4. 01 Feb, 2018 8 commits
  5. 29 Jan, 2018 1 commit
  6. 18 Jan, 2018 2 commits
  7. 17 Jan, 2018 1 commit
  8. 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.
  9. 12 Jan, 2018 1 commit
  10. 11 Jan, 2018 1 commit
  11. 10 Jan, 2018 4 commits
  12. 08 Jan, 2018 3 commits
  13. 05 Jan, 2018 2 commits
  14. 02 Jan, 2018 2 commits
  15. 30 Dec, 2017 1 commit
  16. 24 Dec, 2017 1 commit
  17. 21 Dec, 2017 6 commits