-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compat: Refactor vertex-state correctness test
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.
- Loading branch information
Showing
1 changed file
with
26 additions
and
29 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