Results for glslparsertest/glsl2/comment-continuation.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.658874988556
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/glslparsertest/glsl2/comment-continuation.frag pass 1.10
errors
  • Failed to compile fragment shader tests/glslparsertest/glsl2/comment-continuation.frag: Fragment shader failed to compile with the following errors:
  • ERROR: 0:14: error(#143) Undeclared identifier color
  • ERROR: 0:14: error(#160) Cannot convert from 'float' to 'FragColor 4-component vector of float'
  • ERROR: error(#273) 2 compilation errors.  No code generated
info
Returncode: 1

Errors:
Failed to compile fragment shader tests/glslparsertest/glsl2/comment-continuation.frag: Fragment shader failed to compile with the following errors:
ERROR: 0:14: error(#143) Undeclared identifier color
ERROR: 0:14: error(#160) Cannot convert from 'float' to 'FragColor 4-component vector of float'
ERROR: error(#273) 2 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]

void main()
{
// This is a comment with a trailing backslash that shouldn't matter. \
	vec4 color = vec4(0.0, 1.0, 0.0, 0.0);
	gl_FragColor = color;
}

Back to summary