Results for glslparsertest/glsl2/const-implicit-conversion.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.90499997139
note Returncode was 1
errors
  • Failed to compile fragment shader tests/glslparsertest/glsl2\\const-implicit-conversion.frag: ERROR: 0:13: \'const\' : non-matching types for const initializer
  • ERROR: 1 compilation errors. No code generated.
info
Returncode: 1

Errors:
Failed to compile fragment shader tests/glslparsertest/glsl2\const-implicit-conversion.frag: ERROR: 0:13: 'const' :  non-matching types for const initializer  
ERROR: 1 compilation errors.  No code generated.




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

#version 120
void main()
{
   const float length = 5;
   const bool no = length == 2;
}

Back to summary