forked from gpuweb/cts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compat: Limit draw test attributes in compat (gpuweb#2954)
In compat mode, @Builtin(vertex_index) and @Builtin(instance_index) each take an attribute so adjust this test to account for that. I don't know if this test should be refactored to make sure 16 attributes are tested (So without using the builtins). My feeling is this is probably fine? The test in webgpu/compat/api/validation/encoding/render_pipeline/vertex_state.spec.ts does a simple test that you can create a pipeline with maxVertexAttributes but it does not actually draw with that pipeline.
- Loading branch information
Showing
1 changed file
with
27 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters