diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /dom/webgpu/tests/cts/checkout/src/stress/queries | |
parent | Initial commit. (diff) | |
download | firefox-esr-upstream.tar.xz firefox-esr-upstream.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/webgpu/tests/cts/checkout/src/stress/queries')
5 files changed, 114 insertions, 0 deletions
diff --git a/dom/webgpu/tests/cts/checkout/src/stress/queries/README.txt b/dom/webgpu/tests/cts/checkout/src/stress/queries/README.txt new file mode 100644 index 0000000000..fe466205c4 --- /dev/null +++ b/dom/webgpu/tests/cts/checkout/src/stress/queries/README.txt @@ -0,0 +1 @@ +Stress tests covering use of GPUQuerySet objects and related operations. diff --git a/dom/webgpu/tests/cts/checkout/src/stress/queries/occlusion.spec.ts b/dom/webgpu/tests/cts/checkout/src/stress/queries/occlusion.spec.ts new file mode 100644 index 0000000000..056d6bdaea --- /dev/null +++ b/dom/webgpu/tests/cts/checkout/src/stress/queries/occlusion.spec.ts @@ -0,0 +1,10 @@ +export const description = ` +Stress tests for occlusion queries. +`; + +import { makeTestGroup } from '../../common/framework/test_group.js'; +import { GPUTest } from '../../webgpu/gpu_test.js'; + +export const g = makeTestGroup(GPUTest); + +g.test('many').desc(`Tests a huge number of occlusion queries in a render pass.`).unimplemented(); diff --git a/dom/webgpu/tests/cts/checkout/src/stress/queries/pipeline_statistics.spec.ts b/dom/webgpu/tests/cts/checkout/src/stress/queries/pipeline_statistics.spec.ts new file mode 100644 index 0000000000..ce8a16f462 --- /dev/null +++ b/dom/webgpu/tests/cts/checkout/src/stress/queries/pipeline_statistics.spec.ts @@ -0,0 +1,38 @@ +export const description = ` +Stress tests for pipeline statistics queries. + +TODO: pipeline statistics queries are removed from core; consider moving tests to another suite. +`; + +import { makeTestGroup } from '../../common/framework/test_group.js'; +import { GPUTest } from '../../webgpu/gpu_test.js'; + +export const g = makeTestGroup(GPUTest); + +g.test('render_pass_one_query_set') + .desc( + `Tests a huge number of pipeline statistics queries over a single query set in a +single render pass.` + ) + .unimplemented(); + +g.test('render_pass_many_query_sets') + .desc( + `Tests a huge number of pipeline statistics queries over a huge number of query +sets in a single render pass.` + ) + .unimplemented(); + +g.test('compute_pass_one_query_set') + .desc( + `Tests a huge number of pipeline statistics queries over a single query set in a +single compute pass.` + ) + .unimplemented(); + +g.test('compute_pass_many_query_sets') + .desc( + `Tests a huge number of pipeline statistics queries over a huge number of query +sets in a single compute pass.` + ) + .unimplemented(); diff --git a/dom/webgpu/tests/cts/checkout/src/stress/queries/resolve.spec.ts b/dom/webgpu/tests/cts/checkout/src/stress/queries/resolve.spec.ts new file mode 100644 index 0000000000..da67977395 --- /dev/null +++ b/dom/webgpu/tests/cts/checkout/src/stress/queries/resolve.spec.ts @@ -0,0 +1,15 @@ +export const description = ` +Stress tests for query resolution. +`; + +import { makeTestGroup } from '../../common/framework/test_group.js'; +import { GPUTest } from '../../webgpu/gpu_test.js'; + +export const g = makeTestGroup(GPUTest); + +g.test('many_large_sets') + .desc( + `Tests a huge number of resolveQuerySet operations on a huge number of +query sets between render passes.` + ) + .unimplemented(); diff --git a/dom/webgpu/tests/cts/checkout/src/stress/queries/timestamps.spec.ts b/dom/webgpu/tests/cts/checkout/src/stress/queries/timestamps.spec.ts new file mode 100644 index 0000000000..da3e1eb472 --- /dev/null +++ b/dom/webgpu/tests/cts/checkout/src/stress/queries/timestamps.spec.ts @@ -0,0 +1,50 @@ +export const description = ` +Stress tests for timestamp queries. +`; + +import { makeTestGroup } from '../../common/framework/test_group.js'; +import { GPUTest } from '../../webgpu/gpu_test.js'; + +export const g = makeTestGroup(GPUTest); + +g.test('command_encoder_one_query_set') + .desc( + `Tests a huge number of timestamp queries over a single query set between render +passes on a single command encoder.` + ) + .unimplemented(); + +g.test('command_encoder_many_query_sets') + .desc( + `Tests a huge number of timestamp queries over many query sets between render +passes on a single command encoder.` + ) + .unimplemented(); + +g.test('render_pass_one_query_set') + .desc( + `Tests a huge number of timestamp queries over a single query set in a single +render pass.` + ) + .unimplemented(); + +g.test('render_pass_many_query_sets') + .desc( + `Tests a huge number of timestamp queries over a huge number of query sets in a +single render pass.` + ) + .unimplemented(); + +g.test('compute_pass_one_query_set') + .desc( + `Tests a huge number of timestamp queries over a single query set in a single +compute pass.` + ) + .unimplemented(); + +g.test('compute_pass_many_query_sets') + .desc( + `Tests a huge number of timestamp queries over a huge number of query sets in a +single compute pass.` + ) + .unimplemented(); |