Results for glslparsertest/glsl2/redeclaration-02.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.233999967575
note Returncode was 1
errors
  • Failed to compile vertex shader tests/glslparsertest/glsl2\\redeclaration-02.vert: Vertex shader failed to compile with the following errors:
  • ERROR: 0:13: error(#231) Re-declaration error f
  • ERROR: error(#273) 1 compilation errors. No code generated
info
Returncode: 1

Errors:
Failed to compile vertex shader tests/glslparsertest/glsl2\redeclaration-02.vert: Vertex shader failed to compile with the following errors:
ERROR: 0:13: error(#231) Re-declaration error f
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]

/* PASS - variables and functions have separate namespaces in 1.10 */
const float f = 1.0;

float f(float x)
{
  return pow(x, 2.1718281828);
}

void main()
{
  gl_Position = vec4(0.0);
}

Back to summary