KhronosGroup / glslang

Khronos-reference front end for GLSL/ESSL, partial front end for HLSL, and a SPIR-V generator.
Other
3.05k stars 836 forks source link

support framebuffer_fetch #2835

Open coldgemini opened 2 years ago

coldgemini commented 2 years ago

does glslang currently support any of these framebuffer_fetch extensions? is there a way to parse built-ins like gl_LastFragData by glslang? thanks.

image image

greg-lunarg commented 2 years ago

Sorry for the slow response.

It does not appear these are currently supported, including gl_LastFragData.

I believe it is "possible" for glslang to parse gl_LastFragData. I would be open to accepting a PR which supports this if someone created one.