Skip to content
Snippets Groups Projects
  1. Sep 25, 2018
  2. Sep 20, 2018
  3. Sep 19, 2018
  4. Sep 18, 2018
  5. Sep 13, 2018
  6. Sep 12, 2018
    • John Kessenich's avatar
      Merge pull request #1491 from DennisOSRM/patch-1 · f658c303
      John Kessenich authored
      Fix compiler warning emitted from GCC8
    • Dennis Luxen's avatar
      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 {
             ^~~~~~~~~~
      ```
  7. Sep 11, 2018
  8. Sep 10, 2018
  9. Sep 07, 2018
  10. Aug 31, 2018
  11. Aug 30, 2018
  12. Aug 27, 2018
    • Karl Schultz's avatar
      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.
  13. Aug 23, 2018
Loading