summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/mozilla/tests/webgpu/common/internal/tree.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/mozilla/tests/webgpu/common/internal/tree.js')
-rw-r--r--testing/web-platform/mozilla/tests/webgpu/common/internal/tree.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/webgpu/common/internal/tree.js b/testing/web-platform/mozilla/tests/webgpu/common/internal/tree.js
index 8f1e6bad66..3b33542752 100644
--- a/testing/web-platform/mozilla/tests/webgpu/common/internal/tree.js
+++ b/testing/web-platform/mozilla/tests/webgpu/common/internal/tree.js
@@ -286,6 +286,7 @@ loader,
queryToLoad,
{
subqueriesToExpand,
+ fullyExpandSubtrees = [],
maxChunkTime = Infinity
})
{
@@ -303,6 +304,10 @@ queryToLoad,
// If toExpand == subquery, no expansion is needed (but it's still "seen").
if (ordering === Ordering.Equal) seenSubqueriesToExpand[i] = true;
return ordering !== Ordering.StrictSubset;
+ }) &&
+ fullyExpandSubtrees.every((toExpand) => {
+ const ordering = compareQueries(toExpand, subquery);
+ return ordering === Ordering.Unordered;
});
// L0 = suite-level, e.g. suite:*