Structures
VkCudaFunctionCreateInfoNV
Structure specifying the parameters to create a CUDA Function
The VkCudaFunctionCreateInfoNV
structure is defined as:
typedef struct VkCudaFunctionCreateInfoNV {
VkStructureType sType;
const void* pNext;
VkCudaModuleNV module;
const char* pName;
} VkCudaFunctionCreateInfoNV;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.module
is the CUDA VkCudaModuleNV module in which the function resides.pName
is a null-terminated UTF-8 string containing the name of the shader entry point for this stage.
Valid Usage (Implicit)
VUID-VkCudaFunctionCreateInfoNV-sType-sType
sType
must be VK_STRUCTURE_TYPE_CUDA_FUNCTION_CREATE_INFO_NV
VUID-VkCudaFunctionCreateInfoNV-pNext-pNext
pNext
must be NULL
VUID-VkCudaFunctionCreateInfoNV-module-parameter
module
must be a valid VkCudaModuleNV handle
VUID-VkCudaFunctionCreateInfoNV-pName-parameter
pName
must be a null-terminated UTF-8 string