-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delete the simple gradient texture transfer
The previous approach of transferring simple gradients directly to the texture, and then rendering complex gradients had various inefficiencies: * The texture resource had to be transitioned to and from TRANSFER_DST. * It required a pipeline barrier on the transfer stage. * The gradient texture had to be created with transfer capabilities. * Unnecessary code complexity. It also ran into platform bugs on various Android and Unreal environments. This PR just removes the texture transfer entirely and renders simple gradients at the same time we render complex ones. Rendering the simple ramps requires us to upload more data to the GPU, but the tradeoffs should be worth it. Diffs= 792049458c Delete the simple gradient texture transfer (#8844)
- Loading branch information
csmartdalton
committed
Jan 10, 2025
1 parent
afff4e6
commit 715678f
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 @@ | ||
a065ebe0464db4d8ed4dd28ff0d6b5e22b09405a | ||
792049458cf90c0fb3f06a34080db079281bd2e7 |
Submodule rive-runtime
updated
22 files