Lines Matching refs:instance
37 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY);
42 vn_async_vkCreateShaderModule(dev->instance, device, pCreateInfo, NULL,
63 vn_async_vkDestroyShaderModule(dev->instance, device, shaderModule, NULL);
85 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY);
91 vn_async_vkCreatePipelineLayout(dev->instance, device, pCreateInfo, NULL,
113 vn_async_vkDestroyPipelineLayout(dev->instance, device, pipelineLayout,
137 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY);
154 vn_async_vkCreatePipelineCache(dev->instance, device, pCreateInfo, NULL,
177 vn_async_vkDestroyPipelineCache(dev->instance, device, pipelineCache,
197 result = vn_call_vkGetPipelineCacheData(dev->instance, device,
200 return vn_error(dev->instance, result);
221 vn_call_vkGetPipelineCacheData(dev->instance, device, pipelineCache,
224 return vn_error(dev->instance, result);
240 vn_async_vkMergePipelineCaches(dev->instance, device, dstCache,
382 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY);
396 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY);
406 vn_async_vkCreateGraphicsPipelines(dev->instance, device, pipelineCache,
437 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY);
447 vn_async_vkCreateComputePipelines(dev->instance, device, pipelineCache,
468 vn_async_vkDestroyPipeline(dev->instance, device, _pipeline, NULL);