Skip to content

VK_KHR_pipeline_binary internal cache check example should elaborate that VK_EXT_shader_module_identifier (or similar) is required #2674

@elasota

Description

@elasota

When `pipelineBinaryInternalCache` is supported it is possible to create pipeline binaries using just the pipeline create info, without providing either SPIR-V or binary data, by

"it is possible to create pipeline binaries using just the pipeline create info, without providing either SPIR-V or binary data"

The example uses an empty VkGraphicsPipelineCreateInfo. Presumably the create info would be filled out, but I think this example is unclear because there is no valid way to provide a key without also providing the binary data, so the key is not a substitute for a module identifier in this case, and there is no way to just probe the internal cache for the presence of specific keys (or sets of keys).

I think the only way that feature works is with VK_EXT_shader_module_identifier? I think it would be helpful to elaborate that.

(It sure would be nice if there was a way to just do this by passing a list of keys, since they are supposed to be unique identifiers, but the spec doesn't currently permit that.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions