]> git.tdb.fi Git - libs/gl.git/commitdiff
Support multiple PipelineStates in Renderer
authorMikko Rasa <tdb@tdb.fi>
Mon, 17 Jan 2022 20:41:24 +0000 (22:41 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 17 Jan 2022 20:41:24 +0000 (22:41 +0200)
In the Vulkan backend it can be beneficial to keep separate pipeline
states and avoid having to repeatedly compute hashes and look them up
from the cache.  The downside is that every time the used state object
changes, shader data has to be reapplied.  But it's likely this would
be necessary anyway due to different shader or data being used.


No differences found