1. 13 Sep, 2018 3 commits
  2. 12 Sep, 2018 2 commits
    • Merge pull request #1491 from DennisOSRM/patch-1 · f658c303
      John Kessenich authored
      Fix compiler warning emitted from GCC8
    • Fix compiler warning emitted from GCC8 · fc89f065
      Dennis Luxen authored
      the following warning gets emitted:
      
      ```
      In file included from ./Vulkan/glslang/SPIRV/hex_float.h:39,
                       from ./Vulkan/glslang/SPIRV/SpvBuilder.cpp:49:
      ./Vulkan/glslang/SPIRV/bitutils.h: In instantiation of ‘Dest spvutils::BitwiseCast(Src) [with Dest = spvutils::Float16; Src = short unsigned int]’:
      ./Vulkan/glslang/SPIRV/hex_float.h:138:47:   required from ‘T spvutils::FloatProxy<T>::getAsFloat() const [with T = spvutils::Float16]’
      ./Vulkan/glslang/SPIRV/hex_float.h:821:52:   required from here
      ./Vulkan/glslang/SPIRV/bitutils.h:29:14: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘class spvutils::Float16’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
         std::memcpy(&dest, &source, sizeof(dest));
         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from ./Vulkan/glslang/SPIRV/SpvBuilder.cpp:49:
      ./Vulkan/glslang/SPIRV/hex_float.h:43:7: note: ‘class spvutils::Float16’ declared here
       class Float16 {
             ^~~~~~~
      In file included from ./Vulkan/glslang/SPIRV/hex_float.h:39,
                       from ./Vulkan/glslang/SPIRV/SpvBuilder.cpp:49:
      ./Vulkan/glslang/SPIRV/bitutils.h: In instantiation of ‘Dest spvutils::BitwiseCast(Src) [with Dest = spvutils::FloatProxy<spvutils::Float16>; Src = short unsigned int]’:
      ./Vulkan/glslang/SPIRV/hex_float.h:431:28:   required from ‘void spvutils::HexFloat<T, Traits>::setFromSignUnbiasedExponentAndNormalizedSignificand(bool, spvutils::HexFloat<T, Traits>::int_type, spvutils::HexFloat<T, Traits>::uint_type, bool) [with T = spvutils::FloatProxy<spvutils::Float16>; Traits = spvutils::HexFloatTraits<spvutils::FloatProxy<spvutils::Float16> >; spvutils::HexFloat<T, Traits>::int_type = short int; spvutils::HexFloat<T, Traits>::uint_type = short unsigned int]’
      ./Vulkan/glslang/SPIRV/hex_float.h:633:5:   required from ‘void spvutils::HexFloat<T, Traits>::castTo(other_T&, spvutils::round_direction) [with other_T = spvutils::HexFloat<spvutils::FloatProxy<spvutils::Float16>, spvutils::HexFloatTraits<spvutils::FloatProxy<spvutils::Float16> > >; T = spvutils::FloatProxy<float>; Traits = spvutils::HexFloatTraits<spvutils::FloatProxy<float> >]’
      ./Vulkan/glslang/SPIRV/hex_float.h:817:39:   required from here
      ./Vulkan/glslang/SPIRV/bitutils.h:29:14: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘class spvutils::FloatProxy<spvutils::Float16>’ from an array of ‘short unsigned int’ [-Wclass-memaccess]
         std::memcpy(&dest, &source, sizeof(dest));
         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      In file included from ./Vulkan/glslang/SPIRV/SpvBuilder.cpp:49:
      ./Vulkan/glslang/SPIRV/hex_float.h:115:7: note: ‘class spvutils::FloatProxy<spvutils::Float16>’ declared here
       class FloatProxy {
             ^~~~~~~~~~
      ```
  3. 11 Sep, 2018 2 commits
  4. 10 Sep, 2018 1 commit
  5. 07 Sep, 2018 3 commits
  6. 31 Aug, 2018 4 commits
  7. 30 Aug, 2018 5 commits
  8. 27 Aug, 2018 1 commit
    • tooling: Fix update sources script for Python 3 · 0cb8ad55
      Karl Schultz authored
      This one small change allows the update_glslang_sources.py script to operate correctly with Python 2 and Python 3.
      
      Change the string literal type to "bytes" so that it matches the type returned by the subprocess calls.  Otherwise, under Python 3, the search for "known-good" in the list of remotes always fails.  This is OK for the first execution of update_glsang_sources, since the remote is not there on the first run.  But on subsequent runs, the search still fails to match and the script stops when trying to create a remote that already exists.
  9. 23 Aug, 2018 3 commits
  10. 22 Aug, 2018 1 commit
  11. 20 Aug, 2018 2 commits
  12. 18 Aug, 2018 1 commit
  13. 17 Aug, 2018 2 commits
    • Merge pull request #1476 from greg-lunarg/kg24 · 09d7672d
      John Kessenich authored
      Update SPIRV-Tools known good.
    • Update SPIRV-Tools known good. · 1676e73d
      GregF authored
      Includes:
      
          Update OpPhi instructions after splitting block. (#1783)
          Don't change decorations and names in merge return. (#1777)
          Transform to combine consecutive access chains
          Handle undef literal value in vector shuffle
          Fix block ordering in dead branch elim
          Fix finding constant with particular type. (#1724)
          Fix infinite loop while folding OpVectorShuffle (#1722)
          Fix size error when folding vector shuffle. (#1721)
          Layout validation: Permit {vec3; float} tight packing
  14. 16 Aug, 2018 1 commit
  15. 14 Aug, 2018 2 commits
  16. 13 Aug, 2018 3 commits
  17. 09 Aug, 2018 4 commits