This is a reland of 1a57ee9d4e
Original change's description:
> Bump maxUniformBindingSize to 2^16 from 2^14
>
> This was upped in https://github.com/gpuweb/gpuweb/pull/2159
>
> Bug: dawn:1173
> Change-Id: I98d46b9b5a339280d21ddcb2ab039ce7ebce4ec3
> Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/71608
> Commit-Queue: Brandon Jones <bajones@chromium.org>
> Auto-Submit: Corentin Wallez <cwallez@chromium.org>
> Reviewed-by: Brandon Jones <bajones@chromium.org>
Bug: dawn:1173
Change-Id: Id86c6432e792a44bb231ae7778df1d38f4084f5b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/74302
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Just like for divide, FXC fails with the exact same error when
performing a modulo on a value that FXC determines to be zero. We
address it in the same way as we do for divide.
This also fixes a couple of the vk-gl-cts tests for which I manually
generated expectation files for.
Bug: tint:1083
Change-Id: Ia388bf002112afded542adb791d37e88e35a77ff
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/74220
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
This is a roll to the same revision that ANGLE uses to unblock the ANGLE roll.
e0216a5484..5e49f57a6e
$ git log e0216a548..5e49f57a6 --date=short --no-merges --format='%ad %ae %s'
2021-11-12 jmadill Fix compiliation error on Mac/Android.
2021-11-03 jmadill Suppress semicolon warning in GN.
2021-08-30 geofflang Supress a build warning.
2021-06-10 pkasting Update Chromium-side files for upstream roll
2021-04-06 cwallez BUILD.gn: Make the vulkan-headers directory overridable.
2021-02-12 shawn.p.huang change the default gn target to include vma.cpp
2021-02-03 ehmaldonado Move metadata in OWNERS files to DIR_METADATA files
2021-01-27 shawn.p.huang Add vma.cpp contains vma's implementation.
2021-01-27 shawn.p.huang Add a new target with the VmaUsage.cpp and VmaUsage.h
2020-08-26 jmadill Suppress two override suggestion warnings.
2020-06-25 thakis mac: Only call system aligned_alloc() with the 11.0+ SDK.
2020-06-25 thakis Only use system aligned_alloc on mac/ios if the SDK has them.
2020-06-25 thakis Make vulkan_memory_allocator build with the MacOSX11.0 SDK.
2020-05-05 jmadill Restore BUILD.gn.
2020-05-04 jmadill Suppress a couple more VMA warnings and update README.
2020-05-01 jmadill Update integration for use with Chromium.
2020-04-17 jonahr Modify to not depend directly on volk.
2020-04-07 jmadill Update location modifications.
2020-04-03 jmadill Fix Clang implicit fallthrough warning.
2020-04-03 jmadill Add local modifications for Vulkan Memory Allocator.
2021-11-05 adam.sawicki Documented some members of VmaVulkanFunctions to clarify which functions to fetch
2021-11-03 adam.sawicki Fixing TravisCI (Linux) CI #2
2021-11-03 adam.sawicki Fixing TravisCI (Linux) CI
2021-11-03 git Correct Haskell bindings author name
2021-11-03 git Add typedefs for virtual allocation structs in ordinary identifier namespace
2021-10-30 adam.sawicki Fixed icon of Travis CI Linux build in README
2021-10-30 adam.sawicki Fix for compilation on Linux
2021-10-30 adam.sawicki Added mention of virtual allocator to README
2021-10-30 adam.sawicki Made virtual allocations not applying VMA_DEBUG_MARGIN
2021-10-30 adam.sawicki Fixes to various bugs found during extensive testing
2021-10-30 adam.sawicki Optimized VmaBlockMetadata_Buddy - using VmaPoolAllocator to allocate nodes
2021-10-30 adam.sawicki Refactoring: Added function VmaAddStatInfoAllocation, VmaAddStatInfoUnusedRange
2021-10-30 adam.sawicki Improved VmaBlockMetadata_Buddy when used as a virtual allocator, to support allocation sizes down to 1
2021-10-30 adam.sawicki Removed VMA_MIN_FREE_SUBALLOCATION_SIZE_TO_REGISTER to simplify the code
2021-10-30 adam.sawicki Added support for VMA_VIRTUAL_BLOCK_CREATE_BUDDY_ALGORITHM_BIT
2021-10-30 adam.sawicki Changed behavior of buddy allocator to align allocation sizes to power of 2 instead of accounting the remaining space (internal fragmentation) as free
2021-10-30 adam.sawicki Added support for VMA_VIRTUAL_BLOCK_CREATE_LINEAR_ALGORITHM_BIT
2021-10-29 adam.sawicki Implemented VmaBlockMetadata_Linear::Clear
2021-10-28 adam.sawicki Preparations for adding support for alternative algorithms in virtual blocks and tests for them
2021-10-28 adam.sawicki Added documentation chapter "Virtual allocator"
2021-10-28 adam.sawicki Written documentation for API of the virtual allocator
2021-10-28 adam.sawicki Implemented vmaBuildVirtualBlockStatsString, vmaFreeVirtualBlockStatsString
2021-10-28 adam.sawicki Improvement in vmaCreateAllocator in case creation fails
2021-10-28 adam.sawicki Implemented vmaClearVirtualBlock
2021-10-28 adam.sawicki Implemented vmaCalculateVirtualBlockStats
2021-10-28 adam.sawicki Enabled more tests
2021-10-28 adam.sawicki More coding and more tests. Basic functionality is working now.
2021-10-28 adam.sawicki Essential refactoring that made the test not crashing.
2021-10-28 adam.sawicki More implementation and first tests.
2021-10-28 adam.sawicki Defined interface for virtual allocator:
2021-10-27 adam.sawicki Fixed TestInvalidAllocations
2021-10-27 adam.sawicki Necessary refactoring to prepare for virtual allocator
2021-10-21 adam.sawicki Fixing logic of VmaDefragmentationAlgorithm_Fast::PostprocessMetadata broken by #201
2021-10-18 GermanAizek Code refactor (lower scope, local var, default constructor and destructor)
2021-10-18 adam.sawicki Fixes in comments
2021-10-06 lukasz.izdebski doxygen directory fix
2021-10-06 lukasz.izdebski doxygen generation fix
2021-10-06 lukasz.izdebski Doxygen added to CMake, shader project dependency added to Sample Project
2021-09-30 danielkrupinski Replace tabs with spaces
2021-09-30 adam.sawicki Standardized line endings to LF
2021-09-29 danielkrupinski Use forwarding references with std::forward()
2021-09-22 rverschelde Remove trailing whitespace
2021-09-20 danielkrupinski Adjust VMA_MIN() and VMA_MAX() macros to work despite NOMINMAX being defined or not.
2021-09-20 adam.sawicki Little improvement in README
2021-09-20 sk Fixed issue #192 with hardcoded VK_USE_PLATFORM_WIN32_KHR
2021-08-09 adam.sawicki Change all usage of VK_ERROR_VALIDATION_FAILED_EXT to VK_ERROR_UNKNOWN or VK_ERROR_INITIALIZATION_FAILED
2021-07-29 adam.sawicki Fixes and improvements in documentation
2021-07-28 adam.sawicki Include block IDs in debug log messages
2021-07-28 adam.sawicki Minor fixes in the docs - language
2021-07-28 adam.sawicki Added documentation chapter about OpenGL interop
2021-07-28 adam.sawicki Moved main documentation text from the beginning to the end of file
2021-07-28 adam.sawicki Removed unused variable
2021-07-25 phil-el Do not fail travis build if the build directory already exists.
2021-07-23 Hindrik1997 Add include_directories to CMake to include the header files.
2021-07-21 Hindrik1997 Disable broken aligned_alloc on new versions of macOS and revert to old behaviour.
2021-07-07 adam.sawicki Fixed documentation of the new function vmaCreateBufferWithAlignment
2021-07-07 adam.sawicki Added VmaAllocatorCreateInfo::pTypeExternalMemoryHandleTypes
2021-06-28 adam.sawicki Added function vmaCreateBufferWithAlignment
2021-06-25 adam.sawicki Used range-based for loops wherever I could
2021-06-21 adam.sawicki Regenerated documentation
2021-06-21 adam.sawicki Fixed docs
2021-06-21 adam.sawicki Fixes. Left only new member VmaPoolCreateInfo::pMemoryAllocateNext.
2021-06-18 adam.sawicki Fix to online documentation
2021-06-18 adam.sawicki Added VmaPoolCreateInfo::minAllocationAlignment
2021-06-14 adam.sawicki Renamed macro VMA_DEBUG_ALIGNMENT to VMA_MIN_ALIGNMENT as there are valid use cases for it other than debugging purposes.
2020-10-23 adam.sawicki Added VmaAllocatorCreateInfo::pTypeExternalMemoryHandleTypes
2020-10-05 adam.sawicki Add VmaPoolCreateInfo::pMemoryAllocateNext
Created with:
roll-dep third_party/vulkan_memory_allocator
Change-Id: Id06b17662ff37425b5b8b7f7d1901da6d73c5260
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/74201
Commit-Queue: Austin Eng <enga@chromium.org>
Auto-Submit: Austin Eng <enga@chromium.org>
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: Loko Kung <lokokung@google.com>
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>
1ecb35c398..e0216a5484
$ git log 1ecb35c39..e0216a548 --date=short --no-merges --format='%ad %ae %s'
2021-08-30 geofflang Supress a build warning.
2021-06-10 pkasting Update Chromium-side files for upstream roll
2021-06-09 adam.sawicki Fixing Linux build on TravisCI (1)
2021-06-09 adam.sawicki Fix .gitignore to include binaries at new locations
2021-06-09 adam.sawicki Delete shader files
2021-06-09 adam.sawicki Delete binaries from old path
2021-06-09 adam.sawicki Deleted Premake
2021-06-09 adam.sawicki Regenerated documentation
2021-06-09 adam.sawicki Fixed link to include/vk_mem_alloc.h in README.md and Doxyfile
2021-06-09 adam.sawicki Moving Doxyfile to main directory
2021-06-09 adam.sawicki Added VmaVector::shrink_to_fit instead of freeMemory parameter in resize, clear, to fix compilation with VMA_USE_STL_CONTAINERS
2021-06-08 pkasting Fix clang -Wdeprecated-copy.
2021-06-02 johannesschneider Update README
2021-06-02 johannesschneider Add VMA_STATIC_VULKAN_FUNCTIONS and set VMA_DYNAMIC_VULKAN_FUNCTIONS to ON by default
2021-06-02 johannesschneider Remove macros which can be configured through CMake from VmaUsage.h
2021-06-02 johannesschneider Enable compiling with multiple processes for VmaReplay
2021-06-02 johannesschneider Add documentation of CMake options to README
2021-06-02 johannesschneider Correct README
2021-06-02 johannesschneider Link VulkanMemoryAllocator to Vulkan only if static linking is enabled
2021-06-02 johannesschneider Expose important VMA settings macros as CMake options
2021-05-31 johannesschneider Improve consistency in naming of targets and options
2021-05-31 johannesschneider Replace add_definitions with add_compile_definitions
2021-05-31 johannesschneider Move add_subdirectory for shaders and VmaReplay to the end of the file
2021-05-31 johannesschneider Only set VMA_EXAMPLE_SOURCE_FILES when building sample app
2021-05-31 johannesschneider Make target_include_directories a one line instruction
2021-05-31 johannesschneider Remove CMAKE_DISABLE_IN_SOURCE_BUILD
2021-05-31 johannesschneider Rename VmaShaders to VmaBuildExampleShaders
2021-05-31 johannesschneider Remove source_group instructions
2021-05-31 johannesschneider Show default values for CMake options in README's table
2021-05-31 johannesschneider Replace Ninja with Make as default build instruction on Linux
2021-05-28 johannesschneider Rename replay app target and shaders target
2021-05-28 johannesschneider Fix VmaReplay build
2021-05-28 adam.sawicki Fixed link in documentation
2021-05-28 johannesschneider Minor typo fixes in code comments
2021-05-28 johannesschneider Add CMake build instructions
2021-05-28 johannesschneider Fix VMA_BUILD_EXAMPLE_APP_SHADERS being ignored on Linux
2021-05-28 johannesschneider Fix missing Vulkan dependency of VmaExample
2021-05-28 johannesschneider Do not set CMAKE_RUNTIME_OUTPUT_DIRECTORY
2021-05-28 johannesschneider Make building shaders, VMA example application and VMA replay app optional
2021-05-28 johannesschneider Remove reference to MoltenVK issue 175 which is fixed now
2021-05-25 johannesschneider Add CMake support
2021-05-17 devnexen clang build warning fixes proposal
2021-05-06 petr_kraus Docs typo
2021-04-19 adam.sawicki Moved main file vk_mem_alloc.h to subdirectory include/
2021-03-11 adam.sawicki Rebuilt binaries, regenerated documentation
2021-03-11 adam.sawicki Added parsing of command line parameters and GPU selection
2021-03-11 adam.sawicki Improved macros TEST, ERR_GUARD_VULKAN
2021-03-03 adam.sawicki Optimization: custom pools are on an intrusive double linked list not sorted vector
2021-03-03 adam.sawicki Fix for compilation on Linux
2021-03-03 adam.sawicki Optimization: dedicated allocations are on an intrusive double linked list not sorted vector
(...)
2021-02-26 adam.sawicki Removed deprecated function vmaResizeAllocation
2021-02-26 adam.sawicki Sample app: Added printing information about available memory heaps nad types
2021-02-23 adam.sawicki Fixed budget management in VmaBlockVector::Allocate for cases when some of multi-page allocations fail
2021-02-23 adam.sawicki Fix in tests for AMD APU with DEVICE_LOCAL heap of only 256 MB
2021-02-22 adam.sawicki Fix for build on Linux #6
2021-02-22 adam.sawicki Fix for build on Linux #5
2021-02-22 adam.sawicki Fix for build on Linux #4
2021-02-22 adam.sawicki Fix for build on Linux #3
2021-02-22 adam.sawicki Fix for build on Linux #2
2021-02-22 adam.sawicki Fix for build on Linux
2021-02-19 adam.sawicki Internal improvement: Added counting total number of VkDeviceMemory blocks.
2021-02-19 adam.sawicki Trying to fix Travis-CI build
2021-02-18 adam.sawicki A fix in TestPool_Benchmark for GPUs with only 256 MB of DEVICE_LOCAL memory
2021-02-16 adam.sawicki Migrated Linux CI build from travis-ci.org to travis-ci.com - updated status icon in README.md
2021-02-16 adam.sawicki Updated copyright header to year 2021.
2021-02-16 adam.sawicki Minor update in README.md
2021-02-16 adam.sawicki Rebuilt binaries using Visual Studio 2019
2021-02-16 adam.sawicki Updated README.md - added RPCS3 to the list of known usages.
2021-02-15 karokidii mem_alloc: Optimize allocation conflict checking
2021-01-11 adam.sawicki Added support for VK_EXT_memory_priority
2020-12-02 ashkanaliabadi Refer to std string and stream with their fully qualified names.
2020-11-03 adam.sawicki Further improvements in documentation.
2020-11-03 adam.sawicki Improvements in documentation.
2020-11-03 adam.sawicki Fixes and clarifications in documentation
2020-10-28 rbarnes Drop trailing whitespace.
2020-10-28 rbarnes Make binary search overflow safe.
2020-10-15 adam.sawicki Minor formatting fix in documentation
2020-09-30 adam.sawicki Added Detroit: Become Human to the list of known software using this library
2020-09-30 adam.sawicki Fix std::min in VmaBlockVector::ProcessDefragmentations
2020-08-24 frank.richter Let VMA_SYSTEM_ALIGNED_FREE fall back to VMA_SYSTEM_FREE, if defined
2020-08-24 frank.richter Add vma_aligned_free() for symmetry
2020-08-24 frank.richter Make vma_aligned_alloc() functions static
2020-08-23 frank.richter Move preprocessor directives that may influence user code into implementation block
2020-08-21 ashkanaliabadi Fix misspellings.
2020-08-18 adam.sawicki Add test and documentation for resource aliasing (overlap).
2020-08-18 adam.sawicki Fix in documentation chapter "Finding out if memory is mappable"
2020-08-18 adam.sawicki Add "Atypical Games - proprietary game engine" to the list of software using this library
2020-08-10 stricmp Fix VMA_DYNAMIC_VULKAN_FUNCTIONS compilation errors when VK_NO_PROTOTYPES is defined
2020-07-27 d.korkmazturk Fix a typo in the explanation of VMA_ALLOCATION_CREATE_MAPPED_BIT
2020-07-16 adam.sawicki Fix compilation errors
2020-07-15 adam.sawicki Replace usage of old VK_LAYER_LUNARG_standard_validation and extension VK_EXT_debug_report with new VK_LAYER_KHRONOS_validation and extension VK_EXT_debug_utils also in VmaReplay
2020-07-15 adam.sawicki Replace usage of old layer VK_LAYER_LUNARG_standard_validation and extension VK_EXT_debug_report with new layer VK_LAYER_KHRONOS_validation and extension VK_EXT_debug_utils
2020-06-25 thakis mac: Only call system aligned_alloc() with the 11.0+ SDK.
2020-06-25 thakis Only use system aligned_alloc on mac/ios if the SDK has them.
2020-06-25 thakis Fix argument order for aligned_alloc on mac.
2020-06-25 thakis Make vulkan_memory_allocator build with the MacOSX11.0 SDK.
2020-07-06 adam.sawicki Improvement in VmaAlignUp, VmaAlignDown
2020-07-03 greenfoxlight.42 Correct if in mapping example
2020-06-24 adam.sawicki Clarify documentation of VmaAllocationInfo::size
2020-06-24 adam.sawicki Add assert to check success of a CPU memory allocation
Created with:
roll-dep third_party/vulkan_memory_allocator
Change-Id: I6c4ebc4db8dd5e6bbada2e2a134e439a1d5c8ab5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73820
Auto-Submit: Austin Eng <enga@chromium.org>
Reviewed-by: Shrek Shao <shrekshao@google.com>
Commit-Queue: Shrek Shao <shrekshao@google.com>
Also ensure correct paramter ordering: bias is always after offset.
Bug: tint:1351
Change-Id: I41ee66b86cd9d912f3857e5377b660c50d035c6e
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/73720
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
FXC fails to compile when it determines that the rhs of an integral
division is zero with "error X4010: Unsigned integer divide by zero".
bclayton's fix (https://dawn-review.googlesource.com/c/tint/+/60500)
addressed cases for division by an integer constant 0. This CL adds the
missing support for division by integral vectors with 0 components.
FXC also fails on division by integral expressions that it can fold to
0. To handle these cases, we now emit a runtime check for 0 and replace
by 1. In the cases I've tested, FXC seems able to optimize these checks
away.
Bug: tint:1083
Change-Id: I02f08e9077882f03c1e42b62dacb742a48fa48ba
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/73580
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: David Neto <dneto@google.com>
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
This patch sets 'is_wire_transparent' on the structures whose members
are all wire transparent and are not pointers, so that we can use
memcpy when serializing and deserializing these structures:
- GPUBlendComponent
- GPUColor
- GPUExtent3D
- GPULimits
- GPUOrigin3D
- GPUStencilFaceState
- GPUVertexAttribute
- GPUBlendState
In the next patch we will support memcpy on the qualified structures
whose members contain pointers (e.g. GPUVertexBufferLayout).
BUG=chromium:1266727
Change-Id: If46289f2d10cc7b17e6f5330cd2c2d4dc481f8b9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73000
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
This change add a couple end2end tests when readonly depth/stencil
attahcment is enabled in render pass and the pipeline doesn't
sample from the depth/stencil attachment. The pipeline only do
depth/stencil test.
This situation may not be useful in real world applications. But
it is possible that developers do it in this way. And it impacts
the implementation on some backend like Vulkan.
Bug: dawn:485
Change-Id: I8a81330659295cd4a2f00591b6ead719538babd9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/71441
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Yunchao He <yunchao.he@intel.com>
Change-Id: I32aaefe71ea728ae5118de08e5dd9073ddf2269e
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/73740
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
https://chromium.googlesource.com/vulkan-deps/+log/d74e02442e56..39f3a18bdfbe
Changed dependencies:
* glslang: 7ca4dfa061..ca13951205
* spirv-cross: bab4e5911b..e9cc640334
* spirv-headers: 449bc986ba..eddd4dfc93
* spirv-tools: 926ff6d1ba..7d768812e2
* vulkan-headers: c5b7a2fa18..e005e1f817
* vulkan-loader: 90fd66f60f..a11162fcac
* vulkan-tools: 5805106266..05c6171c04
* vulkan-validation-layers: cefa7fd82e..f8f8e2fe64
$ git log d74e02442..39f3a18bd --date=short --no-merges --format='%ad %ae %s'
2021-12-15 chromium-autoroll Roll SPIRV-Tools from b7251d4fb756 to 7d768812e202 (1 revision)
2021-12-15 chromium-autoroll Roll SPIRV-Headers from d53b49635b74 to eddd4dfc930f (1 revision)
2021-12-15 chromium-autoroll Roll Vulkan-ValidationLayers from 9f537109da6d to f8f8e2fe648a (2 revisions)
2021-12-15 chromium-autoroll Roll SPIRV-Tools from 354a46a2a22e to b7251d4fb756 (1 revision)
2021-12-15 chromium-autoroll Roll SPIRV-Tools from 4322c4b5a7db to 354a46a2a22e (1 revision)
2021-12-15 chromium-autoroll Roll Vulkan-Loader from 24373f2d987b to a11162fcaca8 (1 revision)
2021-12-14 chromium-autoroll Roll SPIRV-Tools from f0351b7bc60b to 4322c4b5a7db (1 revision)
2021-12-13 chromium-autoroll Roll Vulkan-Loader from ca9efe3f1ccd to 24373f2d987b (1 revision)
2021-12-13 chromium-autoroll Roll SPIRV-Tools from ff07cfd86fa2 to f0351b7bc60b (1 revision)
2021-12-13 chromium-autoroll Roll Vulkan-Tools from d3cdb64f2ef5 to 05c6171c04df (1 revision)
2021-12-12 chromium-autoroll Roll Vulkan-Tools from 08f87babadc4 to d3cdb64f2ef5 (1 revision)
2021-12-11 chromium-autoroll Roll Vulkan-Loader from 2bbfe2ef640c to ca9efe3f1ccd (9 revisions)
2021-12-10 chromium-autoroll Roll Vulkan-ValidationLayers from 3dfeacfe0ad0 to 9f537109da6d (1 revision)
2021-12-10 chromium-autoroll Roll SPIRV-Tools from e4527925944c to ff07cfd86fa2 (1 revision)
2021-12-10 chromium-autoroll Roll SPIRV-Tools from 315615887836 to e4527925944c (1 revision)
2021-12-09 chromium-autoroll Roll SPIRV-Tools from a2260d3b1fd2 to 315615887836 (1 revision)
2021-12-09 chromium-autoroll Roll Vulkan-ValidationLayers from f16f14915b7d to 3dfeacfe0ad0 (3 revisions)
2021-12-09 chromium-autoroll Roll glslang from 542ee69d8309 to ca1395120555 (1 revision)
2021-12-09 chromium-autoroll Roll SPIRV-Tools from d240d0db92d5 to a2260d3b1fd2 (1 revision)
2021-12-09 chromium-autoroll Roll Vulkan-ValidationLayers from 965e5f89e257 to f16f14915b7d (1 revision)
2021-12-09 chromium-autoroll Roll Vulkan-ValidationLayers from ee8a454f88a8 to 965e5f89e257 (1 revision)
2021-12-09 chromium-autoroll Roll SPIRV-Tools from f37551d2b617 to d240d0db92d5 (3 revisions)
2021-12-09 chromium-autoroll Roll SPIRV-Tools from 438096e0c252 to f37551d2b617 (1 revision)
2021-12-08 chromium-autoroll Roll SPIRV-Tools from 64328e94dbd1 to 438096e0c252 (1 revision)
2021-12-08 chromium-autoroll Roll SPIRV-Tools from 1ed847f43804 to 64328e94dbd1 (1 revision)
2021-12-08 chromium-autoroll Roll SPIRV-Tools from b162ede0dea5 to 1ed847f43804 (1 revision)
2021-12-08 chromium-autoroll Roll SPIRV-Tools from 1f3f0f185b62 to b162ede0dea5 (1 revision)
2021-12-08 chromium-autoroll Roll SPIRV-Tools from f9bcc82ec730 to 1f3f0f185b62 (1 revision)
2021-12-08 chromium-autoroll Roll SPIRV-Headers from 29414ae1fd07 to d53b49635b74 (1 revision)
2021-12-07 chromium-autoroll Roll glslang from ec5ea2d6cbad to 542ee69d8309 (2 revisions)
2021-12-07 chromium-autoroll Roll Vulkan-Loader from 3d3aae8fab85 to 2bbfe2ef640c (1 revision)
2021-12-07 chromium-autoroll Roll Vulkan-ValidationLayers from 2c2b81c05189 to ee8a454f88a8 (2 revisions)
2021-12-07 chromium-autoroll Roll Vulkan-Headers from ea61f32f24d2 to e005e1f8175d (1 revision)
2021-12-06 chromium-autoroll Roll Vulkan-ValidationLayers from 81195dfecbd0 to 2c2b81c05189 (1 revision)
2021-12-06 chromium-autoroll Roll Vulkan-Loader from 876a1b9c3427 to 3d3aae8fab85 (1 revision)
2021-12-04 chromium-autoroll Roll SPIRV-Tools from c75a1a46f39f to f9bcc82ec730 (1 revision)
2021-12-03 chromium-autoroll Roll Vulkan-Loader from 143eb773e4e8 to 876a1b9c3427 (1 revision)
2021-12-03 chromium-autoroll Roll Vulkan-Loader from 737b390a4c53 to 143eb773e4e8 (1 revision)
2021-12-02 chromium-autoroll Roll Vulkan-ValidationLayers from 8c4aad9df626 to 81195dfecbd0 (1 revision)
2021-12-02 chromium-autoroll Roll Vulkan-ValidationLayers from 1858ae9e00a4 to 8c4aad9df626 (2 revisions)
2021-12-02 chromium-autoroll Roll Vulkan-Headers from a15237165443 to ea61f32f24d2 (1 revision)
2021-12-02 chromium-autoroll Roll Vulkan-ValidationLayers from 2a7d7a3c3b1f to 1858ae9e00a4 (1 revision)
2021-12-02 chromium-autoroll Roll Vulkan-ValidationLayers from ae1ef56fc99b to 2a7d7a3c3b1f (2 revisions)
2021-12-02 ynovikov Revert "Roll Vulkan-Headers from a15237165443 to ea61f32f24d2 (1 revision)"
2021-12-02 chromium-autoroll Roll glslang from 0e1396862cc8 to ec5ea2d6cbad (1 revision)
2021-12-02 chromium-autoroll Roll Vulkan-Loader from f8c72d8fe402 to 737b390a4c53 (1 revision)
2021-12-02 chromium-autoroll Roll SPIRV-Tools from d0a827a9f313 to c75a1a46f39f (1 revision)
2021-12-01 chromium-autoroll Roll Vulkan-Loader from 6df9f13c7b68 to f8c72d8fe402 (1 revision)
2021-12-01 chromium-autoroll Roll Vulkan-Tools from 68b0ab756634 to 08f87babadc4 (1 revision)
2021-12-01 chromium-autoroll Roll Vulkan-ValidationLayers from c6bafff88f7e to ae1ef56fc99b (1 revision)
(...)
2021-08-30 chromium-autoroll Roll Vulkan-ValidationLayers from a9124f216679 to f39b2452f1f4 (2 revisions)
2021-08-30 chromium-autoroll Roll Vulkan-Tools from 580510626634 to 6c444b2c9f7b (1 revision)
2021-08-30 chromium-autoroll Roll Vulkan-Loader from 39dd126e16c7 to 4e55fdb4d272 (1 revision)
2021-08-30 chromium-autoroll Roll SPIRV-Tools from b8fce5f9e6da to 702e6af3800b (1 revision)
2021-08-29 chromium-autoroll Roll Vulkan-Headers from c5b7a2fa1875 to 9e62d027636c (1 revision)
2021-08-27 chromium-autoroll Roll Vulkan-ValidationLayers from 7217507df70a to a9124f216679 (2 revisions)
2021-08-27 chromium-autoroll Roll SPIRV-Tools from ee30773650ec to b8fce5f9e6da (1 revision)
2021-08-27 chromium-autoroll Roll Vulkan-ValidationLayers from bbd74cacc96e to 7217507df70a (5 revisions)
2021-08-27 chromium-autoroll Roll Vulkan-ValidationLayers from 15f450dbbf6c to bbd74cacc96e (2 revisions)
2021-08-27 chromium-autoroll Roll Vulkan-ValidationLayers from 0a5b93050693 to 15f450dbbf6c (2 revisions)
2021-08-26 chromium-autoroll Roll Vulkan-ValidationLayers from 9f65d3f73cab to 0a5b93050693 (2 revisions)
2021-08-26 chromium-autoroll Roll Vulkan-ValidationLayers from e09fa25f18ae to 9f65d3f73cab (3 revisions)
2021-08-26 chromium-autoroll Roll SPIRV-Tools from 2a5cc342fb5a to ee30773650ec (1 revision)
2021-08-26 chromium-autoroll Roll Vulkan-Loader from d7c8139c370a to 39dd126e16c7 (1 revision)
2021-08-26 chromium-autoroll Roll Vulkan-Loader from 90fd66f60fa7 to d7c8139c370a (3 revisions)
2021-08-26 chromium-autoroll Roll Vulkan-ValidationLayers from b8705a01456b to e09fa25f18ae (4 revisions)
2021-08-25 chromium-autoroll Roll Vulkan-ValidationLayers from ce4817c22c81 to b8705a01456b (2 revisions)
2021-08-25 chromium-autoroll Roll Vulkan-ValidationLayers from c2c5bbe227fb to ce4817c22c81 (1 revision)
2021-08-25 chromium-autoroll Roll glslang from a4599ef7561a to 2fb89a0072ae (1 revision)
2021-08-25 chromium-autoroll Roll Vulkan-ValidationLayers from 6fa8d3cbb97b to c2c5bbe227fb (2 revisions)
2021-08-25 chromium-autoroll Roll Vulkan-ValidationLayers from 46eb54e6a0df to 6fa8d3cbb97b (3 revisions)
2021-08-25 chromium-autoroll Roll SPIRV-Tools from 3d4246b4aaa6 to 2a5cc342fb5a (2 revisions)
2021-08-24 chromium-autoroll Roll SPIRV-Tools from 88f9c15eaea47a20120d1ade2fb51ef79bfac6e7 to 3d4246b4aaa6 (1 revision)
2021-08-24 chromium-autoroll Roll SPIRV-Tools from a1d5d67aeb45 to 88f9c15eaea4 (1 revision)
2021-08-24 chromium-autoroll Roll Vulkan-ValidationLayers from dbb81cca542d to 46eb54e6a0df (1 revision)
2021-08-24 chromium-autoroll Roll Vulkan-ValidationLayers from 1b7bd5773b55 to dbb81cca542d (1 revision)
2021-08-23 chromium-autoroll Roll Vulkan-ValidationLayers from 828e59d0417f to 1b7bd5773b55 (2 revisions)
2021-08-23 chromium-autoroll Roll Vulkan-ValidationLayers from b6121706a4af to 828e59d0417f (1 revision)
2021-08-23 chromium-autoroll Roll SPIRV-Tools from 937227c761a9 to a1d5d67aeb45 (1 revision)
2021-08-23 chromium-autoroll Roll SPIRV-Tools from d699296b4d4e to 937227c761a9 (1 revision)
2021-08-23 chromium-autoroll Roll Vulkan-ValidationLayers from e6e56b607161 to b6121706a4af (2 revisions)
2021-08-23 chromium-autoroll Roll Vulkan-ValidationLayers from c9b8c134c113 to e6e56b607161 (2 revisions)
2021-08-23 chromium-autoroll Roll Vulkan-ValidationLayers from 931cff66d7b2 to c9b8c134c113 (4 revisions)
2021-08-23 chromium-autoroll Roll SPIRV-Cross from 840d4483bcb2 to 0e2880ab990e (1 revision)
2021-08-23 chromium-autoroll Roll SPIRV-Cross from c062b6b85272 to 840d4483bcb2 (1 revision)
2021-08-23 chromium-autoroll Roll SPIRV-Cross from fad15907867d to c062b6b85272 (1 revision)
2021-08-23 chromium-autoroll Roll SPIRV-Cross from 27e7abeab15e to fad15907867d (1 revision)
2021-08-23 chromium-autoroll Roll SPIRV-Cross from bab4e5911b1b to 27e7abeab15e (1 revision)
2021-08-22 chromium-autoroll Roll Vulkan-ValidationLayers from a5405505d5d1 to 931cff66d7b2 (2 revisions)
2021-08-22 chromium-autoroll Roll Vulkan-ValidationLayers from e1f91ba6c4bb to a5405505d5d1 (2 revisions)
2021-08-20 chromium-autoroll Roll Vulkan-ValidationLayers from 78d6199679ef to e1f91ba6c4bb (3 revisions)
2021-08-20 chromium-autoroll Roll Vulkan-ValidationLayers from b3f17dc51510 to 78d6199679ef (1 revision)
2021-08-19 chromium-autoroll Roll Vulkan-ValidationLayers from c481a49ce568 to b3f17dc51510 (5 revisions)
2021-08-19 chromium-autoroll Roll SPIRV-Tools from 1ad8b71359b2 to d699296b4d4e (1 revision)
2021-08-19 chromium-autoroll Roll Vulkan-ValidationLayers from f6bb4bbc6ca3 to c481a49ce568 (2 revisions)
2021-08-18 chromium-autoroll Roll Vulkan-ValidationLayers from e5fad63fc9a4 to f6bb4bbc6ca3 (1 revision)
2021-08-18 chromium-autoroll Roll SPIRV-Tools from a9ce5e07c627 to 1ad8b71359b2 (1 revision)
2021-08-18 chromium-autoroll Roll glslang from 7ca4dfa06158 to a4599ef7561a (1 revision)
2021-08-18 chromium-autoroll Roll Vulkan-ValidationLayers from cefa7fd82e22 to e5fad63fc9a4 (1 revision)
2021-08-18 chromium-autoroll Roll SPIRV-Tools from 926ff6d1bab0 to a9ce5e07c627 (2 revisions)
Created with:
roll-dep third_party/vulkan-deps
Change-Id: I6d0cdd1450c612db8100b4347af9f00a45790a8e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73780
Auto-Submit: Austin Eng <enga@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
For unknown reasons formatting of a error context message fails in
RenderEncoderBase::APISetBindGroup fails if the bind group is printed
as a string in the message. This despite the exact same code working as
intended in ComputePassEncoder::APISetBindGroup. Replacing it with a
static "[BindGroup]" to allow the rest of the message to format
correctly until the reason for the failure can be determined.
Bug: dawn:1190
Change-Id: I31105acff4d08849a34e406c6b8e85fab28f17b5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73280
Auto-Submit: Brandon Jones <bajones@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Add two more warnings to ignore. These show up when including glslang
headers in samples/main.cc.
Change-Id: Icdb9fa9914bfe6fdafb4727ed8bf774fe9b930bf
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/73660
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
There are a few places where a branch or return is created,
conditionally on whether a terminator was the last thing seen.
The goal is to generate a SPIR-V basic block terminator exactly
when needed, and to avoid generating a branch or return immediately
after a prior terminator.
Previously, the decision was based on the last thing seen in the AST.
But we should instead check the emitted SPIR-V instead.
This fixes cases such as a break or return inside an else-if.
That's because an if/elseif is actually a selection inside a selection.
Looking at the AST only works when trying to terminate the *inside*
selection. In the outer recursive call, the last AST node is
no longer a terminator, and we would skip generating the branch
to the merge block.
Fixed: tint:1315
Change-Id: I6b886ce85d1d681f2063997e469e0c1b4e5973a2
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/73480
Kokoro: Kokoro <noreply+kokoro@google.com>
Auto-Submit: David Neto <dneto@google.com>
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: James Price <jrprice@google.com>
This picks up validation to ensure a struct of builtins on
the input or output interface is also decorated with Block.
See https://github.com/KhronosGroup/SPIRV-Tools/pull/4665
Fix SPIR-V in end2end tests that was breaking the rule.
Change-Id: Ic0e9c8936eb6b3f086b084d86b649e9e237fc3b3
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/73242
Reviewed-by: James Price <jrprice@google.com>
Auto-Submit: David Neto <dneto@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: David Neto <dneto@google.com>
CopyTextureForBrowserOptions deprecated AlphaOp after supporting
color space conversion. AlphaMode for src and dst is the replacement.
Bug: dawn:1140
Change-Id: Id507bd7525d74be8a12d212b92cc22f0c7bc94b7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73141
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
Replace hardcode content with metadata defined in api.json
BUG=dawn:1201
Change-Id: Ib6d6a9c7afc8fb89d3ff2d0129dbfba04adb542a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/73160
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Junwei Fu <junwei.fu@intel.com>
SPIR-V validation fails when an object has multiple ArrayStride
decorations. Remove the SPIR-V reader tests that did this.
Change-Id: Iaac0f0f0c9230ccbc7dde5414d6aaf6f0e972534
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/73240
Auto-Submit: David Neto <dneto@google.com>
Reviewed-by: James Price <jrprice@google.com>
Kokoro: David Neto <dneto@google.com>
Commit-Queue: David Neto <dneto@google.com>
Make ValidationUtils flexible for other generation.
BUG=dawn:1201
Change-Id: I42ccbd3d9c2fe37abec4b8f7eb395583dbe1dc8d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72980
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Junwei Fu <junwei.fu@intel.com>
Bug: dawn:689
Change-Id: I032cfcba755be241126dfa8447a38625d7183334
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/71523
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
This implements requestAdapter and requestDevice by
forwarding commands the the server and relaying back
replies. After an adapter or device is created,
limits/properties/features are queried and also sent
back to the client.
Bug: dawn:689
Change-Id: Ie0c2984b8ebb661efb0c284a14ae8b74ae4af2ea
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/71522
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
This has been removed from WGSL and is now deprecated in Tint.
Bug: tint:1324
Change-Id: Ic187ce3c5ce0723db6f3ca6483e9f5e73ce27acc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72880
Auto-Submit: James Price <jrprice@google.com>
Reviewed-by: Corentin Wallez <cwallez@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Rename mock_webgpu to mock_api and define the function "GetProcTableAndDevice" to "GetProcTable" for removing the special arguments "WGPUDevice* device" that can be got with "GetNewDevice()".
BUG=dawn:1201
Change-Id: I4fc47e4497ba4b6d280cc8af8605f1d93f43497e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72761
Reviewed-by: Jiawei Shao <jiawei.shao@intel.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Junwei Fu <junwei.fu@intel.com>
Struct member defined in dawn.json could have a 'length' attribute
defines the length of the member if it is an array.
In previous, the 'length' could only be 'strlen' or other variable
which has 'uint32_t' types. It cannot support constant length.
CopyTextureForBrowserOptions transfers conversion parameters and
conversion matrix with a constant length. This CL adds this ability
to meet such requirements.
Bug: dawn:1140
Change-Id: I6eeabbc55cc3853fe15e33bdd44060b16f6096bf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72580
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
This enum value was removed.
Bug: dawn:1206
Change-Id: Ifebceb01e817a29daec6629434d4dd792f343f74
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72940
Auto-Submit: Austin Eng <enga@chromium.org>
Reviewed-by: Shrek Shao <shrekshao@google.com>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
This is so we can implement the adapter/device APIs fully
on dawn_wire.
Bug: dawn:689
Change-Id: I47f68157d081f359f871e0efe0d974dfe53de7d7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/71521
Reviewed-by: Loko Kung <lokokung@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>