{"action":"created","issue":{"url":"https://api.github.com/repos/panda3d/panda3d/issues/190","repository_url":"https://api.github.com/repos/panda3d/panda3d","labels_url":"https://api.github.com/repos/panda3d/panda3d/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/panda3d/panda3d/issues/190/comments","events_url":"https://api.github.com/repos/panda3d/panda3d/issues/190/events","html_url":"https://github.com/panda3d/panda3d/issues/190","id":273105373,"number":190,"title":"How do you use the Panda3D Vulkan tree?","user":{"login":"Jimbow500","id":19518954,"avatar_url":"https://avatars0.githubusercontent.com/u/19518954?v=4","gravatar_id":"","url":"https://api.github.com/users/Jimbow500","html_url":"https://github.com/Jimbow500","followers_url":"https://api.github.com/users/Jimbow500/followers","following_url":"https://api.github.com/users/Jimbow500/following{/other_user}","gists_url":"https://api.github.com/users/Jimbow500/gists{/gist_id}","starred_url":"https://api.github.com/users/Jimbow500/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jimbow500/subscriptions","organizations_url":"https://api.github.com/users/Jimbow500/orgs","repos_url":"https://api.github.com/users/Jimbow500/repos","events_url":"https://api.github.com/users/Jimbow500/events{/privacy}","received_events_url":"https://api.github.com/users/Jimbow500/received_events","type":"User","site_admin":false},"labels":[{"id":58708647,"url":"https://api.github.com/repos/panda3d/panda3d/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-11T01:43:25Z","updated_at":"2017-11-11T19:40:56Z","closed_at":null,"author_association":"NONE","body":"I'm still new to anything that is low level. I know Vulkan is better than OpenGl in some cases, but how do I add or use the Vulkan tree?\r\n\r\nWhen I try build it I get this error too\r\n```bash\r\n[ 20%] Building C++ object built/tmp/p3gobj_composite2.o\r\nIn file included from panda/src/gobj/p3gobj_composite2.cxx:10:0:\r\npanda/src/gobj/shader.cxx:30:26: fatal error: vulkan/spirv.h: No such file or directory\r\ncompilation terminated.\r\nStoring dependency cache.\r\nElapsed Time: 1 sec\r\nThe following command returned a non-zero value: g++ -std=gnu++0x -ftemplate-depth-70 -fPIC -c -o built/tmp/p3gobj_composite2.o -Ibuilt/tmp -Ibuilt/include -I/usr/include/eigen3 -Ipanda/src/gobj -fvisibility=hidden -pthread -fno-exceptions -msse2 -fno-strict-aliasing -ffast-math -fno-stack-protector -fno-finite-math-only -O2 -DBUILDING_PANDA panda/src/gobj/p3gobj_composite2.cxx\r\nBuild terminated.\r\n```\r\nI did install the newest version of the VulkanSDK. I don't know what else to do for it.\r\n\r\nAnother thing I'm running \"Mint 18.2 Sonya\"\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/panda3d/panda3d/issues/comments/343689168","html_url":"https://github.com/panda3d/panda3d/issues/190#issuecomment-343689168","issue_url":"https://api.github.com/repos/panda3d/panda3d/issues/190","id":343689168,"user":{"login":"rdb","id":194842,"avatar_url":"https://avatars1.githubusercontent.com/u/194842?v=4","gravatar_id":"","url":"https://api.github.com/users/rdb","html_url":"https://github.com/rdb","followers_url":"https://api.github.com/users/rdb/followers","following_url":"https://api.github.com/users/rdb/following{/other_user}","gists_url":"https://api.github.com/users/rdb/gists{/gist_id}","starred_url":"https://api.github.com/users/rdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdb/subscriptions","organizations_url":"https://api.github.com/users/rdb/orgs","repos_url":"https://api.github.com/users/rdb/repos","events_url":"https://api.github.com/users/rdb/events{/privacy}","received_events_url":"https://api.github.com/users/rdb/received_events","type":"User","site_admin":false},"created_at":"2017-11-11T19:40:56Z","updated_at":"2017-11-11T19:40:56Z","author_association":"OWNER","body":"I do warn that the Vulkan branch is not at all feature-complete.  Some simple programs will run, but more advanced shaders will not.  At this stage, there is very little to gain from using Vulkan with Panda3D.\r\n\r\nIn this case, you need to download the [spirv.h](https://raw.githubusercontent.com/KhronosGroup/SPIRV-Headers/master/include/spirv/1.2/spirv.h) header from the Khronos website, and place it inside `/usr/include/vulkan` or whichever directory your distribution uses.\r\n\r\nTo enable the Vulkan renderer you will need to put `load-display p3vulkandisplay` in your Config.prc.  The code currently expects SPIR-V shaders present to be present in your model-path; I'd be happy to share the shaders on request."}}
{"actor":{"display_login":"rdb"}}