Function Prototype
vkCompileDeferredNV
Deferred compilation of shaders
To compile a deferred shader in a pipeline call:
VkResult vkCompileDeferredNV(
VkDevice device,
VkPipeline pipeline,
uint32_t shader);
deviceis the logical device containing the ray tracing pipeline.pipelineis the ray tracing pipeline object containing the shaders.shaderis the index of the shader to compile.
Valid Usage
VUID-vkCompileDeferredNV-pipeline-04621
pipeline must be a ray tracing pipeline
VUID-vkCompileDeferredNV-pipeline-02237
pipeline must have been created with
VK_PIPELINE_CREATE_DEFER_COMPILE_BIT_NV
VUID-vkCompileDeferredNV-shader-02238
shader must not have been called as a deferred compile before
Valid Usage (Implicit)
VUID-vkCompileDeferredNV-device-parameter
device must be a valid VkDevice handle
VUID-vkCompileDeferredNV-pipeline-parameter
pipeline must be a valid VkPipeline handle
VUID-vkCompileDeferredNV-pipeline-parent
pipeline must have been created, allocated, or retrieved from device