Status: fail
Result: fail
| Detail | Value |
|---|---|
| returncode | 1 |
| time | 0.233000040054 |
| note | Returncode was 1 |
| errors |
|
| info | Returncode: 1
Errors:
Successfully compiled vertex shader tests/spec/glsl-1.30\compiler\arithmetic-operators\unsigned-mismatch-02.vert: Vertex shader was successfully compiled to run on hardware.
WARNING: 0:17: warning(#283) Implicit cast from int to uint
Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.30
// [end config]
//
// Add together an int and an uint, expecint uint as result.
//
// From section 5.9 of the GLSL 1.30 spec:
// If the operands [to a binary arithmetic operator] are integer types,
// they must both be signed or both be unsigned.
#version 130
float f() {
int x = 0;
uint y = 0u;
uint z = x + y;
return 0.0;
}
|