Results for glslparsertest/CorrectPreprocess5.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.232000112534
note Returncode was 1
errors
  • Failed to compile fragment shader tests/glslparsertest/shaders\\CorrectPreprocess5.frag: Fragment shader failed to compile with the following errors:
  • ERROR: error(#60) Unknown char \'\x08\'
  • ERROR: error(#273) 1 compilation errors. No code generated
info
Returncode: 1

Errors:
Failed to compile fragment shader tests/glslparsertest/shaders\CorrectPreprocess5.frag: Fragment shader failed to compile with the following errors:
ERROR: error(#60) Unknown char ''
ERROR: error(#273) 1 compilation errors.  No code generated



Output:
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.10
//
// # NOTE: Config section was auto-generated from file
// # NOTE: 'glslparser.tests' at git revision
// # NOTE: 6cc17ae70b70d150aa1751f8e28db7b2a9bd50f0
// [end config]

//mutiple line macros - test case.

#define test 5
#define t1 1
#define t2 2
#define token (t1+t2)
#define test1 int sum =1;\
              sum = test;\
              sum = test+test;

#define test2 do{\
              test1\
              sum = sum +token;\
              sum = t2*t1;\
              }while(sum>0)

void main(void)
{
 int test3=1;
 test1
 test2;
 test3 = test;
 sum = test3;
} 
 
 
様様様様様様様様様様様様様

Back to summary