dawn-cmake/src/dawn_native
Austin Eng 346b58cfba Reland "Populate some D3D12 limits from the backend"
This is a reland of 167d299916
It skips MaxLimitTests.MaxBufferBindingSize on 32-bit Windows
until we have a way to test more reliably on that platform, or
until Dawn no longer allocates enormous staging buffers for zero
initialization.

Original change's description:
> Reland "Populate some D3D12 limits from the backend"
>
> This is a reland of aa8fcfc64b
> It changes MaxLimitTests to use at most a 512MB buffer on 32-bit
> platforms.
>
> Original change's description:
> > Populate some D3D12 limits from the backend
> >
> > Also bumps the required D3D feature level to 11.1
> >
> > Bug: dawn:685
> > Change-Id: I40bc3a162e0aee596d61118ba0dfe0bf9cb60d93
> > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/65120
> > Commit-Queue: Austin Eng <enga@chromium.org>
> > Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com>
> > Reviewed-by: Corentin Wallez <cwallez@chromium.org>
>
> Bug: dawn:685
> Change-Id: I2e1df5f7ac0c9bbb6476ca2e1964a9af4afd89b6
> Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/67145
> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
> Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.com>
> Commit-Queue: Austin Eng <enga@chromium.org>

Bug: dawn:685
Change-Id: Ie20a58d73ebfcd64a8c5e58d29d7fb35ee9fba0d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/67565
Auto-Submit: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2021-10-27 15:05:14 +00:00
..
d3d12 Reland "Populate some D3D12 limits from the backend" 2021-10-27 15:05:14 +00:00
metal Populate some Metal limits up from the backend 2021-10-26 16:56:36 +00:00
null Populate supported Vulkan limits from the backend 2021-10-19 22:52:14 +00:00
opengl Improving OpenGL backend validation messages. 2021-10-21 16:37:45 +00:00
vulkan Fix overridable constants 2021-10-26 10:40:46 +00:00
Adapter.cpp Various validation error improvements 2021-10-20 17:42:38 +00:00
Adapter.h Populate supported Vulkan limits from the backend 2021-10-19 22:52:14 +00:00
AsyncTask.cpp D3D12: Support creating compute pipeline asynchronously 2021-06-04 05:12:06 +00:00
AsyncTask.h Triage Dawn TODOs 2021-06-04 22:23:56 +00:00
AttachmentState.cpp Refactors dawn_native objects for list tracking and adds destroy skeleton API. 2021-09-28 15:40:01 +00:00
AttachmentState.h Refactors dawn_native objects for list tracking and adds destroy skeleton API. 2021-09-28 15:40:01 +00:00
BUILD.gn Rename "extension" to "feature" 2021-10-04 11:30:02 +00:00
BackendConnection.cpp Various validation error improvements 2021-10-20 17:42:38 +00:00
BackendConnection.h Add WGPUAdapterProperties and expose it in DawnNative 2020-01-10 13:28:18 +00:00
BindGroup.cpp Various validation error improvements 2021-10-20 17:42:38 +00:00
BindGroup.h Refactors dawn_native objects for list tracking and adds destroy skeleton API. 2021-09-28 15:40:01 +00:00
BindGroupLayout.cpp Improve errors in BindGroupLayout, BindingInfo 2021-10-19 16:14:51 +00:00
BindGroupLayout.h Adds destroy handling for BindGroupLayout without new backend changes yet. 2021-10-12 18:53:57 +00:00
BindGroupTracker.h Fix bind groups not being applied 2021-08-05 14:45:48 +00:00
BindingInfo.cpp Improve errors in BindGroupLayout, BindingInfo 2021-10-19 16:14:51 +00:00
BindingInfo.h Improve errors in BindGroupLayout, BindingInfo 2021-10-19 16:14:51 +00:00
BuddyAllocator.cpp Triage Dawn TODOs 2021-06-04 22:23:56 +00:00
BuddyAllocator.h Triage Dawn TODOs 2021-06-04 22:23:56 +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 Deprecation of using 0 as default size in buffer mapAsync 2021-10-18 05:30:39 +00:00
Buffer.h Improve validation errors for Buffer 2021-10-01 18:15:40 +00:00
BufferLocation.cpp Introduce BufferLocation 2021-09-20 20:39:15 +00:00
BufferLocation.h Introduce BufferLocation 2021-09-20 20:39:15 +00:00
CMakeLists.txt Rename "extension" to "feature" 2021-10-04 11:30:02 +00:00
CachedObject.cpp Pipeline caching: refactor object hashing 2020-12-03 18:42:13 +00:00
CachedObject.h Refactors dawn_native objects for list tracking and adds destroy skeleton API. 2021-09-28 15:40:01 +00:00
CallbackTaskManager.cpp Implement CallbackTaskManager for Create*PipelineAsync 2021-05-02 03:22:30 +00:00
CallbackTaskManager.h Implement AsyncWaitableEvent with std::condition_variable 2021-05-27 00:49:03 +00:00
CommandAllocator.cpp Support flattening multiple CommandAllocators 2021-09-15 18:29:00 +00:00
CommandAllocator.h Support flattening multiple CommandAllocators 2021-09-15 18:29:00 +00:00
CommandBuffer.cpp Various validation error improvements 2021-10-20 17:42:38 +00:00
CommandBuffer.h Refactors dawn_native objects for list tracking and adds destroy skeleton API. 2021-09-28 15:40:01 +00:00
CommandBufferStateTracker.cpp Various validation error improvements 2021-10-20 17:42:38 +00:00
CommandBufferStateTracker.h Implement drawIndexedIndirect validation 2021-09-23 00:15:19 +00:00
CommandEncoder.cpp Revert "Improve validation errors for encoders" 2021-10-21 23:14:54 +00:00
CommandEncoder.h Refactors dawn_native objects for list tracking and adds destroy skeleton API. 2021-09-28 15:40:01 +00:00
CommandValidation.cpp Improve validation errors in CommandValidation 2021-10-05 00:34:30 +00:00
CommandValidation.h Improve validation errors for CopyTextureForBrowser 2021-10-01 17:05:55 +00:00
Commands.cpp Implement drawIndexedIndirect validation 2021-09-23 00:15:19 +00:00
Commands.h Implement drawIndexedIndirect validation 2021-09-23 00:15:19 +00:00
CompilationMessages.cpp Emit tint warning when creating shader module 2021-06-18 13:29:39 +00:00
CompilationMessages.h Emit tint warning when creating shader module 2021-06-18 13:29:39 +00:00
ComputePassEncoder.cpp Revert "Improve validation errors for encoders" 2021-10-21 23:14:54 +00:00
ComputePassEncoder.h Refactors dawn_native objects for list tracking and adds destroy skeleton API. 2021-09-28 15:40:01 +00:00
ComputePipeline.cpp Various validation error improvements 2021-10-20 17:42:38 +00:00
ComputePipeline.h Avoid redundant creation of ComputePipelineBase in GetCachedComputePipeline 2021-10-13 00:43:05 +00:00
CopyTextureForBrowserHelper.cpp Improve validation errors for CopyTextureForBrowser 2021-10-01 17:05:55 +00:00
CopyTextureForBrowserHelper.h Rename Buffer/TextureCopyView to ImageCopyBuffer/Texture. 2021-03-04 18:13:45 +00:00
CreatePipelineAsyncTask.cpp Avoid redundant creation of ComputePipelineBase in GetCachedComputePipeline 2021-10-13 00:43:05 +00:00
CreatePipelineAsyncTask.h Avoid redundant creation of ComputePipelineBase in GetCachedComputePipeline 2021-10-13 00:43:05 +00:00
DawnNative.cpp Remove "extension" 2021-10-12 13:21:56 +00:00
Device.cpp Improve validation messages for surface/swap chain 2021-10-21 19:25:04 +00:00
Device.h Remove several compile-time constants in favor of limits 2021-10-13 18:57:18 +00:00
DynamicUploader.cpp Rolling build dependencies for new d3dcompiler_47.dll 2021-06-23 09:22:22 +00:00
DynamicUploader.h Use typed integers for the ExecutionSerial 2020-09-28 19:35:14 +00:00
EncodingContext.cpp Revert "Improve validation errors for encoders" 2021-10-21 23:14:54 +00:00
EncodingContext.h Revert "Improve validation errors for encoders" 2021-10-21 23:14:54 +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 Adds destroy handling for BindGroupLayout without new backend changes yet. 2021-10-12 18:53:57 +00:00
ErrorData.cpp Add debug group logging to validation errors 2021-09-29 19:39:02 +00:00
ErrorData.h Add debug group logging to validation errors 2021-09-29 19:39:02 +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 Fix all GCC 10 warnings 2021-09-23 17:34:53 +00:00
ErrorScope.h Simplify ErrorScopes 2021-02-19 18:17:22 +00:00
ExternalTexture.cpp Improve validation errors for CreateExternalTexture 2021-10-01 15:34:25 +00:00
ExternalTexture.h Refactors dawn_native objects for list tracking and adds destroy skeleton API. 2021-09-28 15:40:01 +00:00
Features.cpp Make Dawn's feature name casing match WebGPU (- instead of _) 2021-10-11 10:18:09 +00:00
Features.h Rename "extension" to "feature" 2021-10-04 11:30:02 +00:00
Format.cpp Rename "extension" to "feature" 2021-10-04 11:30:02 +00:00
Format.h Make Dawn's feature name casing match WebGPU (- instead of _) 2021-10-11 10:18:09 +00:00
Forward.h Refactors dawn_native objects for list tracking and adds destroy skeleton API. 2021-09-28 15:40:01 +00:00
IndirectDrawMetadata.cpp Remove several compile-time constants in favor of limits 2021-10-13 18:57:18 +00:00
IndirectDrawMetadata.h Remove several compile-time constants in favor of limits 2021-10-13 18:57:18 +00:00
IndirectDrawValidationEncoder.cpp Remove several compile-time constants in favor of limits 2021-10-13 18:57:18 +00:00
IndirectDrawValidationEncoder.h Remove several compile-time constants in favor of limits 2021-10-13 18:57:18 +00:00
Instance.cpp Various validation error improvements 2021-10-20 17:42:38 +00:00
Instance.h Rename "extension" to "feature" 2021-10-04 11:30:02 +00:00
IntegerTypes.h Update default pipeline layout compatibility rules 2021-09-01 22:15:41 +00:00
InternalPipelineStore.cpp Implement drawIndexedIndirect validation 2021-09-23 00:15:19 +00:00
InternalPipelineStore.h Implement drawIndexedIndirect validation 2021-09-23 00:15:19 +00:00
Limits.cpp Various validation error improvements 2021-10-20 17:42:38 +00:00
Limits.h Add a mechanism for finding the best tier for a set of limits 2021-09-28 01:04:10 +00:00
ObjectBase.cpp Moves DestroyApiObject call into ApiObjectBase::DeleteThis 2021-10-19 22:43:13 +00:00
ObjectBase.h Moves DestroyApiObject call into ApiObjectBase::DeleteThis 2021-10-19 22:43:13 +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.h Implement External Texture Binding Functionality 2021-06-01 19:45:53 +00:00
PassResourceUsageTracker.cpp Remove readonly storage textures 2021-09-17 17:07:43 +00:00
PassResourceUsageTracker.h Validate a subresource can't be an attachment multiple times in a pass 2021-07-16 17:44:59 +00:00
PerStage.cpp Improve errors in BindGroupLayout, BindingInfo 2021-10-19 16:14:51 +00:00
PerStage.h Improve errors in BindGroupLayout, BindingInfo 2021-10-19 16:14:51 +00:00
PersistentCache.cpp D3D12: Support creating compute pipeline asynchronously 2021-06-04 05:12:06 +00:00
PersistentCache.h D3D12: Support creating compute pipeline asynchronously 2021-06-04 05:12:06 +00:00
Pipeline.cpp Mark pipeline overridable constants as unsafe 2021-10-26 02:06:36 +00:00
Pipeline.h Avoid redundant creation of ComputePipelineBase in GetCachedComputePipeline 2021-10-13 00:43:05 +00:00
PipelineLayout.cpp Improve errors in BindGroupLayout, BindingInfo 2021-10-19 16:14:51 +00:00
PipelineLayout.h Overridable constants vulkan implementation and tests 2021-09-28 20:15:52 +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 Revert "Improve validation errors for encoders" 2021-10-21 23:14:54 +00:00
ProgrammablePassEncoder.h Refactors dawn_native objects for list tracking and adds destroy skeleton API. 2021-09-28 15:40:01 +00:00
QueryHelper.cpp Fix internal storage buffer usage 2021-07-02 09:51:18 +00:00
QueryHelper.h Fix query index of availability in timestamp shader 2021-05-18 01:13:08 +00:00
QuerySet.cpp Rename "extension" to "feature" 2021-10-04 11:30:02 +00:00
QuerySet.h Refactors dawn_native objects for list tracking and adds destroy skeleton API. 2021-09-28 15:40:01 +00:00
Queue.cpp Various validation error improvements 2021-10-20 17:42:38 +00:00
Queue.h Refactors dawn_native objects for list tracking and adds destroy skeleton API. 2021-09-28 15:40:01 +00:00
RenderBundle.cpp Add validation rule for depth/stencil between bundle and pass 2021-10-19 21:10:23 +00:00
RenderBundle.h Add validation rule for depth/stencil between bundle and pass 2021-10-19 21:10:23 +00:00
RenderBundleEncoder.cpp Revert "Improve validation errors for encoders" 2021-10-21 23:14:54 +00:00
RenderBundleEncoder.h Refactors dawn_native objects for list tracking and adds destroy skeleton API. 2021-09-28 15:40:01 +00:00
RenderEncoderBase.cpp Revert "Disable DrawIndexedIndirect" 2021-10-25 16:16:53 +00:00
RenderEncoderBase.h Add validation rule for depth/stencil between bundle and pass 2021-10-19 21:10:23 +00:00
RenderPassEncoder.cpp Add validation rule for depth/stencil between bundle and pass 2021-10-19 21:10:23 +00:00
RenderPassEncoder.h Add validation rule for depth/stencil between pipeline and pass 2021-10-14 04:09:21 +00:00
RenderPipeline.cpp Add validation rule for depth/stencil between pipeline and render bundle 2021-10-18 16:57:31 +00:00
RenderPipeline.h Add validation rule for depth/stencil between pipeline and render bundle 2021-10-18 16:57:31 +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 Rolling build dependencies for new d3dcompiler_47.dll 2021-06-23 09:22:22 +00:00
RingBufferAllocator.cpp Triage Dawn TODOs 2021-06-07 18:23:52 +00:00
RingBufferAllocator.h Rolling build dependencies for new d3dcompiler_47.dll 2021-06-23 09:22:22 +00:00
Sampler.cpp Improve validation errors for Sampler 2021-10-05 01:09:00 +00:00
Sampler.h Refactors dawn_native objects for list tracking and adds destroy skeleton API. 2021-09-28 15:40:01 +00:00
ScratchBuffer.cpp Implement drawIndexedIndirect validation 2021-09-23 00:15:19 +00:00
ScratchBuffer.h Implement drawIndexedIndirect validation 2021-09-23 00:15:19 +00:00
ShaderModule.cpp Mark pipeline overridable constants as unsafe 2021-10-26 02:06:36 +00:00
ShaderModule.h D3D12: Support [[num_workgroups]] for Dispatch 2021-10-20 00:58:48 +00:00
SpirvValidation.cpp Improve validation messages for surface/swap chain 2021-10-21 19:25:04 +00:00
SpirvValidation.h Validate SPIRV produced by Tint 2021-08-12 05:20:48 +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 Fix all GCC 10 warnings 2021-09-23 17:34:53 +00:00
Subresource.h Add GPUExternalTexture Types 2021-04-01 20:46:42 +00:00
SubresourceStorage.h Enable -Wunused-but-set-variable. 2021-07-27 18:42:59 +00:00
Surface.cpp Improving Vulkan backend validation messages. 2021-10-21 23:45:54 +00:00
Surface.h Improving Vulkan backend validation messages. 2021-10-21 23:45:54 +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 Improve validation messages for surface/swap chain 2021-10-21 19:25:04 +00:00
SwapChain.h Refactors dawn_native objects for list tracking and adds destroy skeleton API. 2021-09-28 15:40:01 +00:00
Texture.cpp Remove several compile-time constants in favor of limits 2021-10-13 18:57:18 +00:00
Texture.h Track read-only depth/stencil attachment as read-only usage 2021-10-01 01:45:14 +00:00
TintUtils.cpp Allow Dawn to surface Tint internal compiler errors as uncaptured validation errors 2021-03-25 15:37:44 +00:00
TintUtils.h Allow Dawn to surface Tint internal compiler errors as uncaptured validation errors 2021-03-25 15:37:44 +00:00
ToBackend.h dawn_native: Use refcount-safe methods for reentrant object creation 2021-04-19 08:52:35 +00:00
Toggles.cpp Support vertex-only render pipeline 2021-09-15 03:17:42 +00:00
Toggles.h Support vertex-only render pipeline 2021-09-15 03:17:42 +00:00
VertexFormat.cpp Replace VertexFormatUtils with a dawn_native table of formats 2021-07-22 08:57:29 +00:00
VertexFormat.h Replace VertexFormatUtils with a dawn_native table of formats 2021-07-22 08:57:29 +00:00
XlibXcbFunctions.cpp Reland "Vulkan: Fallback to XCB for Xlib surfaces" 2021-02-11 08:26:38 +00:00
XlibXcbFunctions.h Reland "Vulkan: Fallback to XCB for Xlib surfaces" 2021-02-11 08:26:38 +00:00
dawn_platform.h Refactor/remove dawn-defined buffer and texture usages 2021-10-01 16:20:35 +00:00