mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 11:30:06 +00:00
feb5437942
According to the GLSL spec Each number sign (#) can be preceded in its line only by spaces or horizontal tabs. It may also be followed by spaces and horizontal tabs, preceding the directive.
30 lines
985 B
Plaintext
30 lines
985 B
Plaintext
cppBad.vert
|
|
WARNING: 0:1: '#define' : missing space after macro name
|
|
ERROR: 0:1: '#' : (#) can be preceded in its line only by spaces or horizontal tabs
|
|
ERROR: 0:2: '#' : (#) can be preceded in its line only by spaces or horizontal tabs
|
|
ERROR: 0:3: 'preprocessor evaluation' : bad expression
|
|
ERROR: 0:3: '#if' : unexpected tokens following directive
|
|
ERROR: 0:6: 'string' : End of line in string
|
|
ERROR: 0:6: 'string literal' : required extension not requested: Possible extensions include:
|
|
GL_EXT_debug_printf
|
|
GL_EXT_spirv_intrinsics
|
|
ERROR: 0:6: '' : syntax error, unexpected INT, expecting COMMA or SEMICOLON
|
|
ERROR: 7 compilation errors. No code generated.
|
|
|
|
|
|
Shader version: 100
|
|
ERROR: node is still EOpNull!
|
|
0:? Linker Objects
|
|
0:? 'n' ( global highp int)
|
|
|
|
|
|
Linked vertex stage:
|
|
|
|
ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point
|
|
|
|
Shader version: 100
|
|
ERROR: node is still EOpNull!
|
|
0:? Linker Objects
|
|
0:? 'n' ( global highp int)
|
|
|