# About GetPhysicalDeviceSparseImageFormatProperties cause runtime error.

**URL:** <https://forums.imgtec.com/t/about-getphysicaldevicesparseimageformatproperties-cause-runtime-error/2835>\
**Category:** PowerVR Insider\
**Created:** [October 22, 2018, 11:05am UTC](https://forums.imgtec.com/t/about-getphysicaldevicesparseimageformatproperties-cause-runtime-error/2835 "2018-10-22T11:05:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sherloc987](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@sherloc987](https://forums.imgtec.com/u/sherloc987)\
**Post date:** [October 22, 2018, 11:05am UTC](https://forums.imgtec.com/t/about-getphysicaldevicesparseimageformatproperties-cause-runtime-error/2835/1 "2018-10-22T11:05:43Z")

</div>

When I build the sample of 02\_vulkan\_introducing\_pvr\_shell completed, I encountered a runtime error.

The error as follows:

`10-20 13:28:16.714 1975-2059/com.powervr.VulkanIntroducingPVRShell E/com.powervr.Example: VULKAN_LAYER_VALIDATION: invalid vkGetDeviceProcAddr(0x7f93fb0590, "vkGetPhysicalDeviceSparseImageFormatProperties") call 10-20 13:28:16.715 1975-2059/com.powervr.VulkanIntroducingPVRShell A/libc: E:/GIT/heitaohua/powervr-graphics-native-sdk/framework/PVRNativeApi/Vulkan/VulkanBindings.cpp:542: static bool vk::initVulkanDevice(VkDevice): assertion "GetPhysicalDeviceSparseImageFormatProperties" failed 10-20 13:28:16.715 1975-2059/com.powervr.VulkanIntroducingPVRShell A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 2059 (Thread-7)`

What I want to say is the cause of the problem, Please note that VulkanBindings.cpp, The line `PVR_VULKAN_GET_DEVICE_POINTER(device, GetPhysicalDeviceSparseImageFormatProperties);` try to get the pointer of function, however, the function belongs to vulkan instance , not device. And before this line, the function pointer has been obtained when the instance was initialized.

So to fix this issure just remove the line. Anyway please update the sdk files to prevent other people from encountering unnecessary problems.

---

<div class="post-metadata">

**Author:** ![MartonTamas](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/martontamas/32/297_2.png) [@MartonTamas](https://forums.imgtec.com/u/MartonTamas)\
**Post date:** [October 22, 2018, 11:36am UTC](https://forums.imgtec.com/t/about-getphysicaldevicesparseimageformatproperties-cause-runtime-error/2835/2 "2018-10-22T11:36:29Z")

</div>

Hi,

thank you for reporting this, I’ll make sure this is fixed.

Marton

---

<div class="post-metadata">

**Author:** ![CarlosSarria](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.imgtec.com/carlossarria/32/263_2.png) [@CarlosSarria](https://forums.imgtec.com/u/CarlosSarria)\
**Post date:** [October 22, 2018, 1:15pm UTC](https://forums.imgtec.com/t/about-getphysicaldevicesparseimageformatproperties-cause-runtime-error/2835/3 "2018-10-22T13:15:59Z")

</div>

Hello,

It seems that you are using a quite old version of our SDK. VulkanBindings.cpp was removed more than one year ago.  
We strongly recommend you to move to a newer version of our SDK which is more streamlined when dealing with Vulkan.

Best regards.

Carlos.
