forked from gpuweb/cts
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vertex state correctness (gpuweb#4109)
Refactor these tests so they don't use storage buffers. The tests were using one uniform or storage buffer per vertex attribute. Switched to using just a single uniform buffer. Note: There was a note about increasign the vertex count by +1 in vertex_buffer_used_multiple_times_interleaved. I don't know if that's old because removing the +1 there are a few lines below does not break the test nor generate any validation errors. The reason I needed to remove it was the code that packs the data into a single buffer needed the size of each buffer to match kVertexCount but that particular test was passing +1 in some places and not in others. * Use max limits This test might break on devices with higher limits but in that case the test should be fixed.
- Loading branch information
Showing
1 changed file
with
28 additions
and
31 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