]> git.tdb.fi Git - libs/gl.git/commit
Keep track of the buffers of bound uniform blocks
authorMikko Rasa <tdb@tdb.fi>
Sat, 18 Dec 2021 22:00:32 +0000 (00:00 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 18 Dec 2021 22:02:36 +0000 (00:02 +0200)
commit1b2e58f0e3c84e45b40e89b07939e89e7a211179
tree2caf55254901a459e0a888b910da3b5533fbfe1c
parent7c17e52fbd532ec4db556b69b520d9372076e86d
Keep track of the buffers of bound uniform blocks

ProgramData may recreate the buffer when creating new blocks, but existing
block objects will be retained.  As such, the block object alone isn't
enough to determine whether the binding has changed.
source/backends/opengl/pipelinestate_backend.cpp
source/backends/vulkan/pipelinestate_backend.cpp
source/core/pipelinestate.cpp
source/core/pipelinestate.h