Status: fail
Result: fail
| Detail | Value |
|---|---|
| returncode | 1 |
| time | 0.276388168335 |
| note | Returncode was 1 |
| command | /usr/local/src/piglit/framework/../bin/glslparsertest tests/glslparsertest/glsl2/bit-shift-05.frag pass 1.30 |
| errors |
|
| info | Returncode: 1
Errors:
Failed to compile fragment shader tests/glslparsertest/glsl2/bit-shift-05.frag: 0(21) : error C7011: implicit cast from "int" to "uint"
Output:
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.30
//
// # NOTE: Config section was auto-generated from file
// # NOTE: 'glslparser.tests' at git revision
// # NOTE: 6cc17ae70b70d150aa1751f8e28db7b2a9bd50f0
// [end config]
// Expected: PASS, glsl == 1.30
//
// Description: bit-shift with argument types:
// - (int, uint)
// - (uint, int)
//
// From page 50 (page 56 of PDF) of the GLSL 1.30 spec:
// "One operand can be signed while the other is unsigned."
#version 130
void main() {
int x0 = 4 << uint(1);
uint x1 = uint(4) >> 1;
}
|