-
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.
The code wasn't correctly discarding edge cases for negative texture coordinates. For example -2.5 sits in the center of a texel and for textureGather could go either left or right. We need to avoid that case. Also, textureGather always does `nearest` filtering mipmapFilter. This was fine as it was since it would always pass 0 for mipLevel which meant the 2nd mip level always provided zero contribution but arguably it should take the `nearest` path.
- Loading branch information
Showing
1 changed file
with
14 additions
and
3 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