Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add input adapter tests #2178

Merged
merged 4 commits into from
Jun 9, 2020
Merged

Add input adapter tests #2178

merged 4 commits into from
Jun 9, 2020

Conversation

nlohmann
Copy link
Owner

@nlohmann nlohmann commented Jun 8, 2020

This PR adds tests for the new input adapter implementation from #2145.

@nlohmann nlohmann self-assigned this Jun 8, 2020
@nlohmann
Copy link
Owner Author

nlohmann commented Jun 8, 2020

@FrancoisChabot I added some tests to check all possible character types. Strangely, the UTF-16 and UTF-32 tests fail on MSVC 2015, see https://ci.appveyor.com/project/nlohmann/json/builds/33373571. Any idea on this?

@coveralls
Copy link

coveralls commented Jun 8, 2020

Coverage Status

Coverage remained the same at 100.0% when pulling ae04426 on input_adapter_tests into 28048d8 on develop.

@FrancoisChabot
Copy link
Contributor

FrancoisChabot commented Jun 8, 2020

I think I know what this is. I ran into a very similar MSVC bug years ago: Older MSVC just seem to sometimes randomly choke when invoking a constexpr function during SFINAE tests.

https://stackoverflow.com/questions/46144103/enable-if-not-working-in-visual-studio-when-using-a-constexpr-function-as-argume

in #2145, I spun off an enable_if<> test as the is_iterator_of_multibyte() function, because astyle was failing to format the inlined version correctly, which created a suspiciously similar setup to the original bug. It's not the exact same compiler version, but it's too similar to be a conicidence.

This would cause the input adapter to treat all data as UTF-8. This explains:

  1. The truncation warnings as the int16_t and int32_t gets squished into a int8_t
  2. The failing tests. Since the wide_string_input_helper is not executed at all.

So a fix would be to ditch the constexpr function and use an old-school type-based test instead.

I don't have time to draft a full PR for this right now, but the following should fix the issue if my theory is correct:

template<typename T>
struct is_iterator_of_multibyte {
   using value_type = typename std::iterator_traits<T>::value_type;
   enum {
    value = sizeof(value_type) > 1
   };
};

template<typename IteratorType>
struct iterator_input_adapter_factory<IteratorType, enable_if_t<is_iterator_of_multibyte<IteratorType>::value>>

@nlohmann
Copy link
Owner Author

nlohmann commented Jun 8, 2020

Thanks! I'll give it a try.

@nlohmann
Copy link
Owner Author

nlohmann commented Jun 8, 2020

Looks good, thank you!

@nlohmann nlohmann added this to the Release 3.8.0 milestone Jun 9, 2020
@nlohmann nlohmann merged commit 14881cf into develop Jun 9, 2020
@nlohmann nlohmann deleted the input_adapter_tests branch June 9, 2020 06:46
dj2 added a commit to google/amber that referenced this pull request Jul 6, 2020
Roll third_party/clspv/ 227e97857..b3e2b6d9d (3 commits)

google/clspv@227e978...b3e2b6d

