powervr-graphics / Native_SDK

C++ cross-platform 3D graphics SDK. Includes demos & helper code (resource loading etc.) to speed up development of Vulkan, OpenGL ES 2.0 & 3.x applications
https://docs.imgtec.com/sdk-documentation/html/introduction.html
MIT License
702 stars 197 forks source link

[BUG]Example programs get crash when calling pvr::utils::createInstance() #58

Open Choconuts opened 4 years ago

Choconuts commented 4 years ago

Description

I build the NativeSDK and open it in Visual Studio 2017. Some examples get crashed when calling

vkThrowIfFailed(pvrvk::getVkBindings().vkCreateInstance(&instanceCreateInfoVk, nullptr, &_vkHandle), "Instance Constructor");

at line 120 in InstanceVk.cpp.

Repro steps

Just clone, cmake, open in VS, build and run (e.g. VulkanExampleUI solution).

Environment

Windows system with Nvidia RTX2080, Vulkan 1.2.141.

Additional Info

The error type is access conflict, which provide no information for me. I don't think it is due to hardware or validation layers because no such message is logged.

omarzohdi commented 4 years ago

Hi @Choconuts, thanks for submitting a bug report. I've ran a couple of tests and I can't seem to reproduce the issue. Would you mind providing more info:

Cheers, Omar.