Status: fail
Result: fail
| Detail | Value |
|---|---|
| returncode | 1 |
| time | 0.246999979019 |
| note | Returncode was 1 |
| errors |
|
| info | Returncode: 1
Errors:
Failed to compile vertex shader tests/glslparsertest/glsl2\condition-05.vert: Vertex shader failed to compile with the following errors:
ERROR: 0:20: error(#162) Wrong operand types no operation ':' exists that takes a left-hand operand of type 'const float' and a right operand of type 'uniform highp int' (or there is no acceptable conversion)
ERROR: error(#273) 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
/* PASS */
uniform bool a;
uniform int b;
void main()
{
float x;
x = (a) ? 2.0 : b;
gl_Position = vec4(x);
}
|