From 644e7389b045d3dc457883aeb4585f595386ad64 Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Tue, 28 Apr 2020 16:54:25 -0400 Subject: [PATCH 1/2] Rolling 12 dependencies Roll third_party/clspv/ 4e6c283e1..1cb4511c5 (18 commits) https://github.com/google/clspv/compare/4e6c283e1542...1cb4511c5d93 $ git log 4e6c283e1..1cb4511c5 --date=short --no-merges --format='%ad %ae %s' 2020-04-27 kpet Add a do-nothing implementation of the prefetch built-in function (#573) 2020-04-27 alanbaker Update LLVM (#574) 2020-04-23 jrprice Update LLVM (#571) 2020-04-23 alanbaker Unify cmake handling for builds that use swiftshader (#570) 2020-04-22 alanbaker Remove unused variables (#569) 2020-04-21 alanbaker Fix build break from merge of #567 and #568 2020-04-21 48454132+sjw36 SPIRVProducerPass refactor - phase1.1 (#567) 2020-04-21 alanbaker Generate work dimension as a spec constant (#568) 2020-04-20 jrprice Update LLVM (#566) 2020-04-20 alanbaker Add generic support to allocate spec ids (#562) 2020-04-16 alanbaker Update LLVM (#564) 2020-04-16 48454132+sjw36 SPIRVProducerPass refactor - phase1 (#560) 2020-04-14 alanbaker Update llvm (#563) 2020-04-14 kpet Add support for shallow clones to fetch_sources.py (#557) 2020-04-08 alanbaker Update LLVM (#561) 2020-04-07 alanbaker Add a pass to strip freeze instructions (#559) 2020-04-07 alanbaker Change default of -cluster-pod-kernel-args (#554) 2020-04-07 alanbaker Handle more instcombine vector casts (#556) Roll third_party/clspv-llvm/ a2bb19ca4..395d93358 (5399 commits) https://github.com/llvm/llvm-project/compare/a2bb19ca420d...395d93358ef4 $ git log a2bb19ca4..395d93358 --date=short --no-merges --format='%ad %ae %s' 2020-04-28 Stanislav.Mekhanoshin Revert "[AMDGPU] Define special SGPR subregs" 2020-04-28 flo [LAA] Move CheckingPtrGroup/PointerCheck outside class (NFC). 2020-04-20 Stanislav.Mekhanoshin [AMDGPU] Define special SGPR subregs 2020-04-28 mtrofin [llvm][NFC] Refactor APIs operating on CallBase 2020-04-28 echristo Add StringRef include to libc benchmark. 2020-04-28 compnerd build: update libc++ as there are some bots with integrated build 2020-04-24 waltermelon [lldb-vscode] Add an option for loading core files 2020-04-28 ctetreau [SVE] Remove invalid usage of VectorType::getNumElements in Function 2020-04-28 dblaikie OpenMPOpt::RuntimeFunctionInfo::UsesMap: Use unique_ptr for values to simplify memory management 2020-04-28 dblaikie MustBeExecutedContextExplorer::InstructionIteratorMap: use unique_ptr for values in this map to simplify memory management 2020-04-28 dblaikie Attributor::ArgumentReplacementMap: Use unique_ptr to simplify memory management 2020-04-24 maskray [Support] Simplify and optimize ThreadPool 2020-04-17 maskray [ELF][PPC64] Don't perform toc-indirect to toc-relative relaxation for R_PPC64_TOC16_HA not followed by R_PPC64_TOC16_LO_DS 2020-04-15 sd.fertile [PowerPC][AIX] Pass ByVal formal args that span registers and stack. 2019-07-31 rnk [Windows] Autolink with basenames and add libdir to libpath 2020-04-28 craig.topper [X86] Update costs for truncates from less than 128-bit vectors to vXi1 on pre-avx512 targets 2020-04-22 jpaquette [AArch64][GlobalISel] Select immediate forms of compares by wiggling constants 2020-04-28 smeenai Revert "[lld-macho] Add basic symbol table output" 2020-04-28 smeenai Revert "[lld-macho] Add support for emitting dylibs with a single symbol" 2020-04-28 smeenai [MachO] Fix UB in memcpy 2020-04-28 dblaikie MustBeExecutedContextPrinter::runOnModule: Use unique_ptr to simplify/clarify ownership 2020-04-28 teemperor Revert "Recommit [libc++] Move abs and div into stdlib.h to fix header cycle." 2020-04-28 ctetreau [SVE] Update EmitSVEPredicateCast to take a ScalableVectorType 2020-04-28 jkorous [FileCollector] Lock Mutex in copyFiles 2020-04-28 craig.topper [X86] Handle more cases in combineAddOrSubToADCOrSBB. 2020-04-28 craig.topper [X86] Pre-commit tests for D78984. NFC 2020-04-28 craig.topper [X86][CostModel] Correct the costs for truncate to a mask register with avx512 2020-04-24 rnk [COFF] Add a fastpath for /INCLUDE: in .drective sections 2020-04-28 ldionne [libc++] Avoid using distutils.util in the DSL 2020-04-28 compnerd build: use Python3 for compiler-rt 2020-04-28 jonas [llvm/DebugInfo] Fix invalid verifier error for DWARF5 2020-04-28 rnk [gn build] (manually) merge c4c3883 2020-04-28 kbobyrev [clangd] Fix remote index build without shared libs mode 2020-04-28 ldionne [libc++] Temporarily disable test that fails on Windows 2020-04-24 rnk Fix .arclint on Windows 2020-04-28 erik.pilkington [AST] Fix a crash on a dependent vector_size attribute 2020-04-28 maskray [ELF] Clear lazyObjFiles in lld::elf::link after D46034 2020-04-28 ulrich.weigand [SystemZ] Avoid __INTPTR_TYPE__ conversions in vecintrin.h 2020-04-28 ulrich.weigand [SystemZ] Use reserved keywords in vecintrin.h 2020-04-28 jbcoe Revert "[clang-format] C# property formatting can be controlled by config options" 2020-04-28 jbcoe [clang-format] C# property formatting can be controlled by config options 2020-04-28 jbcoe [clang-format] insert space after C# keyword var in var (key, value) 2020-04-28 maerhart [mlir][assemblyFormat] Fix bug when using AttrSizedOperandSegments trait with only non-buildable operand types 2020-04-23 compnerd build: use `find_package(Python3)` if available 2020-04-28 lebedev.ri [InstCombine] Negator: 'or' with no common bits set is just 'add' 2020-04-28 lebedev.ri [NFC][InstCombine] Tests for negation of 'or' with no common bits set 2020-04-28 momchil.velikov [CMSE] Clear padding bits of struct/unions/fp16 passed by value 2020-02-21 francisvm [AArch64] Add support for -ffixed-x30 2020-04-28 ndesaulniers [TII] remove overrides of isUnpredicatedTerminator 2020-04-28 sander.desmalen [SveEmitter] Add builtins for logical and predicate operations. (...) 2018-02-06 pklausler [flang] Markdown improvements. 2018-02-05 pklausler [flang] Convert parser combinator documentation file to Markdown. 2018-02-05 pklausler [flang] Alphabetize and remove settings that match LLVM defaults. 2018-02-05 pklausler [flang] Rename c++style.md -> C++style.md. 2018-02-05 pklausler [flang] More Markdown fixes. 2018-02-05 pklausler [flang] More Markdown fixes. 2018-02-05 pklausler [flang] More Markdown fixes. 2018-02-05 pklausler [flang] More Markdown fixes. 2018-02-05 pklausler [flang] Fix Markdown usage. 2018-02-05 pklausler [flang] Convert c++style.txt to c++style.md. 2018-02-05 pklausler [flang] Fix #else after triggered #elif. 2018-02-05 pklausler [flang] Update .clang-format, then reformat all C++ files. 2018-02-05 pklausler [flang] Adjust indentation on public:/private: labels in class definitions. 2018-02-05 pklausler [flang] Variadic macros, __VA_ARG__ and __VA_OPT__, and use "default: CRASH_NO_CASE;" in place of prior macro. 2018-02-05 pklausler [flang] Merge branch 'master' of https://www.github.com/ThePortlandGroup/f18 2018-02-05 tkeith [flang] Add .clang-format and "make formatted" rule. 2018-02-05 pklausler [flang] C++ usage and style guide summary. 2018-02-02 pklausler [flang] More preprocessing. 2018-02-01 pklausler [flang] Predefined macros (__FILE__, __LINE__, __DATE__, __TIME__). 2018-02-01 pklausler [flang] Merge my local .gitignore with master. 2018-02-01 pklausler [flang] Merge branch 'master' of https://www.github.com/ThePortlandGroup/f18 2018-02-01 tkeith [flang] Remove line that was added by mistake 2018-01-30 tkeith [flang] Add CMakeLists.txt and .gitignore 2018-02-01 pklausler [flang] Support #if/#elif directives with Fortran/C expressions. 2018-01-30 pklausler [flang] Remove some scaffolding code that I just inadvertently committed, sorry. 2018-01-30 pklausler [flang] Preprocessor work. f18 now passes all my tests except for #if (expression) and file inclusion. 2018-01-30 pklausler [flang] Clean up: convert CharPointerWithLength into a proper class. 2018-01-30 pklausler [flang] Add temporary driver main program f2018-demo.cc. 2018-01-30 pklausler [flang] Add source.{h,cc}. 2018-01-30 pklausler [flang] Add prescan.{h,cc}. 2018-01-30 pklausler [flang] Add preprocessor.{h,cc}. 2018-01-30 pklausler [flang] Add position.{h,cc}. 2018-01-30 pklausler [flang] Add parse-tree.{h,cc}. 2018-01-30 pklausler [flang] Add message.{h,cc}. 2018-01-30 pklausler [flang] Add idioms.{h,cc}. 2018-01-30 pklausler [flang] Add Makefile. 2018-01-30 pklausler [flang] Add user-state.h. 2018-01-30 pklausler [flang] Add parse-state.h. 2018-01-30 pklausler [flang] Add indirection.h. 2018-01-30 pklausler [flang] Add grammar.h. 2018-01-30 pklausler [flang] Add format-specification.h. 2018-01-30 pklausler [flang] Add debug-parser.h. 2018-01-30 pklausler [flang] Add cooked-tokens.h. 2018-01-30 pklausler [flang] Add cooked-chars.h. 2018-01-30 pklausler [flang] Add char-parsers.h. 2018-01-30 pklausler [flang] Add basic-parsers.h. 2018-01-30 pklausler [flang] Add char-buffer.{h,cc}. 2018-01-29 pklausler [flang] Add parser-combinators.txt documentation file. 2018-01-29 pklausler [flang] Adding initial files. 2018-01-25 tkeith [flang] Add README Roll third_party/dxc/ ef73f1da8..a841ddde5 (24 commits) https://github.com/Microsoft/DirectXShaderCompiler/compare/ef73f1da8ad7...a841ddde5ac8 $ git log ef73f1da8..a841ddde5 --date=short --no-merges --format='%ad %ae %s' 2020-04-28 grroth Return error on subscript access of index vector (#2837) 2020-04-28 grroth Correct DomTree usage in memcpy lowering (#2839) 2020-04-25 mgong Fix the "unused function" warning caused by UuidStrHash (#2848) 2020-04-24 texr Fix dxr options -I, -flegacy-macro-expansion, and more (#2849) 2020-04-24 ehsannas Only upload artifacts for clang builds (#2850) 2020-04-24 ehsannas [build] Attempt to store Linux&macOS build artifacts. (#2847) 2020-04-23 python3kgae Skip copy-in/copy-out for constant global variables. (#2836) 2020-04-23 31109344+adam-yang Merge debug info for global variables lowered into local allocas. (#2846) 2020-04-22 texr Fix WriteSamplerFeedback and Gather as gradient (or not) (#2845) 2020-04-22 jeffno Missed a commit from previous PR: Check for not-an-int (#2844) 2020-04-22 ehsannas Fix cmake params for Linux build. (#2840) 2020-04-22 jeffno PIX: Annotate structs for shader debugging of MS->AS payloads (#2826) 2020-04-20 mgong Fix a couple warnings in code (#2746) 2020-04-17 jeffno Pix source-to-instruction offsets (#2835) 2020-04-17 ehsannas [spirv] Error out if numthreads is not provided for CS. (#2820) 2020-04-13 python3kgae Add -precise-output (#2827) 2020-04-10 grroth Add simplify to DxilValueCache for dx.break() (#2803) 2020-04-09 texr Skip copy of inout args when coming from function arg (#2822) 2020-04-08 texr Fix assert/corrupt PDB when NumDirectoryBlocks > 128 (#2818) 2020-04-07 jeffno Pull out PIX/DIA unit tests, preparing for more (#2815) 2020-04-03 texr Make remove-unused-globals remove non-static globals (#2809) 2020-04-03 texr Handle phi and select when collecting cbuffer usage (#2807) 2020-04-03 texr Fix failure when including debug opts with preprocess or other modes. (#2812) 2020-04-03 python3kgae Do copy-in copy-out for uint int cast. (#2813) Roll third_party/glslang/ 0b66fa3b6..f03cb290a (17 commits) https://github.com/KhronosGroup/glslang/compare/0b66fa3b62cb...f03cb290ac10 $ git log 0b66fa3b6..f03cb290a --date=short --no-merges --format='%ad %ae %s' 2020-04-27 63069047+pmistryNV Add support for extension GL_ARB_texture_query_lod. (#2194) 2020-04-28 dj2 Remove unused Es310Desktop430 (#2200) 2020-04-27 63069047+pmistryNV Add support for extension GL_ARB_shading_language_packing (#2192) 2020-04-27 cepheus Move to SPIR-V 1.5 Rev. 3, bump revision, remove a status from README. 2020-04-24 johnkslang Note about Build Status. 2020-04-24 cepheus Move to latest SPIR-V header, and bump glslang revision. 2020-04-22 63069047+pmistryNV Add support for extension GL_ARB_shader_storage_buffer_object (#2184) 2020-04-22 antidote.crk TPpToken: Fix compiling on clang-10 (#2189) 2020-04-21 mennovink20 xcode warnings fix (#2188) 2020-04-19 63069047+pmistryNV Add support for extension GL_ARB_shader_image_size (#2185) 2020-04-17 63069047+pmistryNV Add support for extension GL_ARB_shader_bit_encoding (#2183) 2020-04-13 cnorthrop Support multiple swizzled out operands (#2175) 2020-04-12 cepheus Fix #2178: Allow specialization constants for texel offsets. 2020-04-10 h.baensch.92 Get rid of all warnings with MSVC and clang-cl (#2177) 2020-04-08 40001162+alelenv Add support for EXT_ray_flags_primitive_culling. (#2173) 2020-04-07 cepheus Error message: Finish addressing #2097, better texture error message. 2020-04-03 rharrison Remove extra semicolons (#2170) Roll third_party/googletest/ 61f010d70..dcc92d0ab (10 commits) https://github.com/google/googletest/compare/61f010d703b3...dcc92d0ab6c4 $ git log 61f010d70..dcc92d0ab --date=short --no-merges --format='%ad %ae %s' 2020-04-10 absl-team Googletest export 2020-04-12 jbohl fix signed/unsigned comparison issue (on OpenBSD) 2020-04-09 malcolm.parsons Remove redundant .c_str() 2020-04-06 mail gtest-unittest-api_test - fix warning in clang build 2020-04-01 absl-team Googletest export 2020-03-28 arthur.j.odwyer Replace the last instance of `throw()` with `noexcept`. NFC. 2020-03-28 arthur.j.odwyer Fix a typo in .travis.yml 2020-03-24 pkryger Swap settimer and sigaction calls to avoid SIGPROF 2020-03-21 ngompa13 Ensure that gtest/gmock pkgconfig requirements specify version 2019-11-11 krystian.kuzniarek add documentation for the premature-exit-file protocol Roll third_party/shaderc/ f175adffa..41f271e61 (11 commits) https://github.com/google/shaderc/compare/f175adffa9d2...41f271e6139c $ git log f175adffa..41f271e61 --date=short --no-merges --format='%ad %ae %s' 2020-04-28 rharrison Rolling 5 dependencies, updating expectations, and fixing build issues (#1051) 2020-04-20 rharrison Add support for options.hlsl.nonwritable_uav_texture_as_srv (#1048) 2020-04-20 rharrison Rolling 6 dependencies and update expectations (#1047) 2020-04-14 rharrison Add warning signs about unsupported downloads (#1041) 2020-04-14 rharrison Rolling 5 dependencies and updating expectations (#1044) 2020-04-09 rharrison Remove ambiguity in comment of pointer vs Klein star for * (#1037) 2020-04-07 rharrison Add concept of comparison sampler to API (#1036) 2020-04-06 rharrison Start shaderc v2020.1 2020-04-06 rharrison Finalize shaderc v2020.0 2020-04-06 rharrison Update CHANGES 2020-04-06 rharrison Rolling 5 dependencies and updating exceptions (#1035) Roll third_party/spirv-headers/ f8bf11a02..c0df742ec (6 commits) https://github.com/KhronosGroup/SPIRV-Headers/compare/f8bf11a0253a...c0df742ec0b8 $ git log f8bf11a02..c0df742ec --date=short --no-merges --format='%ad %ae %s' 2020-04-24 cepheus Update headers to SPIR-V 1.5 Revision 3 2020-04-24 cepheus Add a bunch of missing "version" : "None" for ray tracing. 2020-04-24 cepheus Rebuild the headers with the fixed grammar file. 2020-04-24 cepheus Add missing "version" : "None" for ShaderCallKHR 2020-04-24 cepheus Grammar: The ray-tracing updates were not done in numerical ordering. 2020-04-13 cepheus Discuss generator magic number reservations. Roll third_party/spirv-tools/ e95fbfb1f..d0a87194f (31 commits) https://github.com/KhronosGroup/SPIRV-Tools/compare/e95fbfb1f509...d0a87194f7b9 $ git log e95fbfb1f..d0a87194f --date=short --no-merges --format='%ad %ae %s' 2020-04-28 jaebaek Set DebugScope for termination instructions (#3323) 2020-04-28 afdx spirv-fuzz: Do not outline regions that end with a loop header (#3312) 2020-04-27 bclayton vscode: Handle '|' chains on BitEnum / ValueEnum (#3309) 2020-04-27 jaebaek Add debug information analysis (#3305) 2020-04-27 dneto Add spvtools::opt::Operand::AsLiteralUint64 (#3320) 2020-04-27 afdx spirv-fuzz: Pass on validator options during shrinking (#3317) 2020-04-27 afdx spirv-fuzz: Clamp statically out-of-bounds accesses in code donation (#3315) 2020-04-27 afdx spirv-fuzz: Fix memory management in the fact manager (#3313) 2020-04-27 afdx spirv-fuzz: Do not replace the Sample argument in OpImageTexelPointer (#3311) 2020-04-23 afdx Allow various validation options to be passed to spirv-opt (#3314) 2020-04-23 Chaitanyas0101 typo fix: in README.md exectuable->executable (#3306) 2020-04-20 afdx spirv-fuzz: Make handling of synonym facts more efficient (#3301) 2020-04-15 stevenperron Remove unreachable code. (#3304) 2020-04-15 afdx spirv-fuzz: Fix to outliner (#3302) 2020-04-14 afdx spirv-fuzz: Do not outline regions that produce pointer outputs (#3291) 2020-04-14 afdx spirv-fuzz: Handle OpRuntimeArray when replacing ids with synonyms (#3292) 2020-04-14 afdx spirv-fuzz: Handle image storage class in donation (#3290) 2020-04-14 afdx spirv-fuzz: Respect rules for OpSampledImage (#3287) 2020-04-14 afdx spirv-fuzz: Fix comment. (#3300) 2020-04-14 stevenperron Sampled images as read-only storage (#3295) 2020-04-14 alanbaker Remove implicit fallthrough (#3298) 2020-04-14 stevenperron Add tests for recently added command line option (#3297) 2020-04-14 dneto If SPIRV-Headers is in our tree, include it as subproject (#3299) 2020-04-13 stevenperron Struct CFG analysus and single block loop (#3293) 2020-04-13 jaebaek Preserve debug info in eliminate-dead-functions (#3251) 2020-04-13 stevenperron Update acorn version (#3294) 2020-04-09 stevenperron Handle more cases in dead member elim (#3289) 2020-04-09 h.baensch.92 Fix pch macro to ignore clang-cl (#3283) 2020-04-07 afdx spirv-fuzz: Improve the handling of equation facts (#3281) 2020-04-07 afdx spirv-fuzz: Handle more general SPIR-V in donation (#3280) 2020-04-06 afdx spirv-fuzz: Improve support for compute shaders in donation (#3277) Roll third_party/swiftshader/ f99302c4e..941293d51 (116 commits) https://swiftshader.googlesource.com/SwiftShader.git/+log/f99302c4efe6..941293d512fe $ git log f99302c4e..941293d51 --date=short --no-merges --format='%ad %ae %s' 2020-04-27 amaiorano Eliminate use of Vulkan header BEGIN_RANGE/END_RANGE/RANGE_SIZE enums 2020-04-27 amaiorano Run clang-format on renamed headers 2020-04-27 amaiorano Rename Vulkan-source .h to .hpp 2020-04-27 bclayton ReactorUnitTests: Speed up multithreaded tests 2020-04-22 capn Eliminate the ABORT() macro 2020-04-24 capn Record vkCmdBindDescriptorSets() as a single command 2020-04-23 capn Store binding information in the pipeline layout 2020-04-22 capn Don't expose individual descriptor set layouts to SPIR-V compilation 2020-04-23 capn Fix ordering of descriptor set bindings 2020-04-24 bclayton SpirvShader: Document activeLaneMask() and storesAndAtomicsMask() 2020-04-24 capn Omit ASSERT() expression evaluation in Release builds 2020-04-23 bclayton SpirvShaderDebugger: Ensure frames are fully popped 2020-04-23 bclayton SpirvShaderDebugger: Implement globals, stub array types 2020-04-22 bclayton SpirvShader: Add WriteCFGGraphVizDotFile debug function 2020-04-21 pcc Don't unlock Android buffers immediately after locking them. 2020-04-20 digit LLVM: Do not map read-only data sections as executable. 2020-04-17 digit Vulkan: Add vk_icdInitializeConnectToServiceCallback() 2020-04-23 amaiorano Kokoro: fix SWIFTSHADER_LESS_DEBUG_INFO not being set 2020-04-22 digit Update tests/presubmit.sh to accept Fuchsia bugs as fxb/# 2020-04-22 capn Fix specializing graphics routines for the pipeline layout 2019-05-15 bclayton SpirvShader: Add a flag for printing SPIRV execution 2020-04-17 bclayton Regres: Write logs to /dev/null 2020-04-20 amaiorano CMake: use target_compile_options/definitions for llvm 2020-04-20 amaiorano CMake: use target_link_options 2020-04-20 amaiorano CMake: require version 3.13 2020-04-20 amaiorano Kokoro: update CMake to latest version 2020-04-17 bclayton Regres: Limit the default number of threads to 100 2020-04-15 capn Pass only descriptor data to shader execution 2020-04-16 capn Reduce descriptor binding info exposure 2020-04-22 bclayton Kokoro: Fix ubuntu bots. 2020-04-17 digit Vulkan: Fix Fuchsia external semaphore fix tryWait(). 2020-04-21 amaiorano CMake: fix astc code not being enabled correctly 2020-04-20 capn Don't use deprecated llvm::Type::getVectorNumElements() 2020-04-17 capn Fix JIT on separate thread 2020-04-03 bclayton Use Thread Safety Analysis annotations throughout SwiftShader. 2020-04-17 digit CMakeLists: Fix Fuchsia build. 2019-07-01 bclayton LLVMReactor: Drop codegenMutex, now thread safe. 2020-04-17 bclayton LLVMJIT: Remove the TargetMachine cache. 2020-04-17 bclayton LLVM 7: Set LLVM_ENABLE_THREADS to 1 2020-04-17 bclayton SpirvShader: Fix ASSERT firing in debugger 2020-04-15 digit Fix LLVM-based Arm64 build. 2020-04-17 bclayton Squashed 'third_party/marl/' changes from 539094011..748d3c161 2020-04-16 bclayton CMakeLists: Enabled more clang warnings. 2020-04-16 bclayton Device/Blitter: Initialize filter3D fields 2020-04-15 digit Fuchsia: Add LLVM 10.0 configuration headers. 2020-04-16 amaiorano CMake: fix PowerVR_Examples build 2020-04-16 amaiorano Don't fail build if Vulkan headers are different 2020-04-15 amaiorano CMake: fix add_subdirectory(SwiftShader) when CMAKE_BUILD_TYPE is set in parent project 2020-04-15 amaiorano CMake: make submodule initialization work for add_subdirectory(SwiftShader) 2020-04-15 amaiorano CMake: fix add_subdirectory(SwiftShader) (...) 2020-04-14 bclayton Device: Don't inherit [Vertex,Setup,Pixel]Processor. 2019-09-09 digit [vulkan] Implement VK_FUCHSIA_external_memory extension. 2020-04-09 capn Reuse Store logic for Modf and Frexp output parameters 2020-04-09 capn Separate Operand store logic from EmitStore() 2020-04-09 capn Only store component count in Operand 2020-04-14 capn Rename size/sizeInComponents to componentCount 2020-04-09 capn Use the type and result ID helpers 2020-04-08 capn Obtain type ID from instruction 2020-04-08 capn Add helper methods for obtaining type and result ID 2020-04-11 bclayton LLVMReactor: Replace deprecated CreateCall overload 2019-11-19 digit [cmake] Add support for CMAKE_SYSTEM_NAME == "Fuchsia" 2020-04-08 capn Rename GenericValue to Operand 2020-04-09 bclayton CMake: Fix linux build with SWIFTSHADER_BUILD_PVR 2020-04-09 bclayton Vulkan/Debug: Fix clang-10 warning 2020-04-09 bclayton third_party/cppdap: Roll forward to 4dcca577 2020-04-08 cwallez Clamp _SNORM formats to -1.0 2020-04-08 sugoi Remove debug only code limiting the number of primitives 2020-04-08 bclayton Regres: Post coverage results even if the test lists have not changed. 2020-04-07 amaiorano CMake: split out all src/OpenGL targets into their own CMakeLists 2020-04-06 amaiorano CMake: split out SwiftShader GL deps into separate files 2020-04-06 amaiorano CMake: clean up dependencies 2020-04-06 bclayton Add SystemBenchmarks. 2020-04-07 bclayton VkCommandBuffer: Remove static Cast() method 2020-04-07 bclayton Remove src/Device/Config.cpp 2020-04-07 bclayton Kokoro: Check that build files don't reference non-existent files 2020-04-07 bclayton Regres: Fix uncovered calculations after optimizations 2020-04-07 bclayton Regres: Optimize coverage processing 2020-04-07 bclayton Regres: Re-populate treeFile.allSpans on parse. 2020-04-07 bclayton Update third_party/marl/BUILD.gn with new files 2020-04-07 bclayton Squashed 'third_party/marl/' changes from 16e1dc37c..539094011 2020-04-06 bclayton Coverage: Improve uncovered visualizations 2020-04-06 sugoi Don't blend integer formats 2020-04-03 amaiorano Clamp GLES sine/cosine to [-1,1] 2020-04-03 sugoi Delete Plane.cpp and Plane.hpp 2020-04-04 bclayton CMake / Kokoro: Build and run system-unittests. 2020-04-04 bclayton Vulkan: Destruct the list of vk::Query in QueryPool 2020-04-03 amaiorano Really fix Android build 2020-04-03 amaiorano Fix Chromium and Android build 2020-04-03 bclayton Debug: Add missing include. 2020-04-03 bclayton Vulkan/Debug: Create a PhysicalFile if DebugSource has no content 2020-04-03 bclayton Vulkan/Debug: Always provide the dap::Source::path 2020-04-03 bclayton CMake: Don't always regenerate OpenCLDebugInfo100.h 2020-03-31 amaiorano CMake: use gtest and gmock targets 2020-03-30 amaiorano CMake: split out atsc-encoder into its own CMakeLists 2020-03-30 amaiorano CMake: clean up cppdap usage 2020-03-30 amaiorano CMake: split out Reactor into its own CMakeLists 2020-03-30 amaiorano CMake: split out boost into its own CMakeLists 2020-03-30 amaiorano CMake: split out libbacktrace into its own CMakeLists 2020-03-27 amaiorano CMake: split out subzero and llvm-subzero into their own CMakeLists 2020-04-03 bclayton Kokoro: Add the ppa:ubuntu-toolchain-r/test apt-repository Roll third_party/vulkan-headers/ 0e78ffd1d..4c19ae6b9 (5 commits) https://github.com/KhronosGroup/Vulkan-Headers/compare/0e78ffd1dcfc...4c19ae6b95e4 $ git log 0e78ffd1d..4c19ae6b9 --date=short --no-merges --format='%ad %ae %s' 2020-04-27 oddhack Update for Vulkan-Docs 1.2.139 2020-04-23 mikew Revert "Export versioned targets for CMake" 2019-11-14 rahul Export versioned targets for CMake 2020-04-07 oddhack Update for Vulkan-Docs 1.2.137 2020-04-06 devrel Update README.md with warning of pending header changes Roll third_party/vulkan-loader/ bb74deab0..3336e65e8 (18 commits) https://github.com/KhronosGroup/Vulkan-Loader/compare/bb74deab0a4d...3336e65e8801 $ git log bb74deab0..3336e65e8 --date=short --no-merges --format='%ad %ae %s' 2020-04-24 lenny loader: Check for null when creating a queue 2020-04-18 petr_kraus docs: Fix link in interface docs 2020-04-16 cwallez BUILD.gn: Generate libvulkan.so.1 on Linux 2020-04-15 charles tests: fix non-msvc windows test building 2020-04-11 charles loader: Fix deadlock introduced by preloading ICDs 2020-03-02 charles loader: Preload ICD's to speed up common path 2020-04-08 lenny build: Find headers package from external dir 2020-04-09 kpet Log debug messages with verbose severity instead of info 2020-04-08 shannon build: Update known-good for 1.2.137 header 2018-12-21 lenny tests: Update layer path test to strip empty paths 2018-12-21 lenny loader: Strip out empty search paths 2018-12-21 david.c.hubbard loader: Fix clang-format formatting issues 2018-12-21 david.c.hubbard loader: Remove duplicate search paths on posix 2019-10-20 jmadill build: Fix not finding registry path in some cases 2020-03-26 udknight docs: Improve vkNegotiateLoaderLayerInterfaceVersion's description 2020-03-21 arnfranke Add newlines to two DXGI files 2020-03-25 udknight docs: Correct one minor discrepancy in "Implicit vs Explicit Layers" 2020-04-01 lenny build: Enable building static loader on MacOS Roll third_party/vulkan-validationlayers/ 9a283ae34..a977d6557 (110 commits) https://github.com/KhronosGroup/Vulkan-ValidationLayers/compare/9a283ae3457f...a977d65576b5 $ git log 9a283ae34..a977d6557 --date=short --no-merges --format='%ad %ae %s' 2020-04-26 s.fricke tests: Fix unexpected errors for AHB test 2020-04-24 mark practices: Fix fcn names and revamp manual fcn handling 2020-04-27 tony gpu: Stop using deprecated spirv-tools var 2020-04-27 jzulauf tests: Add persitant storage for renderpass info 2020-04-27 tony practices: Don't validate swapchain memory 2020-04-09 mikes scripts: Object tracker optional handling 2020-04-23 tony practices: Fix CreateFramebuffer 2020-04-25 petr_kraus tests: Test swapchain image props 2020-04-25 petr_kraus layers: Initialize image props for a swapchain 2020-04-24 karen docs: update khronos_validation_layer.md 2020-04-24 lionel.g.landwerlin Fix validation of blended attachments on imageless framebuffers 2020-04-22 s.fricke tests: Add YCbCr Format Feature VUIDs 2020-04-22 s.fricke layers: Add YCbCr Format Feature VUIDs 2020-04-23 tony gpu: Fix promoted buffer device address 2020-04-21 s.fricke layers: Fix VUID 02023 to use image state format feature 2020-04-19 s.fricke Fix cubearray test from failing on device 2020-04-21 petr_kraus tests: Test concurrent access with vkGetDeviceQueue 2020-04-22 petr_kraus layers: Fix threading resetting counters on vkGet* 2020-04-16 mark scripts: Pick up VUIDS in comment lines 2020-04-16 mark stateless: Add comments to pick up implicit VUs in stats 2020-04-16 mark corechecks: Add comments for built-up VUIDs 2020-04-16 mark corechecks: Remove some comments that'd throw off valstats 2020-04-17 souravp tests: For VUID-VkRayTracingPipelineCreateInfoKHR-flags-03421 2020-04-17 souravp layers: Add VUID-VkRayTracingPipelineCreateInfoKHR-flags-03421 2020-04-18 petr_kraus tests: Remove mock workarounds in instanceless 2020-04-21 sam.walls practices: add null pointer check for PreCallRecordCreateInstance 2020-04-03 tony tests: Split out gpu-av and printf into their own classes 2020-04-19 git layers: add support for VK_EXT_headless_surface 2020-04-20 tony layers: Fix renderpass2 tracking 2020-04-19 s.fricke tests: Add support for VUID 02260 2020-04-19 s.fricke layers: Add support for VUID 02260 2020-04-20 jbolz layers: Fix crash when there are more blend attachments than subpass color attachments 2020-04-16 s.fricke tests: Check coverage without memory requirements 2020-04-16 s.fricke layers: Remove redundant memory checking 2020-04-19 petr_kraus tests: Fix failing TestAliasedMemoryTracking 2020-03-24 jbolz tests: Test cube image view layerCount 2020-03-24 jbolz layers: Validate cube image view layerCount 2020-04-16 souravp tests: Add new tests for VkRayTracingPipelineCreateInfo 2020-04-10 souravp layers: RayTracingPipelineCreateInfo validation 2020-04-16 s.fricke tests: Fixes crashing some Android devices 2020-04-12 git layers: fix logic error in semaphore validation 2020-04-06 s.fricke layers: Add full Format Feature tracking support 2020-04-10 tony gpu: Fix typos in debug_printf.md 2020-04-14 petr_kraus layers: Add missing skip handling to commands 2020-04-16 cwallez Fix build-gn/generate_vulkan_layers_json.py on Mac 2020-04-08 lionel.g.landwerlin Validate blending on color attachment without blending support 2020-03-03 mark scripts: Some validation-stats cleanup and update 2020-04-09 petr_kraus tests: Remove mock workarounds for vkAcquire 2020-04-09 s.fricke layers: Update AHB to Android Q and better logging 2020-04-14 mark test: Temporarily disable AHBCreateImageView test (...) 2020-04-10 charles docs: Suggest disabling validation with debug printf 2020-04-09 shannon build: Update known-good files for 1.2.137 header 2020-04-10 mark scripts: Allow clean-repo to work on empty directories 2020-04-10 mark tests: Fix rebasing error in multi-instance test 2020-04-09 mark corechecks: Stringstream can take strings natively 2020-04-09 mark layers: Removed redundant helper function 2020-04-09 mark corechecks: Normalize stringstream message output 2020-04-09 mark layers: Update FormatHandle to use stringstream 2020-04-09 mark corechecks: Fixed bad handle formats in descriptor_sets 2020-04-05 petr_kraus tests: Add multiple instance creation test 2020-04-08 petr_kraus tests: Remove MockICD workarounds in instanceless 2020-04-07 petr_kraus tests: Simplify device extension filtering 2020-04-07 petr_kraus tests: Expect VK_INCOMPLETE from pd enumeration 2020-04-04 petr_kraus tests: Remove commented code and issues 2020-03-31 petr_kraus tests: Add some instance checks 2020-04-02 petr_kraus tests: Refactor the test framework 2020-04-10 lionel.g.landwerlin Add validation for new performance query reset VUID 02863 2020-02-18 lionel.g.landwerlin Rework performance query validation 2020-02-18 lionel.g.landwerlin layers: record reset queries in state tracker 2020-04-10 lionel.g.landwerlin tests: fix incorrect/missing reset of performance queries 2020-04-09 mikes scripts: update_deps.py always pass -A on Windows 2020-04-09 mark scripts: Fix --clean-repo for read-only files 2020-04-07 mark build: Add blurb for using update_deps to change architectures 2020-04-08 s.fricke tests: Add disjoint bindImageMemory VUID 2020-04-08 s.fricke tests: Move tests to BindInvalidMemoryYcbcr 2020-04-08 s.fricke layers: Add disjoint bindImageMemory VUID 2020-04-09 s.fricke Add Documentation about writing tests 2020-04-09 mikes scripts: BP skip vkEnumerateInstanceVersion 2020-04-07 tony layers: Don't remove container contents during iteration 2020-04-07 mikes layers: Fix operator= recursion 2020-04-06 mikes layers: GCC -Wignored-qualifiers warning 2020-04-06 mikes layers: GCC -Wdeprecated-copy warning 2020-04-06 s.fricke tests: Add PhysicalDeviceFormatProperties2 for Device Profile API 2020-04-03 tony tests: Fix extraneous errors 2020-04-03 tony layers: Fix error message 2020-04-04 petr_kraus tests: Remove commented code 2020-04-02 petr_kraus tests: Refactor DeviceExtensionSupported 2020-04-02 mark chassis: Use init funcs for device val obj setup 2020-04-01 mark chassis: Use init funcs for instance val obj setup 2020-03-30 mark layers: Init validation object types in child constructors 2020-04-06 s.fricke Improve Android build documentation 2020-04-06 petr_kraus layers: Add some headers to cmake 2020-04-05 jbolz tests: Test for pAccelerationStructures objects 2020-04-05 jbolz lifetimes: Validate acceleration struture objects 2020-04-04 petr_kraus tests: Remove noop from InitSwapchain() 2020-04-05 mikew build-gn: Keep generate*.py identical across repos 2020-03-16 sam.walls tests: Add tests for Arm perfdoc check 17 2020-03-16 sam.walls practices: Add implementation of Arm perfdoc check 17 2020-03-16 sam.walls tests: Add tests for Arm perfdoc checks 12 + 13 2020-03-16 sam.walls practices: Add implementation of Arm perfdoc checks 12 + 13 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 --- CMakeLists.txt | 8 ++++---- DEPS | 24 ++++++++++++------------ src/CMakeLists.txt | 5 +++++ src/vulkan/CMakeLists.txt | 3 +++ src/vulkan/find_vulkan.cmake | 9 ++++----- 5 files changed, 28 insertions(+), 21 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a754c34f4..6d334d6e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -186,10 +186,10 @@ if(MSVC) if(NOT ${AMBER_ENABLE_SHARED_CRT}) message(STATUS "Amber: Static C runtime selected: replacing /MD* with /MT*") foreach (flag_var - CMAKE_C_FLAGS CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_RELEASE - CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_RELWITHDEBINFO - CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE - CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO) + CMAKE_C_FLAGS CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_RELEASE + CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_RELWITHDEBINFO + CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE + CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO) string(REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}") endforeach() endif() diff --git a/DEPS b/DEPS index 5c37440d4..f65469d77 100644 --- a/DEPS +++ b/DEPS @@ -9,22 +9,22 @@ vars = { 'nlohmann_git': 'https://github.com/nlohmann', 'swiftshader_git': 'https://swiftshader.googlesource.com', - 'clspv_llvm_revision': 'a2bb19ca420d0801f5b9a5363dec1d7bcb829030', - 'clspv_revision': '4e6c283e15420ba6e949d44850929b8d78b45ad9', + 'clspv_llvm_revision': '395d93358ef4216d7c39d85c01a74834f66a2d38', + 'clspv_revision': '1cb4511c5d93a491e8d4397edcc0473479458f14', 'cppdap_revision': '4dcca5775616ada2796ff7f84c3a4843eee9b506', 'cpplint_revision': '26470f9ccb354ff2f6d098f831271a1833701b28', - 'dxc_revision': 'ef73f1da8ad79a42405e8c75cf7d66ed8a0bb345', - 'glslang_revision': '0b66fa3b62cb36a3bc86f5018cf92a5211b27156', - 'googletest_revision': '61f010d703b32de9bfb20ab90ece38ab2f25977f', + 'dxc_revision': 'a841ddde5ac858dca82059a4a876801c8eca2a79', + 'glslang_revision': 'f03cb290ac10414dfc96017b26ebfaee8f3afb3e', + 'googletest_revision': 'dcc92d0ab6c4ce022162a23566d44f673251eee4', 'json_revision': '456478b3c50d60100dbb1fb9bc931f370a2c1c28', 'lodepng_revision': 'e34ac04553e51a6982ae234d98ce6b76dd57a6a1', - 'shaderc_revision': 'f175adffa9d2da6ae18a5f8d54e7b5f27df0f1c2', - 'spirv_headers_revision': 'f8bf11a0253a32375c32cad92c841237b96696c0', - 'spirv_tools_revision': 'e95fbfb1f509ad7a7fdfb72ac35fe412d72fc4a4', - 'swiftshader_revision': 'f99302c4efe6f32297a619d407b4410ec3ee6412', - 'vulkan_headers_revision': '0e78ffd1dcfc3e9f14a966b9660dbc59bd967c5c', - 'vulkan_loader_revision': 'bb74deab0a4dc88ec0f6c808d4f9874e8629ce5e', - 'vulkan_validationlayers_revision': '9a283ae3457fcbcd7990b3b985a4fbaddee19925', + 'shaderc_revision': '41f271e6139ceb6a54457fb2da14571f66100a9a', + 'spirv_headers_revision': 'c0df742ec0b8178ad58c68cff3437ad4b6a06e26', + 'spirv_tools_revision': 'd0a87194f7b9a3b7659e837b08cd404ccc8af222', + 'swiftshader_revision': '941293d512fe2c3e6737554ea50802e3326c0196', + 'vulkan_headers_revision': '4c19ae6b95e44c821d5306adf94842defa57ba21', + 'vulkan_loader_revision': '3336e65e880101e28b38836733c1f02fd9214bf2', + 'vulkan_validationlayers_revision': 'a977d65576b5f0e1bd6cf7536115b355fdbdc5ba', } deps = { diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f6477b55a..d85c747aa 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -121,6 +121,7 @@ endif() if (${Vulkan_FOUND}) target_link_libraries(libamber libamberenginevulkan) + target_include_directories(libamber PRIVATE "${VulkanHeaders_INCLUDE_DIR}") endif() if (${Dawn_FOUND}) target_link_libraries(libamber libamberenginedawn) @@ -200,6 +201,10 @@ if (${AMBER_ENABLE_TESTS}) amber_default_compile_options(amber_unittests) add_test(NAME amber_unittests COMMAND amber_unittests) + if (${Vulkan_FOUND}) + target_include_directories(amber_unittests PRIVATE "${VulkanHeaders_INCLUDE_DIR}") + endif() + if(${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang") # vulkan/vulkan.h defines VK_NULL_HANDLE as 0u and that also serves as a null pointer. # Disable Clang's warning that will alwaays fire on that. This is required to build diff --git a/src/vulkan/CMakeLists.txt b/src/vulkan/CMakeLists.txt index f3a0c8de1..b633c7135 100644 --- a/src/vulkan/CMakeLists.txt +++ b/src/vulkan/CMakeLists.txt @@ -40,6 +40,9 @@ set(VULKAN_ENGINE_SOURCES add_library(libamberenginevulkan ${VULKAN_ENGINE_SOURCES}) amber_default_compile_options(libamberenginevulkan) target_include_directories(libamberenginevulkan PRIVATE "${CMAKE_BINARY_DIR}") +# Add the Vulkan include directory to the list of include paths. +target_include_directories(libamberenginevulkan PRIVATE "${VulkanHeaders_INCLUDE_DIR}") + set_target_properties(libamberenginevulkan PROPERTIES OUTPUT_NAME "amberenginevulkan" ) diff --git a/src/vulkan/find_vulkan.cmake b/src/vulkan/find_vulkan.cmake index 69d5fc943..eb6974b26 100644 --- a/src/vulkan/find_vulkan.cmake +++ b/src/vulkan/find_vulkan.cmake @@ -32,7 +32,6 @@ if (NOT ${Vulkan_FOUND}) CACHE PATH "vk_registry_dir" FORCE) set(VulkanRegistry_DIRS ${VulkanRegistry_DIR} CACHE PATH "vk_registry_dir" FORCE) - include_directories(BEFORE "${VulkanHeaders_INCLUDE_DIR}") set(VULKAN_LIB vulkan) message(STATUS "Amber: using local vulkan") endif() @@ -47,7 +46,6 @@ if (NOT ${Vulkan_FOUND}) message(STATUS "Amber: Using Vulkan header dir ${X}") list(APPEND CMAKE_REQUIRED_INCLUDES "${X}") - # Add the directory to the list of include paths, before any others. include_directories(BEFORE "${X}") CHECK_INCLUDE_FILE(vulkan/vulkan.h HAVE_VULKAN_HEADER) @@ -64,6 +62,8 @@ if (NOT ${Vulkan_FOUND}) # for the library. # TODO(dneto): Actually check for the libraries. set(Vulkan_FOUND TRUE) + set(VulkanHeaders_INCLUDE_DIR "${X}") + set(VulkanHeaders_INCLUDE_DIRS "${VulkanHeaders_INCLUDE_DIR}") endif() endif() unset(X) @@ -77,12 +77,13 @@ if (NOT ${Vulkan_FOUND}) message(STATUS "Amber: Using Vulkan header dir ${X}") list(APPEND CMAKE_REQUIRED_INCLUDES "${X}") - # Add the directory to the list of include paths, before any others. include_directories(BEFORE "${X}") if (EXISTS "${X}/vkDefs.h") set(VULKAN_CTS_HEADER TRUE) set(Vulkan_FOUND TRUE) + set(VulkanHeaders_INCLUDE_DIR "${X}") + set(VulkanHeaders_INCLUDE_DIRS "${VulkanHeaders_INCLUDE_DIR}") endif() endif() unset(X) @@ -106,8 +107,6 @@ if (NOT ${Vulkan_FOUND}) message(STATUS "Amber: Using Vulkan from Vulkan SDK at $ENV{VULKAN_SDK}") # Use the imported library target set up by find_package. set(VULKAN_LIB Vulkan::Vulkan) - # Add the Vulkan include directory to the list of include paths. - include_directories("${Vulkan_INCLUDE_DIRS}") endif() endif() endif() From 61854af623fb4a0b5a68756a0cd140f44bd92cf1 Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Wed, 29 Apr 2020 13:31:45 -0400 Subject: [PATCH 2/2] Update DEPS --- DEPS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DEPS b/DEPS index f65469d77..687bf0b62 100644 --- a/DEPS +++ b/DEPS @@ -9,8 +9,8 @@ vars = { 'nlohmann_git': 'https://github.com/nlohmann', 'swiftshader_git': 'https://swiftshader.googlesource.com', - 'clspv_llvm_revision': '395d93358ef4216d7c39d85c01a74834f66a2d38', - 'clspv_revision': '1cb4511c5d93a491e8d4397edcc0473479458f14', + 'clspv_llvm_revision': 'a2bb19ca420d0801f5b9a5363dec1d7bcb829030', + 'clspv_revision': '4e6c283e15420ba6e949d44850929b8d78b45ad9', 'cppdap_revision': '4dcca5775616ada2796ff7f84c3a4843eee9b506', 'cpplint_revision': '26470f9ccb354ff2f6d098f831271a1833701b28', 'dxc_revision': 'a841ddde5ac858dca82059a4a876801c8eca2a79',