dawn-cmake/src/dawn/tests/end2end
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
..
mocks Removes device from load/store in caching interface. 2022-05-03 02:53:33 +00:00
AdapterDiscoveryTests.cpp Begin auto generating GPUInfo utilities 2022-05-26 23:47:39 +00:00
BasicTests.cpp tint->dawn: Move src/dawn_tests -> src/dawn/tests 2022-02-09 14:54:31 +00:00
BindGroupTests.cpp ANGLE/D3D11: reenable now-passing bind groups tests. 2022-05-27 22:32:06 +00:00
BufferTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
BufferZeroInitTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
ClipSpaceTests.cpp Updating names of attachment clear values 2022-02-19 00:44:12 +00:00
ColorStateTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
CommandEncoderTests.cpp tint->dawn: Move src/dawn_tests -> src/dawn/tests 2022-02-09 14:54:31 +00:00
CompressedTextureFormatTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
ComputeCopyStorageBufferTests.cpp ANGLE/D3D11: remove suppression for SizedArrayOfStruct test. 2022-05-26 15:12:00 +00:00
ComputeDispatchTests.cpp Skip several dawn_end2end_tests on specific platforms 2022-05-23 01:07:53 +00:00
ComputeLayoutMemoryBufferTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
ComputeSharedMemoryTests.cpp ANGLE/D3D11: remove a test suppression for a now-passing test. 2022-05-26 15:03:57 +00:00
ComputeStorageBufferBarrierTests.cpp ANGLE/D3D11: remove suppression for now-passing test. 2022-05-26 22:24:25 +00:00
CopyTests.cpp Switch ANGLE backend to D3D11 on Windows for DawnTest. 2022-05-20 17:16:21 +00:00
CopyTextureForBrowserTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
CreatePipelineAsyncTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
CullingTests.cpp Updating names of attachment clear values 2022-02-19 00:44:12 +00:00
D3D12CachingTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
D3D12ResourceWrappingTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
DebugMarkerTests.cpp tint->dawn: Move src/dawn_tests -> src/dawn/tests 2022-02-09 14:54:31 +00:00
DeprecatedAPITests.cpp Deprecate dispatch* in favor of dispatchWorkgroups* 2022-04-29 17:51:54 +00:00
DepthBiasTests.cpp OpenGLES: disable some end2end tests which require reading from depth textures. 2022-05-04 23:43:19 +00:00
DepthStencilCopyTests.cpp Switch ANGLE backend to D3D11 on Windows for DawnTest. 2022-05-20 17:16:21 +00:00
DepthStencilLoadOpTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
DepthStencilSamplingTests.cpp Switch ANGLE backend to D3D11 on Windows for DawnTest. 2022-05-20 17:16:21 +00:00
DepthStencilStateTests.cpp Fix build/include_what_you_use 2022-04-20 00:58:34 +00:00
DestroyTests.cpp Move clearing DeviceBase::mQueue from Destroy() to WillDropLastExternalRef 2022-05-24 07:04:25 +00:00
DeviceInitializationTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
DeviceLifetimeTests.cpp Remove device-child wire hack and enable DeviceLifetimeTests on the wire 2022-05-24 13:23:33 +00:00
DeviceLostTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
DrawIndexedIndirectTests.cpp Deprecate dispatch* in favor of dispatchWorkgroups* 2022-04-29 17:51:54 +00:00
DrawIndexedTests.cpp tint->dawn: Move src/dawn_tests -> src/dawn/tests 2022-02-09 14:54:31 +00:00
DrawIndirectTests.cpp D3D12: Duplicate first/baseVertex on Draw[Indexed]Indirect 2022-04-21 02:25:35 +00:00
DrawTests.cpp tint->dawn: Move src/dawn_tests -> src/dawn/tests 2022-02-09 14:54:31 +00:00
DynamicBufferOffsetTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
EntryPointTests.cpp Deprecate dispatch* in favor of dispatchWorkgroups* 2022-04-29 17:51:54 +00:00
ExperimentalDP4aTests.cpp Vulkan: Support feature chromium_experimental_dp4a 2022-05-27 00:38:55 +00:00
ExternalTextureTests.cpp Make External Texture ColorSpace Conversion Configurable 2022-05-19 17:44:29 +00:00
FirstIndexOffsetTests.cpp dawn/native: Add support for feature "indirect-first-instance" 2022-06-01 06:14:07 +00:00
GpuMemorySynchronizationTests.cpp Deprecate dispatch* in favor of dispatchWorkgroups* 2022-04-29 17:51:54 +00:00
IOSurfaceWrappingTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
IndexFormatTests.cpp Updated the syntax for WGSL structs in all tests. 2022-04-05 18:41:23 +00:00
MaxLimitTests.cpp Deprecate dispatch* in favor of dispatchWorkgroups* 2022-04-29 17:51:54 +00:00
MemoryAllocationStressTests.cpp tint->dawn: Move src/dawn_tests -> src/dawn/tests 2022-02-09 14:54:31 +00:00
MultisampledRenderingTests.cpp Remove test suppressions due to SPIRV-Cross 2022-04-27 11:15:12 +00:00
MultisampledSamplingTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
NonzeroBufferCreationTests.cpp Fixup build/include_order issues in src/dawn. 2022-04-19 20:38:44 +00:00
NonzeroTextureCreationTests.cpp [warnings] Add -Wunused-macros 2022-05-10 13:31:16 +00:00
ObjectCachingTests.cpp tint->dawn: Move src/dawn_tests -> src/dawn/tests 2022-02-09 14:54:31 +00:00
OpArrayLengthTests.cpp Switch ANGLE backend to D3D11 on Windows for DawnTest. 2022-05-20 17:16:21 +00:00
PipelineCachingTests.cpp Pipeline cache D3D12 backend impl 2022-06-02 15:16:20 +00:00
PipelineLayoutTests.cpp Fixup build/include_order issues in src/dawn. 2022-04-19 20:38:44 +00:00
PrimitiveStateTests.cpp Fix build/include_what_you_use 2022-04-20 00:58:34 +00:00
PrimitiveTopologyTests.cpp Fix build/include_what_you_use 2022-04-20 00:58:34 +00:00
QueryTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
QueueTests.cpp Fix build/include_what_you_use 2022-04-20 00:58:34 +00:00
QueueTimelineTests.cpp Fix build/namespaces issues 2022-04-21 16:46:56 +00:00
ReadOnlyDepthStencilAttachmentTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
RenderAttachmentTests.cpp Updated the syntax for WGSL structs in all tests. 2022-04-05 18:41:23 +00:00
RenderBundleTests.cpp Updated the syntax for WGSL structs in all tests. 2022-04-05 18:41:23 +00:00
RenderPassLoadOpTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
RenderPassTests.cpp Add MetalRenderR8RG8UnormSmallMipToTempTexture workaround 2022-04-28 19:00:53 +00:00
RequiredBufferSizeInCopyTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
SamplerFilterAnisotropicTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
SamplerTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
ScissorTests.cpp tint->dawn: Move src/dawn_tests -> src/dawn/tests 2022-02-09 14:54:31 +00:00
ShaderFloat16Tests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
ShaderTests.cpp Switch ANGLE backend to D3D11 on Windows for DawnTest. 2022-05-20 17:16:21 +00:00
StorageTextureTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
SubresourceRenderAttachmentTests.cpp OpenGLES: disable some end2end tests which require reading from depth textures. 2022-05-04 23:43:19 +00:00
SwapChainTests.cpp Add multiple device testing capability in DawnTest. 2022-04-28 21:55:33 +00:00
SwapChainValidationTests.cpp Return an error surface if surface creation fails 2022-05-31 20:55:39 +00:00
Texture3DTests.cpp Fix build/include_what_you_use 2022-04-20 00:58:34 +00:00
TextureFormatTests.cpp Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
TextureSubresourceTests.cpp Fix readability/todo issues. 2022-04-21 20:48:11 +00:00
TextureViewTests.cpp Remove TextureView test suppressions for Mac AMD 2022-05-26 22:51:05 +00:00
TextureZeroInitTests.cpp Skip several dawn_end2end_tests on specific platforms 2022-05-23 01:07:53 +00:00
VertexFormatTests.cpp Remove test suppressions due to SPIRV-Cross 2022-04-27 11:15:12 +00:00
VertexOnlyRenderPipelineTests.cpp Fix inclusive language presubmit 2022-04-19 22:25:45 +00:00
VertexStateTests.cpp Record zero-attribute vertex buffer when creating render pipeline 2022-05-26 01:26:34 +00:00
VideoViewsTests.cpp Add VideoViewsTests.CreateVideoTextureWithoutInitializedData 2022-05-24 03:01:15 +00:00
VideoViewsTests.h Add VideoViewsTests.CreateVideoTextureWithoutInitializedData 2022-05-24 03:01:15 +00:00
VideoViewsTests_gbm.cpp Explicit vkImage create to wrap video frame 2022-06-01 01:10:29 +00:00
VideoViewsTests_mac.cpp Add VideoViewsTests.CreateVideoTextureWithoutInitializedData 2022-05-24 03:01:15 +00:00
VideoViewsTests_win.cpp Add VideoViewsTests.CreateVideoTextureWithoutInitializedData 2022-05-24 03:01:15 +00:00
ViewportOrientationTests.cpp tint->dawn: Move src/dawn_tests -> src/dawn/tests 2022-02-09 14:54:31 +00:00
ViewportTests.cpp OpenGLES: disable some end2end tests which require reading from depth textures. 2022-05-04 23:43:19 +00:00
WindowSurfaceTests.cpp Return an error surface if surface creation fails 2022-05-31 20:55:39 +00:00