a20e69ff51
In CreateDescriptorSetLayouts(), one less dynamic binding is created when bSupportsGeometryShaders=false. Reduce the dynamicOffsetCount argument by one in that case. Avoids this validation error: Attempting to bind 3 descriptorSets with 2 dynamic descriptors, but dynamicOffsetCount is 3. It should exactly match the number of dynamic descriptors. The Vulkan spec states: dynamicOffsetCount must be equal to the total number of dynamic descriptors in pDescriptorSets Signed-off-by: Jonathan Marek <jonathan@marek.ca> [Applied clang-format] Signed-off-by: Léo Lam <leo@leolam.fr> |
||
---|---|---|
.. | ||
D3D | ||
D3D12 | ||
D3DCommon | ||
Null | ||
OGL | ||
Software | ||
Vulkan | ||
CMakeLists.txt |