Results for glslparsertest/glsl2/scoping-02.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.251999855042
note Returncode was 1
errors
  • Successfully compiled fragment shader tests/glslparsertest/glsl2\\scoping-02.frag: Fragment shader was successfully compiled to run on hardware.
info
Returncode: 1

Errors:
Successfully compiled fragment shader tests/glslparsertest/glsl2\scoping-02.frag: Fragment shader was successfully compiled to run on hardware.



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

void main()
{
   if (true)
      float f = 0.3;
   else
      float g = 0.5;
   gl_FragColor = vec4(0.0, g, 0.0, 1.0);
}

Back to summary