]> git.tdb.fi Git - libs/gl.git/commit
Store default-block uniform data in a memory block
authorMikko Rasa <tdb@tdb.fi>
Tue, 28 Sep 2021 09:29:47 +0000 (12:29 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 28 Sep 2021 09:46:00 +0000 (12:46 +0300)
commit8366f8951984aa436938b1bb18a57067ff2260c1
treeb06649cec1308e394f3659c4a0bbbb0c0dc59131
parent1a3eb3759708f41f0d57a271f2953e4de0506858
Store default-block uniform data in a memory block

This is more cache-friendly than using individually allocated polymorphic
objects.  It also makes it easier to use push constants in Vulkan.
source/core/pipelinestate.cpp
source/core/pipelinestate.h
source/core/program.cpp
source/core/program.h
source/core/uniform.cpp [deleted file]
source/core/uniform.h
source/core/uniformblock.cpp
source/core/uniformblock.h
source/render/programdata.cpp
source/render/programdata.h