Results 44 comments of Danil

**Vulkan SDK 1.2.170.0** and previous show some crazy number of errors and repeat spam every frame(look like false positive), so I updated to SDK 1.2.189.0.

> That a return value is undefined, does not mean, that it is INF or NAN. on the GPU GLSL is NAN or INF and many people include me expect...

> What branch (master?), what os, what material (gpu?), and what driver. Also maybe compiler. > I'm astonished, give me more information, this looks like a buggy driver... Master branch....

> compilation on windows too Visual Studio 2019 (updated to latest 16.11.13) - I build other Vulkan apps there everything was fine (Vulkan Samples also) ``` 1> CMake generation started...

Same on VS 2022 ``` 1> CMake generation started for default configuration: 'x64-Debug'. 1> Command line: "C:\Windows\system32\cmd.exe" /c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "c:\program files\microsoft visual studio\2022\community\common7\ide\commonextensions\microsoft\cmake\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="C:\cygwin64\home\Admin\vkvg\out\install\x64-Debug"...

look like error come because of https://github.com/jpbruyere/vkvg/blob/master/CMakeLists.txt#L344 ``` ADD_LIBRARY("${PROJECT_NAME}_shared" SHARED ${VKVG_SRC} $) SET_PROPERTY(TARGET "${PROJECT_NAME}_shared" PROPERTY POSITION_INDEPENDENT_CODE ON) TARGET_COMPILE_DEFINITIONS("${PROJECT_NAME}_shared" PUBLIC -DVKVG_SHARED_BUILD) setup_lib ("${PROJECT_NAME}_shared") ADD_LIBRARY("${PROJECT_NAME}_static" STATIC ${VKVG_SRC} $) target_compile_definitions("${PROJECT_NAME}_static" PUBLIC -DVKVG_STATIC_BUILD) SET_PROPERTY(TARGET...

> vkvg is an open-source 2D graphics **library written in C using** Vulkan Look like this is not C library but C++ library since `vkvg\vkh\src\vk_mem_alloc.h` use `static_cast` and require C++...

you not first who report this problem in the AMD GPU, and sadly I have no idea what causes it and I can not fix it because I can not...

@leranger thank you I added this as a fix https://github.com/danilw/nanovg_vulkan/commit/6ee100956134cab2aab67a6a8a7a5bda54c0f9ab

@mulle-nat > I noticed that the Vulkan demo runs with 1200 FPS where as the OpenGL demo runs with 2000 FPS. Now that's a bigger difference than I expected, and...