Skip to content

Commit bec6e0a

Browse files
author
JoshJRive
committed
feat(vulkan): Add ability to pre-build draw pipelines (#11945) 15be2c7178
Add two new functions to RenderContextVulkanImpl: preparePipelines: Given an interlock mode, framebuffer props, and a load action, kick off all of the valid ubershaders pipelines for that combination waitForAllPipelines: Waits for any pipelines that are currently building in the background to complete. With these it is now possible to kick off any pipelines that you might need and let them finish before trying to render, to avoid there being any stalls at runtime when we don't have an ubershader. fix(gl): Only use linear filtering when supported (#11975) 22eca6b13d Turns out, linear filtering isn't always supported on float textures. When it isn't, resolve the atlas texture into a separate GL_R8 texture for filtering. This change also takes the initiative to resolve all non-float atlas formats to GL_R8 so we can remove the "TEXTURE_GATHER" logic and just do a simple linear texture sample on the atlas.
1 parent af1490b commit bec6e0a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.rive_head

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
46c241d1974a2e5c136b93dcfad8a7eec207f025
1+
15be2c71781f7ffc03ed4cbcf6fe2a79dcb291fe

submodules/rive-runtime

Submodule rive-runtime updated 34 files

0 commit comments

Comments
 (0)