Skip to content
Snippets Groups Projects
  1. Feb 06, 2018
    • Arseny Kapoulkine's avatar
      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).
      75cffdf9
  2. Jan 18, 2018
  3. Jan 17, 2018
  4. Jan 16, 2018
    • Frank Henigman's avatar
      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.
      541f7bbd
  5. Jan 12, 2018
  6. Jan 11, 2018
  7. Jan 10, 2018
  8. Jan 08, 2018
  9. Jan 05, 2018
  10. Jan 02, 2018
  11. Dec 30, 2017
  12. Dec 24, 2017
  13. Dec 21, 2017
  14. Dec 20, 2017
  15. Dec 17, 2017
  16. Dec 16, 2017
  17. Dec 15, 2017
Loading