dawn-cmake/src/dawn_native
Corentin Wallez 534517ca63 Vulkan: Enable barrier validation using VK_EXT_validation_features.
This found a couple issues with readonly storage textures and buffers
and will prevent regression in the correctness of barriers in the Vulkan
backend.

Bug: dawn:635

Change-Id: I99f77134eff62c466d010c4f301f7e79de0b4977
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/38021
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-01-21 14:44:20 +00:00
..
d3d12 Use SubresourceStorage to track per-subresource state. 2021-01-21 11:07:44 +00:00
metal Disable timestamp query extension on Metal 2021-01-08 22:56:05 +00:00
null Get timestamp period from device 2021-01-05 02:39:18 +00:00
opengl Use SubresourceStorage to track per-subresource state. 2021-01-21 11:07:44 +00:00
vulkan Vulkan: Enable barrier validation using VK_EXT_validation_features. 2021-01-21 14:44:20 +00:00
Adapter.cpp dawn.json: Expose the driver version in the adapter. 2020-10-14 13:33:15 +00:00
Adapter.h dawn.json: Expose the driver version in the adapter. 2020-10-14 13:33:15 +00:00
AttachmentState.cpp Pipeline caching: refactor object hashing 2020-12-03 18:42:13 +00:00
AttachmentState.h Pipeline caching: refactor object hashing 2020-12-03 18:42:13 +00:00
BUILD.gn Use SubresourceStorage to track per-subresource state. 2021-01-21 11:07:44 +00:00
BackendConnection.cpp Add WGPUAdapterProperties and expose it in DawnNative 2020-01-10 13:28:18 +00:00
BackendConnection.h Add WGPUAdapterProperties and expose it in DawnNative 2020-01-10 13:28:18 +00:00
BindGroup.cpp Update BindingInfo to reflect new BindGroupLayoutEntry structure 2020-12-21 20:14:26 +00:00
BindGroup.h Add minimum buffer size validation 2020-06-19 21:39:23 +00:00
BindGroupLayout.cpp Enabled BindGroupLayout deprecation warning and fixed tests it broke. 2021-01-13 22:25:58 +00:00
BindGroupLayout.h Pipeline caching: refactor object hashing 2020-12-03 18:42:13 +00:00
BindGroupTracker.h Remove kMaxBindingsPerGroup limit 2020-07-14 22:20:35 +00:00
BindingInfo.cpp Updating BindGroupLayoutEntry interface to match latest spec 2020-12-12 02:09:56 +00:00
BindingInfo.h Update BindingInfo to reflect new BindGroupLayoutEntry structure 2020-12-21 20:14:26 +00:00
BuddyAllocator.cpp Fix two warnings. 2020-04-10 19:04:42 +00:00
BuddyAllocator.h Fix and enable -Wnested-anon-types 2020-04-30 15:58:28 +00:00
BuddyMemoryAllocator.cpp Prevent size overflow for sub-allocation. 2020-06-11 18:58:26 +00:00
BuddyMemoryAllocator.h Add some missing #includes. 2019-10-29 18:40:12 +00:00
Buffer.cpp Add internal compute pipeline in ResolveQuerySet for Timestamp Query 2021-01-14 03:26:08 +00:00
Buffer.h Use typed integers for the Buffer MapRequestID 2020-09-28 14:14:44 +00:00
CMakeLists.txt Use SubresourceStorage to track per-subresource state. 2021-01-21 11:07:44 +00:00
CachedObject.cpp Pipeline caching: refactor object hashing 2020-12-03 18:42:13 +00:00
CachedObject.h Fix issues with roll into Skia 2020-12-08 16:32:34 +00:00
CommandAllocator.cpp Eagerly destroy CommandBuffer commands after submission 2020-08-13 20:25:39 +00:00
CommandAllocator.h Eagerly destroy CommandBuffer commands after submission 2020-08-13 20:25:39 +00:00
CommandBuffer.cpp Change SubresourceRange to be hierarchical. 2020-12-08 12:39:03 +00:00
CommandBuffer.h Limit Clear Color Values to 2^24 For Integer Formats 2020-10-01 19:56:49 +00:00
CommandBufferStateTracker.cpp Remove deprecated SetIndexBuffer (without format). 2020-11-25 08:54:14 +00:00
CommandBufferStateTracker.h Typeify VertexBufferSlot and VertexAttributeLocation 2020-09-17 19:07:00 +00:00
CommandEncoder.cpp Add internal compute pipeline in ResolveQuerySet for Timestamp Query 2021-01-14 03:26:08 +00:00
CommandEncoder.h Add query availability tracking in render pass encoder 2020-11-16 02:24:06 +00:00
CommandValidation.cpp Use SubresourceStorage to track per-subresource state. 2021-01-21 11:07:44 +00:00
CommandValidation.h Add query availability tracking in render pass encoder 2020-11-16 02:24:06 +00:00
Commands.cpp Query API: Non Precise Occlusion Query 2020-11-18 09:47:52 +00:00
Commands.h Query API: Non Precise Occlusion Query 2020-11-18 09:47:52 +00:00
ComputePassEncoder.cpp Add query availability tracking in render pass encoder 2020-11-16 02:24:06 +00:00
ComputePassEncoder.h Query API: Test the accuracy of timestamp compute shader 2020-12-22 06:55:36 +00:00
ComputePipeline.cpp Pipeline caching: refactor object hashing 2020-12-03 18:42:13 +00:00
ComputePipeline.h Pipeline caching: refactor object hashing 2020-12-03 18:42:13 +00:00
CopyTextureForBrowserHelper.cpp Update Dawn tests to use group instead of set. 2021-01-19 14:18:51 +00:00
CopyTextureForBrowserHelper.h CopyTextureForBrowser: Support flipY option 2020-12-02 08:13:09 +00:00
CreateReadyPipelineTracker.cpp Fix crash when device is removed before CreateReady*Pipeline callback 2020-10-24 03:11:43 +00:00
CreateReadyPipelineTracker.h Fix crash when device is removed before CreateReady*Pipeline callback 2020-10-24 03:11:43 +00:00
DawnNative.cpp Change SubresourceRange to be hierarchical. 2020-12-08 12:39:03 +00:00
Device.cpp Make the Device ref the Instance 2021-01-13 17:54:37 +00:00
Device.h Make the Device ref the Instance 2021-01-13 17:54:37 +00:00
DynamicUploader.cpp Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
DynamicUploader.h Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
EncodingContext.cpp Add InjectValidationError to command encoder 2020-11-14 01:24:03 +00:00
EncodingContext.h Add InjectValidationError to command encoder 2020-11-14 01:24:03 +00:00
EnumClassBitmasks.h Track depth/stencil aspects independently 2020-08-06 17:00:29 +00:00
EnumMaskIterator.h EnumMaskIterator: ASSERT when the mask is too big. 2021-01-21 10:11:54 +00:00
Error.cpp Fix AssertAndIgnoreDeviceLossError to handle errors injected by fuzzer 2020-06-16 17:53:38 +00:00
Error.h Don't forward device lost errors to the uncaptured error callback 2021-01-13 17:53:29 +00:00
ErrorData.cpp Separate device lost from internal errors. 2020-04-01 12:07:43 +00:00
ErrorData.h Separate device lost from internal errors. 2020-04-01 12:07:43 +00:00
ErrorInjector.cpp Reland "fuzzing: Add supportsErrorInjection option to DawnWireServerFuzzer" 2020-01-06 19:56:17 +00:00
ErrorInjector.h Reland "fuzzing: Add supportsErrorInjection option to DawnWireServerFuzzer" 2020-01-06 19:56:17 +00:00
ErrorScope.cpp Don't forward device lost errors to the uncaptured error callback 2021-01-13 17:53:29 +00:00
ErrorScope.h Make error scope shutdown iterative instead of recursive. 2020-05-11 20:26:12 +00:00
ErrorScopeTracker.cpp Change Device::Tick To Return Bool 2020-10-15 16:21:03 +00:00
ErrorScopeTracker.h Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
Extensions.cpp Reland "Check FP16 support on vulkan backend" 2020-06-08 12:18:21 +00:00
Extensions.h Reland "Check FP16 support on vulkan backend" 2020-06-08 12:18:21 +00:00
Fence.cpp Have Queue timeline tasks resolve in order 2020-10-12 22:32:33 +00:00
Fence.h Have Queue timeline tasks resolve in order 2020-10-12 22:32:33 +00:00
Format.cpp Update BindingInfo to reflect new BindGroupLayoutEntry structure 2020-12-21 20:14:26 +00:00
Format.h Update BindingInfo to reflect new BindGroupLayoutEntry structure 2020-12-21 20:14:26 +00:00
Forward.h Query API: QuerySet 2020-06-11 00:34:14 +00:00
Instance.cpp Add preliminary OpenGL ES and EGL support to Dawn. 2020-11-24 20:57:23 +00:00
Instance.h Enable GBV by default for correctness tests. 2020-07-29 19:44:41 +00:00
IntegerTypes.h Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
InternalPipelineStore.h Query API: Test the accuracy of timestamp compute shader 2020-12-22 06:55:36 +00:00
ObjectBase.cpp Make RefCounted derived objects have private destructors 2020-04-06 18:20:02 +00:00
ObjectBase.h Move and improve RefCounted 2020-04-20 17:36:22 +00:00
ObjectContentHasher.cpp Pipeline caching: refactor object hashing 2020-12-03 18:42:13 +00:00
ObjectContentHasher.h Rename STRIDE_UNDEFINED to COPY_STRIDE_UNDEFINED 2020-12-16 07:53:30 +00:00
PassResourceUsage.cpp Use SubresourceStorage to track per-subresource state. 2021-01-21 11:07:44 +00:00
PassResourceUsage.h Use SubresourceStorage to track per-subresource state. 2021-01-21 11:07:44 +00:00
PassResourceUsageTracker.cpp Use SubresourceStorage to track per-subresource state. 2021-01-21 11:07:44 +00:00
PassResourceUsageTracker.h Add validation code for texture subresource usage tracking 2020-05-04 17:10:49 +00:00
PerStage.cpp Make dawn_native use the webgpu.h header 2019-10-23 11:57:41 +00:00
PerStage.h Make dawn_native use the webgpu.h header 2019-10-23 11:57:41 +00:00
PersistentCache.cpp Rename STRIDE_UNDEFINED to COPY_STRIDE_UNDEFINED 2020-12-16 07:53:30 +00:00
PersistentCache.h Rename STRIDE_UNDEFINED to COPY_STRIDE_UNDEFINED 2020-12-16 07:53:30 +00:00
Pipeline.cpp Pipeline caching: refactor object hashing 2020-12-03 18:42:13 +00:00
Pipeline.h Pipeline caching: refactor object hashing 2020-12-03 18:42:13 +00:00
PipelineLayout.cpp Update BindingInfo to reflect new BindGroupLayoutEntry structure 2020-12-21 20:14:26 +00:00
PipelineLayout.h Pipeline caching: refactor object hashing 2020-12-03 18:42:13 +00:00
PooledResourceMemoryAllocator.cpp Rename STRIDE_UNDEFINED to COPY_STRIDE_UNDEFINED 2020-12-16 07:53:30 +00:00
PooledResourceMemoryAllocator.h Pool sub-allocated resource heaps. 2020-08-17 17:47:15 +00:00
ProgrammablePassEncoder.cpp Vulkan: Fix texture barriers for readonly storage. 2021-01-20 19:39:28 +00:00
ProgrammablePassEncoder.h Support internal pipelines for Dawn 2020-11-04 02:30:16 +00:00
QueryHelper.cpp Update Dawn tests to use group instead of set. 2021-01-19 14:18:51 +00:00
QueryHelper.h Remove internal resolve buffer from Timestamp compute shader 2021-01-05 04:49:08 +00:00
QuerySet.cpp Add maximum limitation for query count in CreateQuerySet 2020-12-24 02:57:07 +00:00
QuerySet.h PipelineStatisticsName -> PipelineStatisticName 2020-07-13 18:21:03 +00:00
Queue.cpp CopyTextureForBrowser: Support flipY option 2020-12-02 08:13:09 +00:00
Queue.h CopyTextureForBrowser: Support flipY option 2020-12-02 08:13:09 +00:00
RenderBundle.cpp Remove the "Base" from pure-frontend dawn_native types 2019-11-13 17:00:37 +00:00
RenderBundle.h Make RefCounted derived objects have private destructors 2020-04-06 18:20:02 +00:00
RenderBundleEncoder.cpp BUILD.gn: enable additional warnings. 2020-04-08 16:04:32 +00:00
RenderBundleEncoder.h BUILD.gn: enable additional warnings. 2020-04-08 16:04:32 +00:00
RenderEncoderBase.cpp Fix base vertex toggle. 2020-12-04 19:24:00 +00:00
RenderEncoderBase.h Remove deprecated SetIndexBuffer (without format). 2020-11-25 08:54:14 +00:00
RenderPassEncoder.cpp Query API: Non Precise Occlusion Query 2020-11-18 09:47:52 +00:00
RenderPassEncoder.h Query API: Non Precise Occlusion Query 2020-11-18 09:47:52 +00:00
RenderPipeline.cpp Pipeline caching: refactor object hashing 2020-12-03 18:42:13 +00:00
RenderPipeline.h Pipeline caching: refactor object hashing 2020-12-03 18:42:13 +00:00
ResourceHeap.h Autoformat everything except tests/examples 2020-07-10 18:19:38 +00:00
ResourceHeapAllocator.h Add another missing #include. 2019-10-30 00:19:43 +00:00
ResourceMemoryAllocation.cpp Autoformat everything except tests/examples 2020-07-10 18:19:38 +00:00
ResourceMemoryAllocation.h Residency 2: Create a d3d12::Heap During Direct Allocations 2020-03-09 15:53:19 +00:00
RingBufferAllocator.cpp Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
RingBufferAllocator.h Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
Sampler.cpp Invalidate sampler with maxAnisotropy = 0 2020-12-30 19:47:33 +00:00
Sampler.h Add maxAnisotropy to GPUSamplerDescriptor 2020-12-24 03:11:17 +00:00
ShaderModule.cpp Use Tint to extract local workgroup size 2021-01-19 18:09:31 +00:00
ShaderModule.h Update BindingInfo to reflect new BindGroupLayoutEntry structure 2020-12-21 20:14:26 +00:00
SpirvUtils.cpp Update BindingInfo to reflect new BindGroupLayoutEntry structure 2020-12-21 20:14:26 +00:00
SpirvUtils.h Update BindingInfo to reflect new BindGroupLayoutEntry structure 2020-12-21 20:14:26 +00:00
StagingBuffer.cpp Autoformat everything except tests/examples 2020-07-10 18:19:38 +00:00
StagingBuffer.h Autoformat everything except tests/examples 2020-07-10 18:19:38 +00:00
Subresource.cpp Use SubresourceStorage to track per-subresource state. 2021-01-21 11:07:44 +00:00
Subresource.h Use SubresourceStorage to track per-subresource state. 2021-01-21 11:07:44 +00:00
SubresourceStorage.h Use SubresourceStorage to track per-subresource state. 2021-01-21 11:07:44 +00:00
Surface.cpp Make Surface reference its attached SwapChain 2020-10-27 11:31:26 +00:00
Surface.h Make Surface reference its attached SwapChain 2020-10-27 11:31:26 +00:00
Surface_metal.mm Introduce wgpu::Surface and implement it for HWND, X11 and Metal 2020-01-15 13:14:12 +00:00
SwapChain.cpp Add more constants for max texture sizes 2021-01-11 18:04:12 +00:00
SwapChain.h Make Surface reference its attached SwapChain 2020-10-27 11:31:26 +00:00
Texture.cpp Vulkan: Fix texture barriers for readonly storage. 2021-01-20 19:39:28 +00:00
Texture.h Vulkan: Fix texture barriers for readonly storage. 2021-01-20 19:39:28 +00:00
ToBackend.h Query API: QuerySet 2020-06-11 00:34:14 +00:00
Toggles.cpp Workaround ANGLE hang with a glFlush(). 2021-01-15 16:35:49 +00:00
Toggles.h Workaround ANGLE hang with a glFlush(). 2021-01-15 16:35:49 +00:00
dawn_platform.h Vulkan: Fix texture barriers for readonly storage. 2021-01-20 19:39:28 +00:00