aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2023-02-02Add AMBER_DISABLE_WEVERYTHING and AMBER_DISABLE_WERROR options (#1013)John Bauman
New compiler versions may add additional warnings; in particular, -Weverything includes warnings that are unstable and may not be generally-applicable. To assist projects like VK-GL-CTS that may depend on old versions of amber for a long period of time, add AMBER_DISABLE_WERROR and AMBER_DISABLE_WEVERYTHING flags to allow disabling those warnings downstream. That allows those projects to be built with newer versions of clang without needing to fork amber and disable unwanted warnings.
2022-12-15Disable -Wcast-function-type-strict (#1010)dan sinclair
This CL turns off -Wcast-function-type-strict as it triggers on casts of the vulkan function pointers when casting the pointer returned by `getInstanceProcAddr`. Fixes #1009
2022-12-08Remove shader debugging from Amber (#1001)Ben Clayton
* Remove shader debugging from Amber SwiftShader was the only implementation that supported this, but has disabled this code due to lack of use. If there's no driver that supports shader debugging, then it doesn't need to exist and be maintained in Amber. If one day, we want this again, then this CL can be reverted. Fixes: #999 * Fix Kokoro build failures due to git errors About "detected dubious ownership" Co-authored-by: David Neto <dneto@google.com>
2022-09-01Require C++17 for clspv and swiftshader (#997)alan-baker
2021-09-28Update and improve android_gradle (#965)Paul Thomson
* Update CMakeLists.txt files so we can build libamber_ndk.so for Android via CMake. * `android_gradle/`: * Update Gradle version, settings, and build files to match the latest Android sample. Importantly, this removes the use of jcenter and bintray repositories, which were shut down. * Specify NDK version so that Gradle can install required native build tools automatically. * Define externalNativeBuild so Gradle can perform the Android CMake build automatically. * Replace `main` with `android_main` when building the Amber tool as a library for Android to avoid compiler warnings, and rename other Android-related symbols to avoid confusion. Fixes #964
2020-05-19Add definition for enabling RTTI (#864)Mika Väinölä
Add -DAMBER_ENABLE_RTTI for disabling the `-fno-rtti` flag for GCC and Clang. Runtime type information is needed for VK-GL-CTS due to its use of dynamic_cast.
2020-04-29Rolling 10 dependencies (#850)dan sinclair
* 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 * Update DEPS
2020-01-31Update dependencies and build for debuggerBen Clayton
Add the new third_party dependencies: • github.com/google/cppdap • github.com/nlohmann/json (required by cppdap) Add the `AMBER_ENABLE_VK_DEBUGGING` option to CMake. This builds and links `cppdap`, but is not currrently referenced in code. Rolled SwiftShader forward, and passed required CMake debugger build flags down.
2020-01-17Roll SwiftShader forward (#768)Ben Clayton
Repoint SwiftShader to 2cb1db08. Update CMake build flags after a renaming spree. SwiftShader has also moved to C++14, so set `CMAKE_CXX_STANDARD` to 14 when `AMBER_ENABLE_SWIFTSHADER` is enabled. Also use GCC 7, which can correctly compile C++14. Fixes: #763
2019-12-11Run integration tests with swiftshader (#723)dan sinclair
This CL builds swiftshader on all platforms and runs the integration tests where possible.
2019-10-24Set CMake minimum version to 3.0 (#697)Paul Thomson
This matches the minimum required by dEQP and SPIRV-Headers.
2019-09-17Add validation layers to local build. (#651)dan sinclair
This CL adds the validation layers into the local vulkan build for Amber. There is a simple shell script to setup these layers when using a debug build. Fixes #539
2019-09-10Update clspv version (#635)alan-baker
* Switch clspv-llvm to use github monorepo * update linux kokoro compiler versions * update deps * Force llvm to not use color diagnostics in the linker
2019-09-09Build fixes for updating dEQP's version of amber (#634)Ben Clayton
* CMakeLists.txt: Remove clang-only flags from gcc builds Fixes: #628 * Avoid implicit conversion of size_t to double Fixes: #628
2019-07-24Optional PNG support (#596)Jaebaek Seo
As discussed in #591, this CL sets lodepng as an optional library.
2019-07-15Support parsing OpenCL C kernels (#578)alan-baker
* New shader format: OpenCLC * Add parser tests * Build fixes for clspv * add include director * add link libraries * add macro definition * Add clspv helper for compiling Fixes #428
2019-07-15Add clspv support (#574)alan-baker
This CL adds the necessary code to build CLSPV as part of the Amber build. * Enable ASM if clspv is used
2019-05-29Avoid Vulkan-loader errors for Wayland, Xlib (#529)David Neto
2019-05-27Add HLSL support through DXC (#511)dan sinclair
This Cl adds DXC to the Amber third_party directory and enables using HLSL as the shader language in AmberScript. Fixes #34
2019-05-27/MD and /MT are truly project-wide settings (#527)David Neto
2019-05-27Add AMBER_ENABLE_SHARED_CRT option (#526)David Neto
On Windows, using this will cause Amber to build with /MD or MDd. Normally Amber builds with /MT or MTd.
2019-05-23Simplify build settings (#521)dan sinclair
This CL targets the build warnings settings to just the amber source files. This allows us to remove all the overrides needed for building third_party software.
2019-05-21Add support for building SwiftShader (#512)dan sinclair
* Build with swiftshader * Roll swiftshader
2019-03-18Enable find vulkan on Android (#381)dan sinclair
2019-03-07Build with local vulkan data if requested (#319)dan sinclair
This CL adds a flag AMBER_USE_LOCAL_VULKAN which if set when running cmake will have amber use the vulkan header and loaders out of the third_party directory. This should let amber try to build on a system without vulkan so the build can be tested on the bots.
2019-02-06[amberscript] Parse PIPELINE BIND calls for color and depth buffers (#256)dan sinclair
This CL adds parsing for the AmberScript color and depth attachments. It also updates the pipelines to create a default color or depth attachment if one is not provided.
2019-01-17Allow CTS to provide alternate vulkan.h file. (#231)dan sinclair
This CL changes the includes to allow the CTS to use vkDefs.h instead of vulkan/vulkan.h
2019-01-10Add a sample Android app (#183)Jaebaek Seo
Fixes #179
2019-01-09Lower cmake version for CTS compatibility (#215)dan sinclair
2019-01-07Fixup various build warnings. (#210)dan sinclair
This CL fixes a series of build errors due to uint8_t conversions. An option to disable building the sample app is also added.
2018-12-10Make spirv-tools, googletest and shaderc build optional (#144)dan sinclair
This CL allows spriv-tools, googletest and shaderc to be disabled at build time. (Disabling spriv-tools will also disable shaderc).
2018-11-21Match RelWithDebInfo for MSVC builds (#85)dan sinclair
Update build scripts to set the correct flags for the RelWithDebInfo build.
2018-11-20Roll DEPS; Fixup build issues. (#72)dan sinclair
Roll DEPS; Fixup build issues. This CL updates the various DEPS entries for amber and fixes up the cmake policy warning around VERSION information. The -fvisiblity=hidden flag is set to remove warnings from shaderc and glslang symbols.
2018-11-19Windows build support (#71)David Neto
Windows build support * MSVC: Ensure CRT is statically linked into executables * Use fopen_s on Windows to avoid security warning * Use std::strtoull and include its header * Use #if defined(_MSC_VER)
2018-11-09Initial commit of Amber for open sourcedan sinclair
Amber is a multi-API shader test framework. Amber lets you capture and communicate shader bugs with the fluidity and ease of a scripting flow: * No graphics API programming is required. * WIP: Supports Vulkan and [Dawn][Dawn] graphics APIs. * A single text string (or file) maps to a single graphics API pipeline test case. The text includes: * Input data, including buffers and images. * Shaders. * Expectations for the result of running the pipeline. * Shaders can be expressed in binary form (as hex), in SPIR-V assembly, or in a higher level shader language. * After executing the pipeline, result buffers and images can be saved to output files. This is not an officially supported Google product.