Skip to content

Commit 3d9b755

Browse files
author
csmartdalton
committed
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)
1 parent b4defef commit 3d9b755

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.rive_head

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6f306199cad05604ab7c0293b5268e00ca1abc84
1+
792049458cf90c0fb3f06a34080db079281bd2e7

submodules/rive-cpp

0 commit comments

Comments
 (0)