]> git.tdb.fi Git - libs/gl.git/commit
Rewrite descriptor set management
authorMikko Rasa <tdb@tdb.fi>
Wed, 16 Mar 2022 08:44:06 +0000 (10:44 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 16 Mar 2022 08:44:06 +0000 (10:44 +0200)
commit370eb9e6a1e54da52047ba843e25c36be9789209
treeb094dba1948c89e04f6923218790adb193068388
parent1ed4d66194a8a86413701a4c4e4178c2fb0a4ded
Rewrite descriptor set management

Descriptor sets have been moved from PipelineCache to a dedicated class.
PipelineState refers to descriptor sets using slot indices, allowing the
descriptor pool to be recreated if more space is needed.

Dynamic uniform buffers are no longer used.  Instead multiple copies of
the descriptor set are created if it contains dynamic uniform blocks.
source/backends/vulkan/commands_backend.cpp
source/backends/vulkan/destroyqueue.cpp
source/backends/vulkan/destroyqueue.h
source/backends/vulkan/device_backend.cpp
source/backends/vulkan/device_backend.h
source/backends/vulkan/pipelinecache.cpp
source/backends/vulkan/pipelinecache.h
source/backends/vulkan/pipelinestate_backend.cpp
source/backends/vulkan/pipelinestate_backend.h
source/backends/vulkan/program_backend.cpp