From 7e9b2d9de2178248807b78d906998fb35cf97441 Mon Sep 17 00:00:00 2001 From: Loko Kung Date: Mon, 29 Jan 2024 17:59:37 -0800 Subject: [PATCH] Pass adapter limit maxTextureArrayLayers for OOM tests. --- src/webgpu/api/validation/error_scope.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/webgpu/api/validation/error_scope.spec.ts b/src/webgpu/api/validation/error_scope.spec.ts index feff00cf36a6..8a8369dc3b61 100644 --- a/src/webgpu/api/validation/error_scope.spec.ts +++ b/src/webgpu/api/validation/error_scope.spec.ts @@ -33,6 +33,7 @@ class ErrorScopeTests extends Fixture { await adapter.requestDevice({ requiredLimits: { maxTextureDimension2D: adapter.limits.maxTextureDimension2D, + maxTextureArrayLayers: adapter.limits.maxTextureArrayLayers, }, }) );