Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/graphicscommand: clear uniform variables explicitly
This change is a performance optimization. (*uint32sBuffer).alloc doesn't clear the uniform values. Without clearing the values explicitly, CanMergeWithDrawTrianglesCommand might return false even though two commands can be merged.
- Loading branch information