Moar testing on OpenGL ES backend.
This CL enables the GLES backend on all the remaining tests for which the desktop OpenGL backend is enabled. Bug: dawn:580 Change-Id: Iab0d13299d58d17749a3405d25d27da7ba4077fa Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/39320 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Stephen White <senorblanco@chromium.org>
This commit is contained in:
parent
f1e81a87c8
commit
7bfb3ed2c6
|
@ -437,6 +437,7 @@ DAWN_INSTANTIATE_TEST(BufferMappingTests,
|
||||||
D3D12Backend(),
|
D3D12Backend(),
|
||||||
MetalBackend(),
|
MetalBackend(),
|
||||||
OpenGLBackend(),
|
OpenGLBackend(),
|
||||||
|
OpenGLESBackend(),
|
||||||
VulkanBackend());
|
VulkanBackend());
|
||||||
|
|
||||||
class BufferMappedAtCreationTests : public DawnTest {
|
class BufferMappedAtCreationTests : public DawnTest {
|
||||||
|
@ -691,6 +692,7 @@ DAWN_INSTANTIATE_TEST(BufferMappedAtCreationTests,
|
||||||
D3D12Backend({}, {"use_d3d12_resource_heap_tier2"}),
|
D3D12Backend({}, {"use_d3d12_resource_heap_tier2"}),
|
||||||
MetalBackend(),
|
MetalBackend(),
|
||||||
OpenGLBackend(),
|
OpenGLBackend(),
|
||||||
|
OpenGLESBackend(),
|
||||||
VulkanBackend());
|
VulkanBackend());
|
||||||
|
|
||||||
class BufferTests : public DawnTest {};
|
class BufferTests : public DawnTest {};
|
||||||
|
|
|
@ -1248,4 +1248,5 @@ DAWN_INSTANTIATE_TEST(BufferZeroInitTest,
|
||||||
D3D12Backend({"nonzero_clear_resources_on_creation_for_testing"}),
|
D3D12Backend({"nonzero_clear_resources_on_creation_for_testing"}),
|
||||||
MetalBackend({"nonzero_clear_resources_on_creation_for_testing"}),
|
MetalBackend({"nonzero_clear_resources_on_creation_for_testing"}),
|
||||||
OpenGLBackend({"nonzero_clear_resources_on_creation_for_testing"}),
|
OpenGLBackend({"nonzero_clear_resources_on_creation_for_testing"}),
|
||||||
|
OpenGLESBackend({"nonzero_clear_resources_on_creation_for_testing"}),
|
||||||
VulkanBackend({"nonzero_clear_resources_on_creation_for_testing"}));
|
VulkanBackend({"nonzero_clear_resources_on_creation_for_testing"}));
|
||||||
|
|
|
@ -481,9 +481,11 @@ DAWN_INSTANTIATE_TEST(TriangleStripPrimitiveRestartTests,
|
||||||
D3D12Backend(),
|
D3D12Backend(),
|
||||||
MetalBackend(),
|
MetalBackend(),
|
||||||
OpenGLBackend(),
|
OpenGLBackend(),
|
||||||
|
OpenGLESBackend(),
|
||||||
VulkanBackend());
|
VulkanBackend());
|
||||||
DAWN_INSTANTIATE_TEST(LineStripPrimitiveRestartTests,
|
DAWN_INSTANTIATE_TEST(LineStripPrimitiveRestartTests,
|
||||||
D3D12Backend(),
|
D3D12Backend(),
|
||||||
MetalBackend(),
|
MetalBackend(),
|
||||||
OpenGLBackend(),
|
OpenGLBackend(),
|
||||||
|
OpenGLESBackend(),
|
||||||
VulkanBackend());
|
VulkanBackend());
|
||||||
|
|
|
@ -135,5 +135,7 @@ DAWN_INSTANTIATE_TEST(NonzeroBufferCreationTests,
|
||||||
{"lazy_clear_resource_on_first_use"}),
|
{"lazy_clear_resource_on_first_use"}),
|
||||||
OpenGLBackend({"nonzero_clear_resources_on_creation_for_testing"},
|
OpenGLBackend({"nonzero_clear_resources_on_creation_for_testing"},
|
||||||
{"lazy_clear_resource_on_first_use"}),
|
{"lazy_clear_resource_on_first_use"}),
|
||||||
|
OpenGLESBackend({"nonzero_clear_resources_on_creation_for_testing"},
|
||||||
|
{"lazy_clear_resource_on_first_use"}),
|
||||||
VulkanBackend({"nonzero_clear_resources_on_creation_for_testing"},
|
VulkanBackend({"nonzero_clear_resources_on_creation_for_testing"},
|
||||||
{"lazy_clear_resource_on_first_use"}));
|
{"lazy_clear_resource_on_first_use"}));
|
||||||
|
|
|
@ -293,5 +293,7 @@ DAWN_INSTANTIATE_TEST(NonzeroTextureCreationTests,
|
||||||
{"lazy_clear_resource_on_first_use"}),
|
{"lazy_clear_resource_on_first_use"}),
|
||||||
OpenGLBackend({"nonzero_clear_resources_on_creation_for_testing"},
|
OpenGLBackend({"nonzero_clear_resources_on_creation_for_testing"},
|
||||||
{"lazy_clear_resource_on_first_use"}),
|
{"lazy_clear_resource_on_first_use"}),
|
||||||
|
OpenGLESBackend({"nonzero_clear_resources_on_creation_for_testing"},
|
||||||
|
{"lazy_clear_resource_on_first_use"}),
|
||||||
VulkanBackend({"nonzero_clear_resources_on_creation_for_testing"},
|
VulkanBackend({"nonzero_clear_resources_on_creation_for_testing"},
|
||||||
{"lazy_clear_resource_on_first_use"}));
|
{"lazy_clear_resource_on_first_use"}));
|
||||||
|
|
|
@ -1243,5 +1243,6 @@ TEST_P(StorageTextureZeroInitTests, WriteonlyStorageTextureClearsToZeroInCompute
|
||||||
DAWN_INSTANTIATE_TEST(StorageTextureZeroInitTests,
|
DAWN_INSTANTIATE_TEST(StorageTextureZeroInitTests,
|
||||||
D3D12Backend({"nonzero_clear_resources_on_creation_for_testing"}),
|
D3D12Backend({"nonzero_clear_resources_on_creation_for_testing"}),
|
||||||
OpenGLBackend({"nonzero_clear_resources_on_creation_for_testing"}),
|
OpenGLBackend({"nonzero_clear_resources_on_creation_for_testing"}),
|
||||||
|
OpenGLESBackend({"nonzero_clear_resources_on_creation_for_testing"}),
|
||||||
MetalBackend({"nonzero_clear_resources_on_creation_for_testing"}),
|
MetalBackend({"nonzero_clear_resources_on_creation_for_testing"}),
|
||||||
VulkanBackend({"nonzero_clear_resources_on_creation_for_testing"}));
|
VulkanBackend({"nonzero_clear_resources_on_creation_for_testing"}));
|
||||||
|
|
|
@ -1687,6 +1687,7 @@ DAWN_INSTANTIATE_TEST(TextureZeroInitTest,
|
||||||
D3D12Backend({"nonzero_clear_resources_on_creation_for_testing"},
|
D3D12Backend({"nonzero_clear_resources_on_creation_for_testing"},
|
||||||
{"use_d3d12_render_pass"}),
|
{"use_d3d12_render_pass"}),
|
||||||
OpenGLBackend({"nonzero_clear_resources_on_creation_for_testing"}),
|
OpenGLBackend({"nonzero_clear_resources_on_creation_for_testing"}),
|
||||||
|
OpenGLESBackend({"nonzero_clear_resources_on_creation_for_testing"}),
|
||||||
MetalBackend({"nonzero_clear_resources_on_creation_for_testing"}),
|
MetalBackend({"nonzero_clear_resources_on_creation_for_testing"}),
|
||||||
VulkanBackend({"nonzero_clear_resources_on_creation_for_testing"}));
|
VulkanBackend({"nonzero_clear_resources_on_creation_for_testing"}));
|
||||||
|
|
||||||
|
|
|
@ -924,4 +924,5 @@ DAWN_INSTANTIATE_TEST(VertexFormatTest,
|
||||||
D3D12Backend(),
|
D3D12Backend(),
|
||||||
MetalBackend(),
|
MetalBackend(),
|
||||||
OpenGLBackend(),
|
OpenGLBackend(),
|
||||||
|
OpenGLESBackend(),
|
||||||
VulkanBackend());
|
VulkanBackend());
|
||||||
|
|
|
@ -617,6 +617,7 @@ DAWN_INSTANTIATE_TEST(VertexStateTest,
|
||||||
D3D12Backend(),
|
D3D12Backend(),
|
||||||
MetalBackend(),
|
MetalBackend(),
|
||||||
OpenGLBackend(),
|
OpenGLBackend(),
|
||||||
|
OpenGLESBackend(),
|
||||||
VulkanBackend());
|
VulkanBackend());
|
||||||
|
|
||||||
// TODO for the input state:
|
// TODO for the input state:
|
||||||
|
@ -675,4 +676,5 @@ DAWN_INSTANTIATE_TEST(OptionalVertexStateTest,
|
||||||
D3D12Backend(),
|
D3D12Backend(),
|
||||||
MetalBackend(),
|
MetalBackend(),
|
||||||
OpenGLBackend(),
|
OpenGLBackend(),
|
||||||
|
OpenGLESBackend(),
|
||||||
VulkanBackend());
|
VulkanBackend());
|
||||||
|
|
Loading…
Reference in New Issue