Auto push constant blocks (#2764)
authorMalcolm Bechard <mbechard@users.noreply.github.com>
Wed, 22 Sep 2021 17:41:10 +0000 (13:41 -0400)
committerGitHub <noreply@github.com>
Wed, 22 Sep 2021 17:41:10 +0000 (11:41 -0600)
commit3f04389a1806c74355236ecd0a2493d701b19d87
tree38e039a2363bc36f3807252198df513c8717266a
parentc2604615f4820be63d9ea205be9a796bfc309e4b
Auto push constant blocks (#2764)

* add ability to upgrade uniform block to push constants assuming it fits within the size limit imposed by the caller
* allow selecting the packing for the auto push constants
* check the size using the potential layout packing of the push constants
glslang/Include/Types.h
glslang/MachineIndependent/iomapper.cpp
glslang/MachineIndependent/iomapper.h
glslang/MachineIndependent/linkValidate.cpp