VirtualGeo / OpenXR-bgfx

Simple Hololens 2 demo using OpenXR and bgfx
6 stars 2 forks source link

gl_Layer fails with shaderc #1

Open MarkVabulas opened 3 years ago

MarkVabulas commented 3 years ago

What hoops did you happen to jump through to get the shaders to compile? Building from your bgfx.cmake under proto-bgfx still spits out an error that it doesn't recognize gl_Layer as an output.

bcomb commented 3 years ago

Hi you can find the commit relative to your problem here : https://github.com/VirtualGeo/bgfx/commit/beba23d98f4d8eafb25ec1842b81106aa4f3bd79

Seem i don't merge this in the proto-bgfx hololen branches

MarkVabulas commented 3 years ago

Merci mon ami. Thank you. I'll try out the patch and see how it works.