Skip to content
Snippets Groups Projects

Resolve "Anlegen eines neuen DescriptorPools sobald OOM Error auftritt."

Merged Ghost User requested to merge 46-dynamic-descriptor-pool-creation into develop
3 files
+ 64
23
Compare changes
  • Side-by-side
  • Inline
Files
3
  • aa0a2a0f
    [#46] add creation of new descriptor pools when out of memory · aa0a2a0f
    Simeon Hermann authored
@@ -105,6 +105,12 @@ int main(int argc, const char** argv) {
});
vkcv::ResourcesHandle set = core.createResourceDescription({ setConfig });
//only exemplary code for testing
for (int i = 0; i < 1001; i++) {
vkcv::ResourcesHandle furtherSets = core.createResourceDescription({ setConfig });
}
//end of exemplary code
const vkcv::PipelineConfig trianglePipelineDefinition(
triangleShaderProgram,
windowWidth,
Loading