glsl-optimizer
glsl-optimizer copied to clipboard
Metal and framebuffer fetch
What is the proper way to cross compile the GL_EXT_shader_framebuffer_fetch extension to Metal? I get an extension not supported error if I include: #extension GL_EXT_shader_framebuffer_fetch : enable in the shader. Searching the code I do find [[color(%d)]] in ir_print_metal_visitor.cpp.