From eceff4eb00681c2c3663817a026004e50a8c1671 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Thu, 19 Dec 2024 14:48:42 +0900 Subject: [PATCH] Use max limits This test might break on devices with higher limits but in that case the test should be fixed. --- src/webgpu/api/operation/vertex_state/correctness.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webgpu/api/operation/vertex_state/correctness.spec.ts b/src/webgpu/api/operation/vertex_state/correctness.spec.ts index ea5f1e9c76c..2ef947ba0cc 100644 --- a/src/webgpu/api/operation/vertex_state/correctness.spec.ts +++ b/src/webgpu/api/operation/vertex_state/correctness.spec.ts @@ -16,7 +16,7 @@ import { kVertexFormatInfo, kVertexFormats, } from '../../../capability_info.js'; -import { GPUTest } from '../../../gpu_test.js'; +import { GPUTest, MaxLimitsTestMixin } from '../../../gpu_test.js'; import { float32ToFloat16Bits, normalizedIntegerAsFloat } from '../../../util/conversion.js'; import { align, clamp } from '../../../util/math.js'; @@ -655,7 +655,7 @@ struct VSOutputs { } } -export const g = makeTestGroup(VertexStateTest); +export const g = makeTestGroup(MaxLimitsTestMixin(VertexStateTest)); g.test('vertex_format_to_shader_format_conversion') .desc(