Skip to content

How to use pipeline cache with Anvil? #104

@Silverlan

Description

@Silverlan

GraphicsPipelineManager::create allows you to specify a custom pipeline cache object, however as far as I can tell, you're not really supposed to use that function, instead you're supposed to use the graphics pipeline manager that's automatically created with the device (BaseDevice::get_graphics_pipeline_manager), since that's the one being used in some other functions (e.g. Anvil::CommandBufferBase::record_bind_pipeline).

However, the pipeline manager created with the device (BaseDevice::init) is always created with an empty pipeline cache. If I wanted to load an existing pipeline cache from the disk, for example, how would I do that? Is that currently not possible?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions