<div dir="ltr"><div>Hello,</div><div><br></div><div>I have started building mesa Vulkan driver.</div><div>I have started by copying amd/vulkan driver however I have just kept only one file in build <br></div><div>libresoc_pipeline.c</div><div>I have only one method <br></div><div><br>VkResult libresoc_CreateGraphicsPipelines(<br>        VkDevice                                    _device,<br>        VkPipelineCache                             pipelineCache,<br>        uint32_t                                    count,<br>        const VkGraphicsPipelineCreateInfo*         pCreateInfos,<br>        const VkAllocationCallbacks*                pAllocator,<br>        VkPipeline*                                 pPipelines)<br>{<br>        return VK_ERROR_UNKNOWN;</div><div>}</div><div><br></div><div>with few edits/commenting out code into files I am able to build 
libvulkan_libresoc.so <br></div><div> but when I forced loaded driver with VK_ICD_FILENAMES I am getting following error:<br></div><div>however I was expecting to hit VK_ERROR_UNKNOWN. Anyone have any ideas? Am I missing any file in the build setting? <br></div><div><br></div><div>vivek@vivek-VirtualBox:~/install/share/vulkan/icd.d$ vulkaninfo <br>ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: Attempt to retrieve either 'vkGetInstanceProcAddr' or 'vk_icdGetInstanceProcAddr' from ICD /home/vivek/install/lib/x86_64-linux-gnu/libvulkan_libresoc.so failed.<br>Cannot create Vulkan instance.<br>This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.<br>/build/vulkan-tools-KEbD_A/vulkan-tools-1.2.131.1+dfsg1/vulkaninfo/vulkaninfo.h:371: failed with ERROR_INCOMPATIBLE_DRIVER<br></div><div><br></div><div>Thanks,</div><div>Vivek<br></div></div>