$ git log 227e97857..b3e2b6d9d --date=short --no-merges --format='%ad %ae %s'
2020-06-24 alanbaker Update uses of LLVM (#601)
2020-06-10 alanbaker Add compile option to check switches (#600)
2020-06-09 48454132+sjw36 Builtins refactor - phase3 (#598)

Roll third_party/clspv-llvm/ b836ae24a..019660036 (3431 commits)

llvm/llvm-project@b836ae2...0196600

$ git log b836ae24a..019660036 --date=short --no-merges --format='%ad %ae %s'
2020-07-06 n.james93 [clang-tidy] Fix incorrect default option in fc3c693b61
2020-07-06 n.james93 [clang-tidy] Added alias llvm-else-after-return.
2020-05-27 dkszelethus [analyzer] Don't allow hidden checkers to emit diagnostics
2020-07-06 david.green [ARM] Adjust default fp extend and trunc costs
2020-07-05 Matthew.Arsenault GlobalISel: Move finalizeLowering call later
2020-07-05 Matthew.Arsenault AMDGPU/GlobalISel: Don't emit code for unused kernel arguments
2020-07-05 Matthew.Arsenault AMDGPU/GlobalISel: Fix hardcoded register number checks in test
2020-07-05 Matthew.Arsenault AMDGPU: Fix fixed ABI SGPR arguments
2020-07-06 Matthew.Arsenault AMDGPU/GlobalISel: Add some missing return tests
2020-07-06 llvm-dev [X86][XOP] Add XOP target vselect-pcmp tests
2020-07-06 llvm-dev Regenerate subreg liverange tests. NFC.
2020-07-06 llvm-dev Regenerate neon copy tests. NFC.
2020-05-27 dkszelethus [analyzer][NFC] Don't allow dependency checkers to emit diagnostics
2020-07-06 ntv [mlir][Vector] Add custom slt / SCF.if folding to VectorToSCF
2020-07-06 ntv [mlir][Vector] Add a VectorUnrollInterface and expose UnrollVectorPattern.
2020-07-06 esme.yi [PowerPC] Legalize SREM/UREM directly on P9.
2020-07-03 gribozavr Removed a RecursiveASTVisitor feature to visit operator kinds with different methods
2020-07-03 gribozavr Make RecursiveASTVisitor call WalkUpFrom for operators when the data recursion queue is absent
2020-07-03 gribozavr Make RecursiveASTVisitor call WalkUpFrom for unary and binary operators in post-order traversal mode
2020-07-03 gribozavr RecursiveASTVisitor: don't call WalkUp unnecessarily in post-order traversal
2020-05-29 jay.foad [TargetLowering] Improve expansion of FSHL/FSHR by non-zero amount
2020-04-03 jay.foad [TargetLowering] Improve expansion of ROTL/ROTR
2020-06-12 dkszelethus [analyzer] Force dependency checkers to be hidden
2020-07-06 sam.mccall [Support] fix user_cache_directory on mac
2020-07-06 kai.nacke [SystemZ/ZOS] Implement getMainExecutable() and is_local_impl()
2020-06-15 kai.nacke [SystemZ/ZOS] Define Endian constants for z/OS.
2020-07-06 lebedev.ri [Scalarizer] visit{Insert,Extract}ElementInst(): avoid call arg evaluation order deps
2020-07-06 david.green [ARM] Add extra extend and trunc costs for cast instructions
2020-07-03 sam.mccall [Support] Add path::user_config_directory for $XDG_CONFIG_HOME etc
2020-07-06 lebedev.ri [Scalarizer] ExtractElement handling w/ variable insert index (PR46524)
2020-07-06 lebedev.ri [Scalarizer] InsertElement handling w/ variable insert index (PR46524)
2020-07-06 lebedev.ri [Scalarizer] ExtractElement handling w/ constant extract index
2020-07-06 lebedev.ri [Scalarizer] InsertElement handling w/ constant insert index
2020-07-06 lebedev.ri [InstCombine] Lower infinite combine loop detection thresholds
2020-07-06 herhut Revert "Revert "Revert "[libcxx] Put clang::trivial_abi on std::unique_ptr, std::shared_ptr, and std::weak_ptr"""
2020-07-06 david.green [ARM] Use BaseT::getMemoryOpCost for getMemoryOpCost
2020-07-01 bevin.hansson Fix indentation in FixedPoint.h. NFC.
2020-07-06 gchatelet Fix off by one error in Bitfields
2020-07-06 gchatelet Fix 46594 - Alignment assertion failure in instcombine
2020-07-06 pavel [lldb/Utility] Merge Scalar::Get(Value)TypeAsCString
2020-07-06 marukawa [VE] Correct stack alignment
2020-07-06 pavel [lldb/DWARF] Look for complete array element definitions in other modules
2020-07-06 yedeng.yd [Coroutines] Warning if return type of coroutine_handle::address is not void*
2020-06-09 phosek [Fuchsia] Set projects and runtimes in the cache file
2020-07-02 protze [OpenMP][Tests] Flag compatibility of OpenMP runtime tests with GCC versions
2020-07-05 protze [OpenMP][OMPT] Fix ifdefs for OMPT code
2020-07-05 maskray [libomptarget][test] Fix text relocations by adding -fPIC
2020-07-05 nikita.ppv [SCCP] Add test for range metadata (NFC)
2020-07-05 maskray [Driver] Pass -gno-column-info instead of -dwarf-column-info
2020-07-04 vyng Revert "Revert "[libcxx] Put clang::trivial_abi on std::unique_ptr, std::shared_ptr, and std::weak_ptr""
(...)
2020-06-03 asudhaku [flang] Implemented 2 Semantic checks for DATA statement and fixed a few bugs
2020-06-02 jonas [lldb/Interpreter] Remove redundant argument (NFC)
2020-06-03 joker.eph Fix build: TableGen uses `is<T>` instead of `isa<T>` as predicate
2020-06-03 carl.ritson [AMDGPU] Make SGPR spills exec mask agnostic
2020-06-03 joker.eph Replace dyn_cast<>() with isa<>() when the result isn't used (NFC)
2020-06-03 joker.eph Revert "[NFC, StackSafety] Change type of internal container"
2020-06-01 jpaquette [AArch64][GlobalISel] Select zip1 and zip2
2020-06-02 kazu [JumpThreading] Simplify FindMostPopularDest (NFC)
2020-05-29 vitalybuka [NFC,MTE] Drop unneeded attribute from test
2020-05-29 vitalybuka [NFC, StackSafety] Change type of internal container
2020-05-29 vitalybuka [MTE] Move tagging in pipeline
2020-05-14 wmi [SampleFDO] Add use-sample-profile function attribute.
2020-06-02 aprantl Remove redundant code (NFC)
2020-06-02 jonas [lldb/Test] Don't use the env to pass around configuration variables (NFC)
2020-06-02 jonas [lldb/Test] Pass Make arguments in invocation instead of environment
2020-06-02 thomasraoux [mlir][spirv] Fix coop matrix getExtension
2020-06-02 thomasraoux [mlir][spirv] Fix encoding of cooperative matrix type to match SPIRV spec
2020-06-02 carrot [X86] Add a flag to guard the wide load
2020-06-02 jonas [lldb/Test] Don't use the env to pass around configuration variables (NFC)
2020-05-28 vitalybuka [MTE] Convert StackSafety into analysis
2020-06-01 vitalybuka [StackSafety] Delete useless test
2020-06-02 jkorous [Analyzer][NFC] Fix markup in WebKit checkers documentation
2020-06-02 ndesaulniers [Clang][A32/T32][Linux] -O1 implies -fomit-frame-pointer
2020-06-03 diego.caballero [mlir][Affine] Enable fusion of loops with vector loads/stores
2020-06-02 jezng [lld-macho] Fix PAGEZERO=4GB errors on Windows by ensuring enum is uint64_t
2020-06-02 echristo Undo initialization of TRI in CGP as this is unconditionally initialized later.
2020-06-02 ntv [mlir] NFC - Add AffineMinMaxOpBase getDim/SymbolOperands
2020-06-02 richard Undo removal of test for dr777.
2020-06-02 craig.topper [X86] Remove DeleteNode calls from PreprocessISelDAG. Rely on the RemoveDeadNodes call at the end.
2020-06-02 rnk [LLD] Have only one SpecificAllocator per type
2020-06-02 craig.topper [X86] Cleanup inconsistencies in our zext/sext vector patterns.
2020-06-02 richard PR23029 / C++ DR2233: Allow expanded parameter packs to follow parameters with default arguments.
2020-06-02 kadircet [llvm] Fix unused variable warning
2020-06-02 llvmgnsyncbot [gn build] Port f99d5f8c32a
2020-06-02 paulatoth [libc] Remove integration test target from check libc.
2020-06-02 23439402+HazemAbdelhafez [mlir][spirv] Add support for matrix type
2020-06-02 echristo Fix up clang-tidy warnings around null and pointers.
2020-06-02 amy.kwan1 [DAGCombiner] Combine shifts into multiply-high
2020-06-02 maskray [Driver] Add multiclass OptInFlag and OptOutFlag to simplify boolean option definition
2020-06-02 n.james93 [NFC][ASTMatchers] StringRef-ify and Twine-ify ASTMatchers tests.
2020-05-21 jezng [lld-macho] Ensure reads from nlist_64 structs are aligned when necessary
2020-05-19 jezng [lld-macho] Move all tests for erroneous inputs under invalid/
2020-05-18 jezng [lld-macho] Set __PAGEZERO size to 4GB
2020-05-18 jezng [lld-macho] Error on encountering undefined symbols
2020-05-15 jezng [lld-macho] Add some relocation validation logic
2020-06-02 douglas.yung Fix test on PS4 linux bot.
2020-06-02 tlively [WebAssembly] Eliminate range checks on br_tables
2020-06-02 jkorous [Analyzer][WebKit] Check record definition is available in NoUncountedMembers checker
2020-06-02 kamleshbhalui [RISCV-V] Provide muldi3 builtin assembly implementation
2020-06-02 tlively [WebAssembly] Improve macro hygiene in wasm_simd128.h

Roll third_party/dxc/ b7626e97e..316d802e3 (49 commits)

microsoft/DirectXShaderCompiler@b7626e9...316d802

$ git log b7626e97e..316d802e3 --date=short --no-merges --format='%ad %ae %s'
2020-07-04 python3kgae Support case when more than one function exist need to show cfg. (#3020)
2020-07-02 texr Intuitively handle space in joined option syntax (#3024)
2020-07-02 grroth Remove unused function from SROA_HLSL (#3022)
2020-07-02 ehsannas [spirv] Fix translation for SV_InstanceID. (#3011)
2020-07-02 grroth Enable warnings as errors for clang builds (#3012)
2020-07-02 jaebaek [spirv] Update SPIRV-Tools (#3015)
2020-07-01 python3kgae SROA alloca and global variable at same worklist. (#3019)
2020-07-01 grroth Avoid subprog mismatch inserting dbg value intrinsic (#3018)
2020-06-30 ehsannas [spirv] Support globals structs of Textures/Samplers (#2994)
2020-06-30 davpeix Preserve precise metadata when replacing instructions in transformations (#3010)
2020-06-29 grroth Fix remaining Clang warnings (#3008)
2020-06-29 ehsannas [spirv] Update SPIRV-Tools (#3007)
2020-06-29 texr Default to error on missing return from non-void function. (#3004)
2020-06-28 texr Avoid crash in ilist_node getPrev/getNext when Next/Prev is null (#3003)
2020-06-28 python3kgae Add button to show cfg. (#3000)
2020-06-28 texr Emit warning on unknown attribute with arguments instead of error (#2999)
2020-06-27 python3kgae Make settings.xml local to dndxc.exe. (#2998)
2020-06-26 grroth Correct break followed by additional statements (#2997)
2020-06-26 latocha.maciek [spirv] Fix incorrect opcode generation for fmod() function (#2990)
2020-06-26 grroth Enable recompile of shaders with includes in dxc (#2996)
2020-06-25 mgong Cleanup part of compiling warnings (#2903)
2020-06-24 ehsannas Update SPIRV-Tools. (#2993)
2020-06-21 31109344+adam-yang Fixed #line issues with debug info and error messages (#2991)
2020-06-19 texr Add resource rename pass, dx op overload fix (#2986)
2020-06-19 ehsannas [spirv] Update SPIRV-Tools. (#2987)
2020-06-18 python3kgae Add IDxcLangExtensions2 to set target triple. (#2981)
2020-06-17 ehsannas [spirv] Update SPIRV-Tools. (#2980)
2020-06-16 ehsannas [ci] Build on Linux using Appveyor and upload artifacts (#2978)
2020-06-16 grroth Add missing shader targets to dndxc (#2979)
2020-06-15 python3kgae Use undef to init ret value. (#2974)
2020-06-15 python3kgae Add save all button for optimize editor. (#2973)
2020-06-15 python3kgae Support case whole scope is return. (#2971)
2020-06-11 jaebaek Disable pragma in Linux build (#2960)
2020-06-11 python3kgae Structurize control flow for functions which has multiple returns. (#2968)
2020-06-10 grroth Add hidden flag to disable optimization passes (#2962)
2020-06-09 texr Use HlslDataDir for DxilConv instead of DxilConvDataDir (#2961)
2020-06-08 texr Add option to dump FileCheck input to directory for diffing (#2949)
2020-06-08 grroth Clarify assignment of undefined value to UAV (#2941)
2020-06-08 texr Write and test example library for accessing TempRegLoad/TempRegStore (#2951)
2020-06-08 texr Slightly improve dxa to print assembly errors and success/fail message (#2950)
2020-06-05 hekotas Move Dxc runtime tracing one level up so other project can use it without referencing dxilconv (#2948)
2020-06-05 hekotas Dxil container builder refactor + bug fix (#2947)
2020-06-05 ehsannas [spirv] Fix unsafe pointer access. (#2945)
2020-06-04 3507248+vcsharma Generate warning when overflow happen during const expr cast (#2942)
2020-06-03 jaebaek [spirv] handle bindless opaque array type argument passing (#2928)
2020-06-03 zineddineamazouz Missing import causing error on compilation (#2934)
2020-06-02 texr dce between dxil-remove-dead-blocks and hlsl-dxil-lower-handle-for-lib (#2940)
2020-06-02 grroth Improve location reporting for validation errors (#2938)
2020-06-02 python3kgae More fix for rewriter. (#2939)

Roll third_party/glslang/ 78a3c915a..f5ed7a69d (56 commits)

KhronosGroup/glslang@78a3c91...f5ed7a6

$ git log 78a3c915a..f5ed7a69d --date=short --no-merges --format='%ad %ae %s'
2020-07-03 marcin.slusarz Add --quiet option.
2020-07-05 ShabbyX gn: Fix dawn tests in Chromium
2020-07-05 ShabbyX gn: Fix `gn gen --check` by adding missing dependency
2020-07-03 bclayton Add GLSLANG_BUILD_PIC CMake flag
2020-07-03 ShabbyX gn: Optionally disable optimizations and HLSL
2020-07-03 bclayton Don't use add_link_options() on old CMake versions
2020-07-03 bclayton License headers: s/Google/The Khronos Group
2020-07-03 bclayton Kokoro: Correct the `build_file' path to build.sh
2020-07-02 bclayton Add config for license-checker and Kokoro scripts.
2020-07-02 bclayton Fix GLSLANG_IS_SHARED_LIBRARY define
2020-07-01 bclayton Add missing copyright headers
2020-07-02 cepheus Bump revision.
2020-07-01 cepheus SPIRV-Tools and tests: Update to location-validation in SPIRV-Tools.
2020-07-01 cepheus Tests: More broadly use automapping binding/location.
2020-07-01 bclayton Add additional licenses in use to LICENSE.txt
2020-07-01 cepheus HLSL: Catch error cases earlier, preventing a later assert.
2020-06-29 bclayton glslang: Only export public interface for SOs
2020-06-29 bclayton CMake: break up glslang into smaller static libs
2020-06-30 cepheus SPV: RelaxedPrecision: use the result precision for texture sampling.
2020-06-30 cepheus SPV: RelaxedPrecision: Generalize fix #2293 to cover more operations.
2020-06-24 e.proydakov Fixed GCC -Wunused-parameter in hlslParseables.cpp.
2020-06-29 bclayton CMake: Compile with -fPIC when building SOs
2020-06-29 bclayton CMake: Error on unresolved symbols
2020-06-29 bclayton Remove root kokoro/linux-*-cmake configs
2020-06-26 cepheus SPV: Fix #2293: keep relaxed precision on arg passed to relaxed param
2020-06-26 cepheus SPV: Partially address #2293: correct "const in" precision matching.
2020-06-25 lriki.net Add pack_matrix test
2020-06-12 lriki.net HLSL: Fix #pragma pack_matrix(row_major) not work on global uniforms
2020-06-24 bclayton Kokoro: Split linux cmake cfgs into static/shared
2020-06-23 e.proydakov Fixed msvc 2019 nmake compiler warnings with RTTI. By default cmake generates cxx_flags with `/GR` parameter. I updated CMAKE_CXX_FLAGS string and replaced `/GR` -> `/GR-`
2020-06-22 gleese Update test expected files with new magic number
2020-06-22 gleese Update SPIR-V generator version
2020-06-05 gleese Update test results to expect OpFUnordNotEqual
2020-06-05 gleese Use OpFUnordNotEqual for floating-point !=
2020-06-22 johnkslang Update README.md
2020-06-19 bclayton Add kokoro configs for android-ndk and cmake
2020-06-19 bclayton Switch ndk_test from gnustl_static to c++_static
2020-06-17 ShabbyX Add -g0 command line argument
2020-06-16 cepheus Build: use better MSVC subfolder names for the previous build changes.
2020-06-16 cepheus Bump version numbers.
2020-06-16 bclayton Move hlsl/ source to glslang/HLSL/
2020-06-16 cepheus Bump version.
2020-06-15 bclayton CMake: Fold HLSL source into glslang
2020-06-15 dj2 Remove unused variable. (#2273)
2020-06-15 rharrison Remove unused function, BaseTypeName (#2272)
2020-06-15 cepheus HLSL: Remove support for having GLSL versions of HLSL intrinsics.
2020-06-15 rdb HLSL: Fix incorrect case in name of DX9-style cube sampler type (#2265)
2020-06-10 bclayton C Interface: Split SPIR-V C interface to own file
2020-06-11 bclayton Fix signed / unsigned mismatch warning (#2266)
2020-06-10 cepheus Bump code gen version, due to removal of OpEntryPoint operands.
2020-06-10 cepheus Fix #2264: OpEntryPoint incorrectly including function parameters.
2020-06-09 rharrison Use correct type for var storing returned value (#2263)
2020-06-09 lryer Fix xfb stride limit issue (#2088)
2020-06-04 laddoc Add Shared/Std140 SSBO process & top-level array elements related (#2231)
2020-06-04 apinheiro spirv: Support initializers on uniforms (#1588)
2020-06-03 47594367+rg3igalia Add SPIR-V capabilities needed for spec constants (#2199)

Roll third_party/googletest/ 859bfe898..356f2d264 (26 commits)

google/googletest@859bfe8...356f2d2

$ git log 859bfe898..356f2d264 --date=short --no-merges --format='%ad %ae %s'
2020-07-01 absl-team Googletest export
2020-06-26 absl-team Googletest export
2020-06-25 absl-team Googletest export
2020-06-24 absl-team Googletest export
2020-06-24 absl-team Googletest export
2020-06-19 mayur.shingote Updated googletest issue tracker url.
2020-06-17 absl-team Googletest export
2020-06-15 absl-team Googletest export
2020-06-12 dmauro Googletest export
2020-06-10 absl-team Googletest export
2020-06-08 absl-team Googletest export
2020-06-08 absl-team Googletest export
2020-06-05 dmauro Googletest export
2020-06-10 rharrison Fix build issue for MinGW
2020-06-04 dmauro Googletest export
2020-06-03 absl-team Googletest export
2020-06-02 absl-team Googletest export
2020-06-01 absl-team Googletest export
2020-03-07 krystian.kuzniarek make UniversalPrinter<std::any> support RTTI
2020-03-07 krystian.kuzniarek specialize UniversalPrinter<> for std::any (without support for RTTI)
2020-03-07 krystian.kuzniarek specialize UniversalPrinter<> for std::optional
2020-03-07 krystian.kuzniarek specialize UniversalPrinter<> for std::variant
2020-03-21 ngompa13 Set the version for the libraries
2020-02-21 nini16041988-gitbucket Add missing call for gtest_list_output_unittest_ unitTest. Add unitTest for fixed TEST_P line number. Use CodeLocation TestInfo struct.
2020-02-18 nini16041988-gitbucket Fix: shadow member
2020-02-18 nini16041988-gitbucket Add correct line number to TEST_P test cases for gtest_output.

Roll third_party/json/ 456478b3c..fbec662af (252 commits)

nlohmann/json@456478b...fbec662

$ git log 456478b3c..fbec662af --date=short --no-merges --format='%ad %ae %s'
2020-06-14 mail 🔖 set version to 3.8.0
2020-06-14 mail 👥 update contributor list
2020-06-10 tanujgarg208 added fuzzing with different values to default argument in to_ubjson method
2020-06-09 mail 🙈 ignore __pycache__ directory
2020-06-09 mail 🚨 fix a maybe-uninitialized warning
2020-06-08 mail 🏁 fix for MSVC (see nlohmann/json#2178 (comment))
2020-06-07 mail ✅ add test for character types
2020-06-07 mail ✅ add test for character types
2020-06-07 mail 🚨 fix warnings
2020-06-07 mail 📝 add example link for swap function
2020-06-07 mail 📝 add documentation and example for accept function
2020-06-07 mail 🏁 fix MSVC 2015 compilation
2020-06-07 mail 🚑 hotfix for #2177
2020-06-06 mail 🚨 fix warnings
2020-06-05 mail 🚨 fix warning
2020-06-05 chenguopingdota recover original blank line
2020-06-05 chenguopingdota undo: remove comment
2020-06-04 mail 📝 add page on parsing and exceptions
2020-06-03 mail 👥 update contributor list
2020-06-03 mail 🔥 remove Code Inspector
2020-06-03 mail 👷 add Code Inspector via GitHub Action
2020-06-03 mail 👷 add Code Inspector via GitHub Action
2020-06-03 niels.lohmann 🔨 fix doxygen link
2020-06-03 niels.lohmann 🔨 fix Doxygen link
2020-06-02 chenguopingdota fix test case in PR#1006
2020-06-02 chenguopingdota add comment about PR#1006
2020-06-01 chenguopingdota add test case
2020-05-30 chenguopingdota fix bug in issue#1972
2020-05-30 14265316+TotalCaesar659 Update URLs to HTTPS
2020-05-28 francois minor readme correction
2020-05-28 francois changed macro order to satisfy clang
2020-05-28 francois fix inconsistent fwd declaration
2020-05-28 francois use correct deprecation macro
2020-05-28 francois brought back the from_*(ptr, len) syntax with a deprecation warning
2020-05-28 francois cleaned up custom iterator example
2020-05-28 francois amalgamate
2020-05-28 francois use the correct convention for boolean operators
2020-05-28 mail 👥 update contributor list
2020-05-28 mail 🔧 add more warning flags from GCC 10
2020-05-28 mail 👷 fix -DJSON_BuildTests=On parameter placement
2020-05-28 mail 🔧 add more warning flags from GCC 10
2020-05-28 francois removed clang-format
2020-05-28 francois added custom input to readme
2020-05-28 francois better parse documentation
2020-05-28 francois misc formatting fixes
2020-05-27 francois forcefully exclude arrays from being interpreted as pointers
2020-05-27 francois correct ADL lookup of arrays on Mac and Windows
2020-05-27 francois reamalgamate
2020-05-27 francois unified input API
2020-05-27 quentin.barbarat readme: fix typo in CMake FetchContent example
(...)
2020-04-02 3sz3tt+git Fix build error
2020-04-02 3sz3tt+git Fixes #1971 (memory leak in basic_json::push_back)
2020-03-25 magamig Update LICENSE.MIT
2020-03-25 chenguopingdota update array_index() and add testcases
2020-03-25 chenguopingdota docs:modify the document about operator==
2020-03-24 gareth.sylvester-bradley PR for #2006 to test in AppVeyor.
2020-03-23 chenguopingdota move the catch of std::invalid_argument into array_index()
2020-03-23 chenguopingdota fix C26451 warnning in serializer.hpp for VS2019
2020-03-23 chenguopingdota fix C26451 warnnings in to_chars.hpp
2020-03-21 myasnikov.alexander.s fix error 'setw' is not a member of 'std' in Wandbox example
2020-03-19 S.Linev Use array_idx as methods args
2020-03-19 mail 💰 add sponsor
2020-03-17 chenguopingdota catch exceptions for json_point : /xx/+99
2020-03-14 chenguopingdota fix typo
2020-03-11 S.Linev Rename argument array_index to array_indx in json_pointer methods
2020-03-10 alex README: Fix string representation of `dump`ed `json`
2020-03-02 francois removed move assignments from input adapters
2020-02-28 francois added back forward declaration to address warnings
2020-02-26 chenguopingdota fix typo in examples
2020-02-20 francois simpler endian detection for older gcc versions
2020-02-19 francois accomodate older gcc
2020-02-19 francois fixed missing return arg of operator=()
2020-02-19 francois duck-typed object input adapters
2020-02-19 francois fixed bad friend class declaration
2020-02-19 francois templated input adapters
2020-02-17 50514813+dota17 Update README.md
2020-02-15 mail 🏗️ replace is_pod by is_trivial
2020-02-10 50514813+dota17 Update README.md : add a FAQ about memory release
2020-02-02 coeur Some typos
2020-01-29 davelee.com Fix link to parse function in README
2020-01-29 johanneskrafft Updated links to hunter repo & docs
2020-01-21 142265+Klaim Formatting
2020-01-20 142265+Klaim Adds instruction for using Build2's package manager
2020-01-18 pauljurczak Update README.md
2020-01-15 mail 📝 fix typo #1903
2020-01-12 mail 📝 fix scanner documentation
2019-12-16 sonulohani Fix warning: ignoring return value
2019-12-15 mail 💰 add sponsor section
2019-12-01 kmartinho8 style: format readme
2019-12-01 kmartinho8 revert: adding conan badge
2019-11-29 kmartinho8 docs: add central repository as conan source to readme
2019-11-23 konstantin README: Package in MSYS2 renamed to nlohmann-json
2019-11-22 mail 📝 add badges
2019-11-22 mail 👥 add GitHub Sponsors
2019-11-22 mail 📝 add Xocde 11.2.1 to CI list
2019-11-21 mail 👷 add Xcode 11.2.1
2019-11-19 michael.balszun Remove unnecessary warning suppressions in test cmake file
2019-11-19 michael.balszun Use correct accumulator type in binary_writer if size_t != ul
2019-11-18 tridacnid Update tests that generate CMake projects to use the CMAKE_CXX_COMPILER the main project was CMake'd with. Fixes #1747.
2019-09-10 hubert make CMake's version config file architecture-independent

Roll third_party/lodepng/ 486d165ed..34628e89e (5 commits)

lvandeve/lodepng@486d165...34628e8

$ git log 486d165ed..34628e89e --date=short --no-merges --format='%ad %ae %s'
2020-06-15 singh.arshdeep1999 Transfered Fuzz Dictionary to Oss-fuzz repository
2020-06-14 singh.arshdeep1999 Added Fuzzer Options file
2020-06-12 singh.arshdeep1999 Removed Seed and improved Fuzzer's color selection
2020-06-12 singh.arshdeep1999 Removed Extra Seed Corpus png files.
2020-06-11 singh.arshdeep1999 Fixed Fuzzer, added Seed Corpus and Dictionary

Roll third_party/spirv-tools/ 636f449e1..bd2a9ea85 (37 commits)

KhronosGroup/SPIRV-Tools@636f449...bd2a9ea

$ git log 636f449e1..bd2a9ea85 --date=short --no-merges --format='%ad %ae %s'
2020-07-03 vasniktel spirv-fuzz: TransformationInvertComparisonOperator (#3475)
2020-07-02 vasniktel Fix regression (#3481)
2020-07-02 vasniktel spirv-fuzz: Add fuzzerutil::FindOrCreate* (#3479)
2020-06-30 vasniktel spirv-fuzz: Add FuzzerPassAddCopyMemoryInstructions (#3391)
2020-06-30 vasniktel spirv-fuzz: Add one parameter at a time (#3469)
2020-06-29 jaebaek Fix ADCE pass bug for mulitple entries (#3470)
2020-06-26 ehsannas Add gl_BaseInstance to the name mapper. (#3462)
2020-06-26 andreperezmaselco.developer Implement the OpMatrixTimesScalar linear algebra case (#3450)
2020-06-25 jaebaek Clear debug information for kill and replacement (#3459)
2020-06-25 alanbaker Validate location assignments (#3308)
2020-06-23 ehsannas Support OpCompositeExtract pattern in desc_sroa (#3456)
2020-06-23 vasniktel spirv-fuzz: Implement FuzzerPassAddParameters (#3399)
2020-06-23 vasniktel spirv-fuzz: Add GetParameters (#3454)
2020-06-23 vasniktel spirv-fuzz: Permute OpPhi instruction operands (#3421)
2020-06-22 rharrison Add support for different default/trunks in roll-deps (#3442)
2020-06-19 jaebaek [spirv-opt] debug info preservation in ssa-rewrite (#3356)
2020-06-19 ehsannas Updated desc_sroa to support flattening structures (#3448)
2020-06-19 vasniktel spirv-fuzz: Refactor variable creation (#3414)
2020-06-19 vasniktel spirv-fuzz: Swap operands in OpBranchConditional (#3423)
2020-06-18 stevenperron Use structured order to unroll loops. (#3443)
2020-06-18 jaebaek Debug info preservation in dead branch elimination (#3425)
2020-06-17 vasniktel Add RemoveParameter method (#3437)
2020-06-17 vasniktel Fix return type (#3435)
2020-06-16 ehsannas Eliminate branches with condition of OpConstantNull (#3438)
2020-06-16 andreperezmaselco.developer spirv-fuzz: Implement vector shuffle fuzzer pass (#3412)
2020-06-16 andreperezmaselco.developer spirv-fuzz: Add replace linear algebra instruction transformation (#3402)
2020-06-15 dj2 Update access control lists. (#3433)
2020-06-13 vasniktel Fix operand access (#3427)
2020-06-12 jaebaek Debug info preservation in ccp pass (#3420)
2020-06-10 dneto Fix round trip tests that weren't instantiated (#3417)
2020-06-10 vasniktel spirv-fuzz: Add a test (#3238)
2020-06-10 vasniktel spirv-fuzz: Add support for OpSpecConstant* (#3373)
2020-06-05 vasniktel spirv-fuzz: Fix replayer bug (#3401)
2020-06-05 andreperezmaselco.developer Add value instruction condition (#3385)
2020-06-05 andreperezmaselco.developer Fix instruction function use (#3390)
2020-06-05 vasniktel spirv-fuzz: Fix regression (#3396)
2020-06-04 paulthomson Fix googletest inclusion (#3398)

Roll third_party/swiftshader/ b0c00e8dd..3121585ac (46 commits)

https://swiftshader.googlesource.com/SwiftShader.git/+log/b0c00e8dd6d4..3121585acce2

$ git log b0c00e8dd..3121585ac --date=short --no-merges --format='%ad %ae %s'
2020-07-02 sugoi ASTC Decoder: Trim unused struct members
2020-07-02 capn Fix /DEBUG:FASTLINK usage
2020-06-30 pcc Start reserving x18 by default on Android targets.
2020-06-25 srisser Fix debug assert from happening in release build
2020-06-10 capn Optimize clearing of depth and stencil images
2020-06-25 thakis mac: Add ARM64 support to swiftshader.
2020-06-22 amaiorano Kokoro: add builds with REACTOR_EMIT_DEBUG_INFO and REACTOR_EMIT_PRINT_LOCATION
2020-06-22 amaiorano Fix build when ENABLE_RR_DEBUG_INFO enabled
2020-06-22 amaiorano Make Windows Kokoro script less verbose
2020-06-22 cwallez Revert "Optimize clearing of depth and stencil images"
2020-06-11 capn Assert attachment format supports blending when blending is enabled
2020-06-10 capn Optimize copying image data for presentation
2020-06-10 capn Optimize clearing of depth and stencil images
2020-06-01 capn Assert reserved binding entries aren't accessed
2020-05-12 capn Optimize out-of-bounds checks with unsigned compare
2020-05-07 capn Replace instead of add pointer offsets when out of bounds
2020-06-15 capn Add a benchmark with multisampling enabled
2020-06-15 capn Refactor multisample benchmark support
2020-06-11 capn Implement multisample support for the triangle benchmark
2020-06-17 capn Don't assert thread_local initialization
2020-06-11 capn Ignore rasterization state pointers when rasterization is disabled
2020-06-11 capn Zero-initialize the context state and data
2020-06-15 sugoi Cleanup: using the proper Image subregion structure
2020-06-16 bclayton Squashed 'third_party/marl/' changes from 5c6c1532220..d29553a3730
2020-06-16 bclayton Squashed 'third_party/marl/' changes from c5127112545..5c6c1532220
2020-06-09 bclayton SpirvShaderDebugger: Show vector elements as xyzw
2020-06-09 bclayton SpirvShaderDebugger: Add a virtual destructor
2020-06-15 bclayton Squashed 'third_party/marl/' changes from 38c0c7a0f..c51271125
2020-06-15 bclayton Repoint marl branch from master to main
2020-06-15 bclayton SubzeroReactor: Use new marl::Scheduler::Config API.
2020-06-10 amaiorano Make rr::Print output to debugger and be stubbed
2020-06-10 sugoi Regres: Roll deqp forward to latest 1.2.1
2020-06-04 capn Validate the SPIR-V code in debug builds
2020-06-05 capn Add a triangle rendering benchmark
2020-06-10 capn Add glslang dependency to VulkanBenchmarks
2020-06-10 capn Add glslang as a submodule
2020-06-05 capn Move CMake build targets for PowerVR samples before unit tests
2020-06-01 capn Add microbenchmarks for vkCmdClear*Image
2020-06-04 capn Add back vulkan.hpp
2020-06-01 caio.oliveira Convert Vulkan headers from CRLF to LF endings
2020-06-02 ari.suonpaa Add Z mirroring support for image blit.
2020-05-26 vantablack Added reference counting for PipelineLayout objects
2020-06-02 bclayton libVulkan: Use new marl::Scheduler::Config API.
2020-03-27 bclayton Kokoro: Test LLVM 10 backend for macos
2020-06-02 bclayton Squashed 'third_party/marl/' changes from 3c643dd4c..38c0c7a0f
2020-06-02 bclayton Fix LLVM_VERSION_MAJOR for LLVM 10 on macOS

Roll third_party/vulkan-headers/ db1a98c6c..db06fce92 (4 commits)

KhronosGroup/Vulkan-Headers@db1a98c...db06fce

$ git log db1a98c6c..db06fce92 --date=short --no-merges --format='%ad %ae %s'
2020-07-04 oddhack Update for Vulkan-Docs 1.2.146
2020-06-21 oddhack Update for Vulkan-Docs 1.2.145
2020-06-15 oddhack Update for Vulkan-Docs 1.2.144
2020-06-08 oddhack Update for Vulkan-Docs 1.2.143

Roll third_party/vulkan-loader/ 006586926..a173c025f (5 commits)

KhronosGroup/Vulkan-Loader@0065869...a173c02

$ git log 006586926..a173c025f --date=short --no-merges --format='%ad %ae %s'
2020-06-09 shannon build: Update known-good files for 1.2.145 header
2020-06-19 jbeich build: include system headers last
2020-06-15 charles loader: Use MoltenVK in app bundle if found
2020-06-11 lenny loader: Fix crash in vkGetDeviceQueue2
2020-06-09 dsinclair scripts: Use named params for generator options

Roll third_party/vulkan-validationlayers/ 515b4041c..5c38b18ab (121 commits)

KhronosGroup/Vulkan-ValidationLayers@515b404...5c38b18

$ git log 515b4041c..5c38b18ab --date=short --no-merges --format='%ad %ae %s'
2020-06-10 tony gpu: Check for enabled features
2020-07-01 tony layers: Use helper to pick spirv env
2020-06-30 s.fricke tests: Fix AHB Test not covering 02251
2020-06-27 s.fricke layers: Fix YCbCr Format VUIDs
2020-06-30 tony gpu: Remove incorrect descriptor set requirement
2020-06-22 tony layers: Add more custom border color checks
2020-06-22 tony gpu: Handle destroyed pipeline layout
2020-06-23 s.fricke tests: Add VUID 00995
2020-06-23 s.fricke layers: Add VUID 00995
2020-06-21 s.fricke tests: Add External Import handleType VUIDs
2020-06-21 s.fricke layers: Add External Import handleType VUIDs
2020-06-20 s.fricke tests: Add maxExtent VUIDs
2020-06-20 s.fricke layers: Add maxExtent VUIDs
2020-06-22 szilard.papp practices: Adding test for robustBufferAccess
2020-06-22 szilard.papp practices: Adding check for robustBufferAccess
2020-06-20 s.fricke layers: Label VUID 02251
2020-06-27 s.fricke tests: Add VK_EXT_astc_decode_mode
2020-06-27 s.fricke layers: Add VK_EXT_astc_decode_mode
2020-05-25 s.fricke layers: Add HDR ASTC formats
2020-06-25 tony tests: Fix unexpected custom border color error
2020-06-29 mark chassis: Fix inadvertant StateTracker VO state-sharing
2020-06-24 rgarcia corechecks: Use all locations for samplerYcbcrConversion
2020-06-29 dev docs Add reference to the --dir option
2020-06-29 dev docs: Fix CMake update_deps/build instructions
2020-06-24 rgarcia Use conversion format in some Ycbcr conversion VUs
2020-06-25 jeremyk layers: Fix vkCmdTraceRaysKHR VUID Mixup
2020-06-22 mark docs: Update CONTRIBUTING.md with some new details
2020-06-01 mark docs: Added message limit to layer settings file
2020-06-18 mark tests: Add duplicate message limit test
2020-06-01 mark chassis: Add config steps for reading dup msg limits
2020-06-01 mark layers: Add duplicate message limit infrastructure
2020-06-23 mark corechecks: Prevent null ptr access for GetSwapchainImages
2020-06-22 lionel.g.landwerlin layers: Fix image creation checks with DRM modifiers
2020-06-18 s.fricke tests: Add RP potentialFormatFeature VUID
2020-06-14 s.fricke layers: Add RP potentialFormatFeature VUID
2020-06-23 shannon build: Change removed VUIDs to UNASSIGNED
2020-06-19 shannon build: Fix more VUID changes for 144 header update
2020-06-19 shannon build: Fix more mem barrier VUID inconsistencies
2020-06-19 shannon build: Address memory barrier VUID inconsistancies
2020-06-18 shannon build: Propogate genvk changes to `lvl_genvky.py`
2020-06-18 shannon build: Address graphics pipeline VUID changes
2020-06-15 shannon build: Address memory barrier VUID changes
2020-06-12 shannon build: Clean up VUID consistency checks
2020-06-15 shannon build: Update known-good files for 1.2.145 header
2020-06-23 mark tests: Skip DRM image format modifier test on Mock ICD
2020-06-22 szilard.papp practices: Adding test for DethBias usage
2020-06-22 szilard.papp practices: Adding check for DethBias usage
2020-06-22 szilard.papp practices: Adding test for Presentation mode
2020-06-22 szilard.papp practices: Adding check for Presentation mode
2020-06-22 mark tests: Block AndroidHardwareBufferDepthStencil on ShieldTV
(...)
2020-06-08 mark tests: Add filters for BP Android test failures
2020-06-02 mark tests: Compile best practices tests for Android
2020-06-08 mark tests: Replace setenv with private settings extension
2020-06-08 mark layers: Add private settings extension and write support
2020-06-12 s.fricke layers: Remove invalid check for AHB format
2020-06-10 szilard.papp tests: Adding test for triple buffering
2020-06-10 szilard.papp practices: Adding checks for triple buffering
2020-06-15 jmadill Fix GN header dependencies.
2020-06-15 mark tests: Add correct vuid for mem-use-after-free
2020-06-09 dorian.apanel tests: Add invalid FB image mem test
2020-06-09 dorian.apanel corechecks: Validate img mem at CreateFramebuffer time
2020-06-15 mark corechecks: Add new unassigned vuid for freed memory access
2020-06-11 s.fricke tests: Add VkImageResolve VUIDs
2020-06-05 s.fricke layers: Add VkImageResolve VUIDs
2020-06-11 mark tests: Add tests for duplicate BeginQuery calls
2020-06-11 mark corechecks: Check for active queries with same type in CB
2020-06-11 mark corechecks: Move all CmdBeginQuery vuids into struct
2020-06-11 mark corechecks: Move CmdBeginQuery vuid parameters into struct
2020-06-11 s.fricke tests: Add VUID 00827
2020-06-11 s.fricke layers: Add VUID 00827
2020-06-10 jzulauf tests: Add test case for EXTERNAL release/acquire
2020-06-10 jzulauf layers: Allow EXTERNAL release acquire in same CB
2020-06-10 souravp tests:for BuildGeometryInfoKHR
2020-06-09 souravp layers:Add missing KHR build info tracker
2020-06-09 brucedawson layers: Adjust shared_mutex usage
2020-06-09 mark chassis: Add layer settings file info to layer status message
2020-06-09 mark layers: Add collection of info for layer settings file
2020-06-10 dsinclair scripts: Use named params for generator options
2020-06-10 mark tests: Remove vk_layer_settings.txt file
2020-06-06 s.fricke tests: Add VUID 01946
2020-06-06 s.fricke layers: Add VUID 01946
2020-06-07 souravp tests:Handles new rayTracing VUID
2020-06-07 souravp layers:Misc RayTracing VUID
2020-06-06 s.fricke tests: Add VUID 00336
2020-06-06 s.fricke layers: Add VUID 00336
2020-05-14 marcin.slusarz build: detect missing SPIRV_HEADERS_INSTALL_DIR at cmake time
2020-05-14 marcin.slusarz build: SPIRV-Tools and glsllang are 2 separate projects
2020-06-01 s.fricke tests: Validate VK_KHR_multiview features
2020-05-29 s.fricke layers: Validate VK_KHR_multiview features
2020-05-21 tony gpu: Record destroy of buffers and devices
2020-06-03 mark tests: Leave handle wrapping enabled at all times
2020-05-30 s.fricke layers: Label VUID 01386 and fix log messages
2020-06-03 s.fricke tests: Add YCbCr BufferImageCopy VUID
2020-05-28 s.fricke layers: Add YCbCr BufferImageCopy VUID
2020-06-02 tony tests: Test push descriptor image layout validation
2020-05-28 tony layers: Allow validation of push descriptors
2020-05-30 s.fricke layers: Label and fix Maintenance1 VUs
2020-06-03 mark practices: Avoid null pApplicationInfo deref
2020-06-02 christophe docs: Fix link to LAYER_CONFIGURATION.md, issue #1902
2020-05-29 s.fricke layers: Add function name prefix to more logs

Created with:
  roll-dep third_party/clspv third_party/clspv-llvm third_party/cppdap third_party/dxc third_party/glslang third_party/googletest third_party/json third_party/lodepng third_party/shaderc third_party/spirv-headers third_party/spirv-tools third_party/swiftshader third_party/vulkan-headers third_party/vulkan-loader third_party/vulkan-validationlayers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants