Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add border segments to the opaque render pass where possible.
Use the new per-segment instance data to allow specifying a per-segment opacity value. This is used for border segments to specify which border segments are opaque. Any time we move segments or primitives to the opaque pass is typically a significant GPU time win due to the reduced overdraw. It's also a CPU optimization during batching.
- Loading branch information
Showing
4 changed files
with
57 additions
and
6 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
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
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
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