hlsl.do.nested.error.frag ERROR: 0:3: 'resurn' : unknown variable ERROR: 0:3: ';' : Expected ERROR: 0:3: 'do sub-statement' : Expected ERROR: 0:8: '' : function does not return a value: @main ERROR: 4 compilation errors. No code generated. Shader version: 500 gl_FragCoord origin is upper left ERROR: node is still EOpNull! 0:2 Function Definition: S::m( ( temp void) 0:2 Function Parameters: 0:2 '@this' ( temp structure{}) 0:? Sequence 0:3 Constant: 0:3 true (const bool) 0:8 Function Definition: @main( ( temp 4-component vector of float) 0:8 Function Parameters: 0:8 Function Definition: main( ( temp void) 0:8 Function Parameters: 0:? Sequence 0:8 move second child to first child ( temp 4-component vector of float) 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 0:8 Function Call: @main( ( temp 4-component vector of float) 0:? Linker Objects 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) Linked fragment stage: Shader version: 500 gl_FragCoord origin is upper left ERROR: node is still EOpNull! 0:2 Function Definition: S::m( ( temp void) 0:2 Function Parameters: 0:2 '@this' ( temp structure{}) 0:? Sequence 0:3 Constant: 0:3 true (const bool) 0:8 Function Definition: @main( ( temp 4-component vector of float) 0:8 Function Parameters: 0:8 Function Definition: main( ( temp void) 0:8 Function Parameters: 0:? Sequence 0:8 move second child to first child ( temp 4-component vector of float) 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 0:8 Function Call: @main( ( temp 4-component vector of float) 0:? Linker Objects 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) SPIR-V is not generated for failed compile or link