Status: fail
Result: fail
| Detail | Value |
|---|---|
| returncode | 1 |
| time | 0.220846891403 |
| note | Returncode was 1 |
| command | /home/mks-hackers/piglit/framework/../bin/glslparsertest tests/glslparsertest/glsl2/condition-01.vert fail 1.10 |
| errors |
|
| info | Returncode: 1
Errors:
Successfully compiled vertex shader tests/glslparsertest/glsl2/condition-01.vert: 0(16) : warning C7509: OpenGL requires the selection first expression to be a scalar boolean
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]
/* FAIL - :? condition is not bool scalar */
uniform bvec4 a;
void main()
{
gl_Position = (a) ? vec4(1.0, 0.0, 0.0, 1.0) : vec4(0.0, 1.0, 0.0, 1.0);
}
|