Skip to content
Snippets Groups Projects
Verified Commit 336638c0 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

[#105] Adjusted draw_indirect demo to set variable descriptor count

parent a7b23262
No related branches found
No related tags found
1 merge request!88Resolve "Indirect Draw"
Pipeline #27088 failed
......@@ -163,6 +163,8 @@ int main(int argc, const char** argv) {
const vkcv::VertexLayout firstMeshLayout (bindings);
vkcv::DescriptorBindings descriptorBindings = firstMeshProgram.getReflectedDescriptors().at(0);
descriptorBindings[1].descriptorCount = 6;
vkcv::DescriptorSetLayoutHandle descriptorSetLayout = core.createDescriptorSetLayout(descriptorBindings);
vkcv::DescriptorSetHandle descriptorSet = core.createDescriptorSet(descriptorSetLayout);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment