Open Aeva opened 8 years ago
The lighting demo prints a warning, because #extension GL_EXT_draw_buffers : require appears halfway through the shader.
#extension GL_EXT_draw_buffers : require
Instead, preprocessor tokens like that should be hoisted. This might be a bit involved to do, as ones in includes should be hoisted as well.
The lighting demo prints a warning, because
#extension GL_EXT_draw_buffers : require
appears halfway through the shader.Instead, preprocessor tokens like that should be hoisted. This might be a bit involved to do, as ones in includes should be hoisted as well.