Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/graphics: optimization: remove boundary checks
Before: ``` $ go build -gcflags="-d=ssa/check_bce" ./internal/graphics internal/graphics/vertex.go:83:9: Found IsSliceInBounds internal/graphics/vertex.go:85:5: Found IsInBounds internal/graphics/vertex.go:86:5: Found IsInBounds ... ``` After: ``` $ go build -gcflags="-d=ssa/check_bce" ./internal/graphics internal/graphics/vertex.go:83:11: Found IsSliceInBounds internal/graphics/shader.go:134:37: Found IsSliceInBounds ``` Updates #2601
- Loading branch information