-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize atomic rendering for input attachments
Pack clip data into an RGBA8 attachment and turn on src-over blending for both color and clip. Handle advanced blend modes by rearranging the math such that the correct color isn't reached until *AFTER* the hardware blend state is applied. This allows us to preserve clip and color contents by just emitting a=0 instead of loading the current value. It also saves flops by offloading the blending work onto the ROP blending unit, and serves as a hint to the hardware that it doesn't need to read or write anything when a == 0. Diffs= 1b5e50fce Optimize atomic rendering for input attachments (#8310)
- Loading branch information
csmartdalton
committed
Oct 11, 2024
1 parent
3042d4a
commit c53b66b
Showing
2 changed files
with
2 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1cc5f2b6f6cf02d15bcb3654343e4f3322a95402 | ||
1b5e50fcec4a38fc5056c0dff630d115f547cfb9 |
Submodule rive-runtime
updated
36 files