mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 18:29:23 +00:00
Move test parameterization macro from DawnPerfTest to DawnTest
Also add macros to make it easier to generate a params struct. This makes it possible to generate parameterized tests in dawn_end2end_tests Bug: none Change-Id: I009475dcc08a5274f5871237a363489cff7298f1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/51000 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
|
||||
#include "tests/perf_tests/DawnPerfTest.h"
|
||||
|
||||
#include "tests/ParamGenerator.h"
|
||||
#include "utils/ComboRenderPipelineDescriptor.h"
|
||||
#include "utils/WGPUHelpers.h"
|
||||
|
||||
@@ -146,8 +145,7 @@ TEST_P(SubresourceTrackingPerf, Run) {
|
||||
RunTest();
|
||||
}
|
||||
|
||||
DAWN_INSTANTIATE_PERF_TEST_SUITE_P(SubresourceTrackingPerf,
|
||||
{D3D12Backend(), MetalBackend(), OpenGLBackend(),
|
||||
VulkanBackend()},
|
||||
{1, 4, 16, 256},
|
||||
{2, 3, 8});
|
||||
DAWN_INSTANTIATE_TEST_P(SubresourceTrackingPerf,
|
||||
{D3D12Backend(), MetalBackend(), OpenGLBackend(), VulkanBackend()},
|
||||
{1, 4, 16, 256},
|
||||
{2, 3, 8});
|
||||
|
||||
Reference in New Issue
Block a user