]> git.tdb.fi Git - libs/gl.git/commit
Create specialized copies of SPIR-V modules
authorMikko Rasa <tdb@tdb.fi>
Fri, 19 Nov 2021 19:00:52 +0000 (21:00 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 19 Nov 2021 19:00:52 +0000 (21:00 +0200)
commitd8d4c2aeaf109ab7ba55888bef5364fe11b5b02d
treec859f0992b6b05a56040a4b506be8b7613f83222
parent99ca354f18119f82f1adeca100cd665a8f640317
Create specialized copies of SPIR-V modules

It turns out Vulkan does want all declared resources in the descriptor
sets, even if they're unused.  Manual specialization avoids the need to
deal with them when binding stuff.
source/core/module.cpp
source/core/module.h
source/core/program.cpp
source/core/program.h