Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 0.0243570804596 |
note | Returncode was 1 |
errors |
|
info | Returncode: 1 Errors: Failed to compile fragment shader tests/glslparsertest/shaders/CorrectPreprocess11.frag: 0:31(9): preprocessor error: Redefinition of macro f 0:48(13): preprocessor warning: extra tokens at end of directive 0:61(9): preprocessor error: Redefinition of macro f Output: Shader source: // [config] // expect_result: pass // glsl_version: 1.10 // [end config] #if 0 #define f 1.2 #elif 1 #define f 1.4 #endif #if 2 #define q 8.9 #endif #if 0 these tokens will be ignored #else tokens to be ignored #define f 4.5 #endif #if 1 #else #endif #define pine #ifdef pine please raise a warning #else #endif #ifndef pine ignore these tokens too #elif 1 #define f 3.4 #endif void main() { gl_FragColor = vec4(f); } |