diff --git a/hlslang/MachineIndependent/preprocessor/sourceloc.h b/hlslang/MachineIndependent/preprocessor/sourceloc.h index 469af60..67c54b2 100644 --- a/hlslang/MachineIndependent/preprocessor/sourceloc.h +++ b/hlslang/MachineIndependent/preprocessor/sourceloc.h @@ -55,12 +55,11 @@ inline void OutputLineDirective(std::stringstream& s, const TSourceLoc& l) s << "#line " << l.line; // GLSL spec (1.10 & 1.20) doesn't allow printing file name here; only an integer "string number". - // So just print file name as a comment. - if(l.file) - { - s << " // "; - s << l.file; - } + //if(l.file) + //{ + // s << " // "; + // s << l.file; + //} s << '\n'; }