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