d3d11: enable some d3d11 end2end tests

Bug: dawn:1705
Change-Id: Id990739ec3905f146aeff2086b4c019b21798fdf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/128761
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Peng Huang <penghuang@chromium.org>
This commit is contained in:
Peng Huang 2023-04-24 19:48:47 +00:00 committed by Dawn LUCI CQ
parent d36740509f
commit 653e99478e
21 changed files with 23 additions and 0 deletions

View File

@ -59,6 +59,7 @@ TEST_P(BasicTests, QueueWriteBufferError) {
}
DAWN_INSTANTIATE_TEST(BasicTests,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
OpenGLBackend(),

View File

@ -93,6 +93,7 @@ TEST_P(ClipSpaceTest, ClipSpace) {
}
DAWN_INSTANTIATE_TEST(ClipSpaceTest,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
OpenGLBackend(),

View File

@ -127,6 +127,7 @@ TEST_P(CullingTest, CullBackFaceWhenCWIsFrontFace) {
}
DAWN_INSTANTIATE_TEST(CullingTest,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
OpenGLBackend(),

View File

@ -46,6 +46,7 @@ TEST_P(DebugMarkerTests, NoFailureWithoutDebugToolAttached) {
}
DAWN_INSTANTIATE_TEST(DebugMarkerTests,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
OpenGLBackend(),

View File

@ -390,6 +390,7 @@ TEST_P(DepthBiasTests, PositiveSlopeBiasOn24bit) {
}
DAWN_INSTANTIATE_TEST(DepthBiasTests,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
OpenGLBackend(),

View File

@ -213,6 +213,7 @@ TEST_P(DestroyTest, GetQueueAfterDeviceDestroy) {
}
DAWN_INSTANTIATE_TEST(DestroyTest,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
OpenGLBackend(),

View File

@ -509,6 +509,7 @@ TEST_P(DeviceLifetimeTests, DropDevice2InProcessEvents) {
}
DAWN_INSTANTIATE_TEST(DeviceLifetimeTests,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
NullBackend(),

View File

@ -533,6 +533,7 @@ TEST_P(DeviceLostTest, SetLabelAfterDeviceLoss) {
}
DAWN_INSTANTIATE_TEST(DeviceLostTest,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
NullBackend(),

View File

@ -156,6 +156,7 @@ TEST_P(DrawIndexedTest, BaseVertex) {
}
DAWN_INSTANTIATE_TEST(DrawIndexedTest,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
OpenGLBackend(),

View File

@ -101,6 +101,7 @@ TEST_P(DrawTest, Uint32) {
}
DAWN_INSTANTIATE_TEST(DrawTest,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
OpenGLBackend(),

View File

@ -473,18 +473,21 @@ TEST_P(LineStripPrimitiveRestartTests, Uint16PrimitiveRestart) {
}
DAWN_INSTANTIATE_TEST(IndexFormatTest,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
OpenGLBackend(),
OpenGLESBackend(),
VulkanBackend());
DAWN_INSTANTIATE_TEST(TriangleStripPrimitiveRestartTests,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
OpenGLBackend(),
OpenGLESBackend(),
VulkanBackend());
DAWN_INSTANTIATE_TEST(LineStripPrimitiveRestartTests,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
OpenGLBackend(),

View File

@ -445,6 +445,7 @@ TEST_P(ObjectCachingTest, SamplerDeduplication) {
}
DAWN_INSTANTIATE_TEST(ObjectCachingTest,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
OpenGLBackend(),

View File

@ -639,6 +639,7 @@ TEST_P(SinglePipelineCachingTests, RenderPipelineBlobCacheIsolationKey) {
}
DAWN_INSTANTIATE_TEST(SinglePipelineCachingTests,
D3D11Backend(),
D3D12Backend(),
D3D12Backend({"use_dxc"}),
MetalBackend(),

View File

@ -357,6 +357,7 @@ TEST_P(DepthClippingTest, UnclippedNotClamped) {
}
DAWN_INSTANTIATE_TEST(DepthClippingTest,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
OpenGLBackend(),

View File

@ -298,6 +298,7 @@ TEST_P(PrimitiveTopologyTest, TriangleStrip) {
}
DAWN_INSTANTIATE_TEST(PrimitiveTopologyTest,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
OpenGLBackend(),

View File

@ -205,6 +205,7 @@ TEST_P(SamplerTest, PassThroughUserFunctionParameters) {
}
DAWN_INSTANTIATE_TEST(SamplerTest,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
OpenGLBackend(),

View File

@ -152,6 +152,7 @@ TEST_P(ScissorTest, NoInheritanceBetweenRenderPass) {
}
DAWN_INSTANTIATE_TEST(ScissorTest,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
OpenGLBackend(),

View File

@ -1460,6 +1460,7 @@ fn main(@location(0) value : f32) -> @location(0) vec4f {
}
DAWN_INSTANTIATE_TEST(ShaderTests,
D3D11Backend(),
D3D12Backend(),
D3D12Backend({"use_dxc"}),
MetalBackend(),

View File

@ -375,6 +375,7 @@ TEST_P(WorkgroupSizeValidationTest, ValidationAfterOverrideStorageSize) {
}
DAWN_INSTANTIATE_TEST(WorkgroupSizeValidationTest,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
NullBackend(),

View File

@ -392,6 +392,7 @@ TEST_P(SwapChainWithAdditionalUsageTests, ErrorIncludeUnsupportedUsage) {
DAWN_INSTANTIATE_TEST(SwapChainTests, MetalBackend(), VulkanBackend());
DAWN_INSTANTIATE_TEST(SwapChainWithAdditionalUsageTests,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
NullBackend(),

View File

@ -59,6 +59,7 @@ TEST_P(ViewportOrientationTests, OriginAt0x0) {
}
DAWN_INSTANTIATE_TEST(ViewportOrientationTests,
D3D11Backend(),
D3D12Backend(),
MetalBackend(),
OpenGLBackend(),