Skip to content

Commit

Permalink
Use max limits
Browse files Browse the repository at this point in the history
This test might break on devices with higher limits
but in that case the test should be fixed.
  • Loading branch information
greggman committed Dec 19, 2024
1 parent 756fc74 commit eceff4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webgpu/api/operation/vertex_state/correctness.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit eceff4e

Please sign in to comment.