dawn-cmake/build_overrides/swiftshader.gni

27 lines
978 B
Plaintext
Raw Normal View History

# Copyright 2019 The Dawn Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# We are building SwiftShader inside Dawn
swiftshader_standalone = false
# Path to SwiftShader
swiftshader_dir = "//third_party/swiftshader"
# Paths to SwiftShader dependencies in Dawn
swiftshader_spirv_tools_dir = "//third_party/vulkan-deps/spirv-tools/src"
Roll SwiftShader from 562df4889b81 to f354daff5a2b (164 revisions) https://swiftshader.googlesource.com/SwiftShader.git/+log/562df4889b81..f354daff5a2b 2021-12-14 swiftshader.regress@gmail.com Regres: Update test lists @ 1eee6cbc 2021-12-13 srisser@google.com Regres updates deqp.json before updating testlists 2021-12-13 swiftshader.regress@gmail.com Regres: Update test lists @ 592d413e 2021-12-13 swiftshader.regress@gmail.com Regres: Update test lists @ 592d413e 2021-12-10 capn@google.com Refactor image sample normalization 2021-12-10 capn@google.com Report depth and multi-plane UNORM formats as unsigned normalized 2021-12-10 swiftshader.regress@gmail.com Regres: Update test lists @ 4c62980d 2021-12-10 cwallez@chromium.org Suppress -Wdeprecated-declarations in Subzero's LLVM 2021-12-10 capn@google.com Implement VK_KHR_vulkan_memory_model 2021-12-09 capn@google.com Update vk::Stringify() structure handling 2021-12-09 sugoi@google.com Fix using XCB with odd width 2021-12-09 capn@google.com Implement VK_EXT_format_feature_flags2 2021-12-09 andre.kempe@arm.com [pac] Add a specific flag for enabling PAC only 2021-12-09 capn@google.com Simplify scaling of 16-bit sampled texel components 2021-12-09 capn@google.com Remove OpenGL ES targets from the CMake build 2021-12-09 capn@google.com Remove the ANGLE submodule 2021-12-08 capn@google.com Refactor active blend factor determination 2021-12-08 capn@google.com Refactor active blend operation determination 2021-12-08 capn@google.com Fix passthrough blend operations 2021-12-08 capn@google.com Report input attachment usage capability for surface images 2021-12-08 capn@google.com Report storage usage capability for surface images 2021-12-07 cwallez@google.com Bump maxUniformBufferRange 2^14 to 2^16 2021-12-03 capn@google.com Skip building SPIRV-Tools executables 2021-12-03 kramerb@google.com Move swiftshader off deprecated llvm::IRBuilder APIs 2021-12-03 swiftshader.regress@gmail.com Regres: Update test lists @ a465cca8 2021-12-03 capn@google.com Unpack 1010102 formats into upper 16-bit components 2021-12-02 nicolascapens@google.com Add bclayton to OWNERS 2021-12-02 swiftshader.regress@gmail.com Regres: Update test lists @ f9c39655 2021-12-02 capn@google.com Update SPIR-V Tools to c75a1a46f 2021-12-02 srisser@google.com Expose support for VK_KHR_swapchain_mutable_format 2021-11-30 capn@google.com Prevent exit-time destructors in src/WSI, Pipeline, and System 2021-11-30 capn@google.com Update SPIR-V Tools to d0a827a9f 2021-11-30 capn@google.com Update SPIR-V Headers to 20b02de99 2021-11-30 capn@google.com Don't handle vendor-specific SPIR-V instructions 2021-11-30 capn@google.com Don't consider OpType* instructions to be statements 2021-11-30 capn@google.com Eliminate SpirvShaderInstructions.inl 2021-11-26 capn@google.com Statically allocate function pointer tables for libXCB 2021-11-26 capn@google.com Statically allocate function pointer tables for libX11 2021-11-26 capn@google.com Refactor libXCB and libX11 wrappers 2021-11-26 ari.suonpaa@siru.fi Fix component normalization for texture gather 2021-11-25 sugoi@google.com Make Win32SurfaceKHR::present() more robust 2021-11-24 capn@google.com Assert that casting memory sizes to 32-bit doesn't overflow 2021-11-24 capn@google.com Use size_t for methods returning memory sizes 2021-11-24 capn@google.com Add a GN build option for the startup dialog 2021-11-23 capn@google.com Regres: Update test lists @ 9e727fad 2021-11-22 capn@google.com Assert that the descriptor set is not null 2021-11-22 capn@google.com Implement Assert() for Reactor 2021-11-22 ari.suonpaa@siru.fi Fix green bits for R5G6B5_UNORM_PACK16 2021-11-19 sugoi@google.com Make line stipple related tests pass 2021-11-19 capn@google.com Run clang-format-all.sh as a Bash script 2021-11-19 swiftshader.regress@gmail.com Regres: Update test lists @ 210fe010 2021-11-19 capn@google.com Update testslists to match the dEQP revision 2021-11-18 swiftshader.regress@gmail.com Regres: Update test lists @ 4c687cc2 2021-11-18 ari.suonpaa@siru.fi Fix border color when sampling normalized texture formats 2021-11-18 srisser@google.com Regres fetches HEAD and truncates deqp.json 2021-11-17 swiftshader.regress@gmail.com Regres: Update test lists @ e068963d 2021-11-17 capn@google.com Add support for VK_FORMAT_B8G8R8A8_UNORM|SRGB as storage image formats 2021-11-16 swiftshader.regress@gmail.com Regres: Update test lists @ f0e8ec2d 2021-11-15 capn@google.com Implement shaderStorageImageWriteWithoutFormat support 2021-11-15 capn@google.com Perform image write from a static function 2021-11-15 capn@google.com Support writing to storage images with packed formats 2021-11-15 capn@google.com Provide StorageImageDescriptor with an image view identifier 2021-11-15 capn@google.com Make GetTexelAddress() independent from SPIR-V parsing 2021-11-15 srisser@google.com Detemplatize hasExtendedFeatures 2021-11-15 msisov@igalia.com Rename use_x11 to ozone_platform_x11 2021-11-15 capn@google.com Allow dereferencing of constant Reactor pointers 2021-11-15 capn@google.com Parse the OpTypeImage information into ImageInstructionSignature 2021-11-15 capn@google.com Parse OpImageTexelPointer into an ImageInstruction 2021-11-13 liyl@google.com cmake: Add VK_USE_PLATFORM_METAL_EXT for macOS builds 2021-11-13 sugoi@google.com Structure conversion cleanup 2021-11-12 sugoi@google.com Fix Xcb depth 2021-11-12 capn@google.com Produce a Visual Studio error for unreferenced local variables 2021-11-12 capn@google.com Rename ImageInstructionState to ImageInstructionSignature 2021-11-12 capn@google.com Separate the SPIR-V image and sampler as part of ImageInstruction 2021-11-12 capn@google.com Determine SPIR-V zero constants from SPIR-V binary only 2021-11-12 capn@google.com Parse OpImageRead and OpImageWrite into an ImageInstruction 2021-11-12 swiftshader.regress@gmail.com Regres: Update test lists @ 678d3931 2021-11-12 capn@google.com Make sw::Constants a member of vk::Device 2021-11-12 capn@google.com Pass the vk::Device to every routine as an extra parameter 2021-11-12 capn@google.com Split image sampling into routine lookup and function call 2021-11-11 sugoi@google.com VK_KHR_copy_commands2 support 2021-11-10 sugoi@google.com Tightly pack PlaneEquations array 2021-11-10 sugoi@google.com Fix Android.bp build after SPIRV-Headers update 2021-11-09 sugoi@google.com Follow-up 2: Fix Android.bp build after SPIRV-Tools update 2021-11-09 sugoi@google.com Follow-up: Fix Android.bp build after SPIRV-Tools update 2021-11-09 capn@google.com Associate inline sampler caches with instruction position 2021-11-09 capn@google.com Use the Vulkan format for OpImageWrite 2021-11-09 capn@google.com Simplify obtaining the type from a SPIR-V object <id> 2021-11-09 capn@google.com Treat sRGB formats as unsigned normalized 2021-11-09 capn@google.com Improve inverse blendConstant() readability 2021-11-09 capn@google.com Optimize clamping of constant blend factors 2021-11-09 capn@google.com Parse SPIR-V image instructions before code generation 2021-11-09 capn@google.com Check for valid SPIR-V <id>s by comparing against 0 2021-11-09 sugoi@google.com Fix Android.bp build after SPIRV-Tools update 2021-11-09 sugoi@google.com Add warning treated as error for missing case statement 2021-11-08 srisser@google.com Regres updates SHA and testlists after daily run 2021-11-08 sugoi@google.com Update SPIR-V shader instructions after SPIRV-Tools update 2021-11-08 swiftshader.regress@gmail.com Regres: Update test lists @ 4c6da56d 2021-11-08 sugoi@google.com Update SPIR-V Tools to 339d4475c 2021-11-08 sugoi@google.com Update SPIR-V Headers to 29817199b 2021-11-08 sugoi@google.com No format verification in SPIR-V headers and tools update scripts 2021-11-07 sugoi@google.com VK_EXT_pipeline_creation_feedback support 2021-11-07 swiftshader.regress@gmail.com Regres: Update test lists @ 70f3a0ff 2021-11-06 capn@google.com Fix min/max blend operations 2021-11-05 sugoi@google.com VK_EXT_blend_operation_advanced minimal implementation 2021-11-05 sugoi@google.com Support VK_EXT_pipeline_creation_cache_control 2021-11-05 capn@google.com Poison device memory allocations for GN MSan builds 2021-11-03 sugoi@google.com Add assert on illegal signed/unsigned blit 2021-11-02 sugoi@google.com Perform all blend operations in floating-point 2021-11-02 swiftshader.regress@gmail.com Regres: Update test lists @ 542593f0 2021-11-01 capn@google.com Implement support for VK_FORMAT_R16*_UNORM attachment formats 2021-11-01 capn@google.com Clamp blend factors and color output 2021-11-01 capn@google.com Refactor blending 2021-10-27 srisser@google.com Update git-hooks to HEAD revision 2021-10-27 srisser@google.com Revert "Make git-hooks track with origin/main" 2021-10-27 sugoi@google.com Refactor Queue::Submit to use internal structure 2021-10-26 srisser@google.com Make git-hooks track with origin/main 2021-10-25 capn@google.com Delay extension support check until instance/device creation 2021-10-21 srisser@google.com Update git-hooks to latest version 2021-10-21 sergeyu@google.com [Fuchsia] Fix Vulkan compilation 2021-10-20 swiftshader.regress@gmail.com Regres: Update test lists @ 6b700ffc 2021-10-19 srisser@google.com Add VK_KHR_shader_integer_dot_product structs 2021-10-19 swiftshader.regress@gmail.com Regres: Update test lists @ 85101b9e 2021-10-19 capn@google.com Avoid SPIR-V binary identifier clashes 2021-10-19 capn@google.com Avoid recompiling identical SPIR-V binaries 2021-10-19 capn@google.com Store the SPIR-V binary of a vk::ShaderModule in an sw::SpirvBinary 2021-10-18 sugoi@google.com Fix uninitialized memoryOwner on unused DescriptorSet 2021-10-18 sugoi@google.com Fix BC6h decoder 2021-10-18 sugoi@google.com Fix blitting of various packed formats 2021-10-18 srisser@google.com Update Vulkan headers to version 1.2.196 2021-10-15 liyl@google.com Use smart pointer for the LibX11Exports singleton 2021-10-15 swiftshader.regress@gmail.com Regres: Update test lists @ ce1449fd 2021-10-14 sugoi@google.com Fix Depth+Stencil image copy 2021-10-14 sugoi@google.com Fix blitting of compressed images 2021-10-14 sugoi@google.com Make decompression functions const 2021-10-14 srisser@google.com Remove LOG_TRAP 2021-10-13 thakis@chromium.org Disable -Wbitwise-instead-of-logical for llvm-10.0 in swiftshader 2021-10-13 swiftshader.regress@gmail.com Regres: Update test lists @ ca2ada82 2021-10-13 sugoi@google.com Fix border update when rendering to cube face 2021-10-12 capn@google.com Revert "Kokoro: Disable gcp_ubuntu builds failing to update CMake" 2021-10-12 sugoi@google.com Regres: Roll dEQP to master revision e2aeccd 2021-10-12 capn@google.com Restore zero-initialization of device memory allocations for GN builds 2021-10-09 capn@google.com Don't initialize device memory allocations in MSan builds 2021-10-08 capn@google.com Don't initialize host memory allocations in MSan builds 2021-10-08 thakis@chromium.org Disable C4244 when building LLVM for swiftshader 2021-10-07 sugoi@google.com Move ExternalMemoryHost to its own file 2021-10-07 capn@google.com Refactor DeviceMemory buffer allocation/freeing 2021-10-07 capn@google.com Rename allocation functions 2021-10-06 capn@google.com Separate device memory allocations from host allocations 2021-10-05 capn@google.com Deep copy specialization info 2021-10-05 swiftshader.regress@gmail.com Regres: Update test lists @ 70178a76 2021-10-04 capn@google.com Refactor swapchain image creation 2021-10-04 capn@google.com Increase the maximum 1D, 2D, and Cube image dimension to 16384 2021-10-04 nicolascapens@google.com Kokoro: Disable gcp_ubuntu builds failing to update CMake 2021-10-02 vadimsh@chromium.org Add realms.cfg to LUCI configs. 2021-10-01 capn@google.com Add padding to VkBuffer size to avoid access violation 2021-10-01 capn@google.com Remove the legacy GLSL ES vertex shader fuzzer 2021-10-01 capn@google.com Fix macOS build requiring Objective-C++17 compilation 2021-10-01 capn@google.com Restore zero-initialization of memory allocations 2021-09-30 capn@google.com Refactor config constants 2021-09-29 capn@google.com Don't initialize memory allocations in MSan builds 2021-09-29 yikong@google.com Fix unused-command-line-argument warning 2021-09-28 capn@google.com Regres: Skip the Vulkan Loader 2021-09-28 swiftshader.regress@gmail.com Regres: Update test lists @ 562df488 If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/swiftshader-dawn-autoroll Please CC enga@google.com on the revert to ensure that a human is aware of the problem. To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Bug: dawn:1173,dawn:1233 Tbr: enga@google.com Change-Id: I1e09cd20b010bcef8d1222ff1b1371e60ca5dc65 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/74100 Reviewed-by: Shrek Shao <shrekshao@google.com> Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>
2021-12-21 19:14:52 +00:00
# Forward to ozone_platform_x11 when inside Dawn's repository
import("../scripts/dawn_features.gni")
ozone_platform_x11 = dawn_use_x11