dawn-cmake/src/dawn/native/metal
shrekshao 4313dba514 Pipeline cache D3D12 backend impl
Add D3D12 pipeline caching impl: store cachedPSO blob in cached blob.
Record root signature ID3DBlob in cache key together with
D3D_SHADER_BYTECODE, D3D12_GRAPHICS_PIPELINE_STATE_DESC or
D3D12_COMPUTE_PIPELINE_STATE_DESC.

Shader caching is not added.

Add some pipeline caching negative tests.

Bug: dawn:549
Change-Id: Id1cb560b49f1cf495860e2e0bcf92d8d988c5379
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/91180
Auto-Submit: Shrek Shao <shrekshao@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Loko Kung <lokokung@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-06-02 15:16:20 +00:00
..
BackendMTL.h [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
BackendMTL.mm dawn/native: Add support for feature "indirect-first-instance" 2022-06-01 06:14:07 +00:00
BindGroupLayoutMTL.h [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
BindGroupLayoutMTL.mm [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
BindGroupMTL.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
BindGroupMTL.mm Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
BufferMTL.h [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
BufferMTL.mm Pipeline cache D3D12 backend impl 2022-06-02 15:16:20 +00:00
CommandBufferMTL.h [warnings] Add Wsuggest-override and Wsuggest-destructor-override. 2022-05-10 18:44:34 +00:00
CommandBufferMTL.mm [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
CommandRecordingContext.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
CommandRecordingContext.mm Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
ComputePipelineMTL.h [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
ComputePipelineMTL.mm [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
DeviceMTL.h dawn: Add shader module validation for WGSL extension 2022-05-06 08:51:12 +00:00
DeviceMTL.mm Fix race condition on metal backend with mCompletedSerial. 2022-05-11 15:15:55 +00:00
Forward.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
MetalBackend.mm Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
PipelineLayoutMTL.h [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
PipelineLayoutMTL.mm [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
QuerySetMTL.h [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
QuerySetMTL.mm [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
QueueMTL.h [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
QueueMTL.mm [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
RenderPipelineMTL.h [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
RenderPipelineMTL.mm Record zero-attribute vertex buffer when creating render pipeline 2022-05-26 01:26:34 +00:00
SamplerMTL.h [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
SamplerMTL.mm [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
ShaderModuleMTL.h [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
ShaderModuleMTL.mm [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
StagingBufferMTL.h [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
StagingBufferMTL.mm [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
SwapChainMTL.h [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
SwapChainMTL.mm [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
TextureMTL.h [chromium-style] Adding/moving constructors and destructors. 2022-05-09 22:22:18 +00:00
TextureMTL.mm Metal: use physical size to compute parameters for clearing with a copy 2022-05-13 18:53:27 +00:00
UtilsMetal.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
UtilsMetal.mm Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00