Shader/LangWriter: Make LangWriter able to output AST before sanitization as well
This commit is contained in:
@@ -51,6 +51,7 @@ fn main(input: In) -> FragOut
|
||||
)";
|
||||
|
||||
Nz::ShaderAst::ModulePtr shaderModule = Nz::ShaderLang::Parse(nzslSource);
|
||||
shaderModule = SanitizeModule(*shaderModule);
|
||||
|
||||
ExpectGLSL(*shaderModule, R"(
|
||||
void main()
|
||||
|
||||
Reference in New Issue
Block a user