rdh/celeritas:shader-stage-defines
stonecutter
so common/included shader files can gate specific sections of code
@@ -38,0 +38,4 @@
return new GlShader(type, name, downgradeIfNeeded(type, defineStage(type, source)));
}
private static String defineStage(ShaderType type, String source) {
Can it not be injected into the provided ShaderConstants?
ShaderConstants
No dependencies set.
The note is not visible to the blocked user.
so common/included shader files can gate specific sections of code
@@ -38,0 +38,4 @@return new GlShader(type, name, downgradeIfNeeded(type, defineStage(type, source)));}private static String defineStage(ShaderType type, String source) {Can it not be injected into the provided
ShaderConstants?