Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 1.11195397377 |
note | Returncode was 1 |
command | /home/mks-hackers/piglit/framework/../bin/glslparsertest tests/../generated_tests/spec/glsl-1.30/compiler/built-in-functions/clamp-ivec4-ivec4-ivec4.frag pass 1.30 |
errors |
|
info | Returncode: 1 Errors: Failed to compile fragment shader tests/../generated_tests/spec/glsl-1.30/compiler/built-in-functions/clamp-ivec4-ivec4-ivec4.frag: Fragment shader failed to compile with the following errors: ERROR: 0:61: error(#185) Array size must be a constant integer expression ERROR: 0:62: error(#185) Array size must be a constant integer expression ERROR: 0:63: error(#185) Array size must be a constant integer expression ERROR: 0:64: error(#185) Array size must be a constant integer expression ERROR: 0:65: error(#185) Array size must be a constant integer expression ERROR: 0:66: error(#185) Array size must be a constant integer expression ERROR: 0:67: error(#185) Array size must be a constant integer expression ERROR: 0:68: error(#185) Array size must be a constant integer expression ERROR: 0:69: error(#185) Array size must be a constant integer expression ERROR: 0:70: error(#185) Array size must be a constant integer expression ERROR: 0:71: error(#185) Array size must be a constant integer expression ERROR: 0:72: error(#185) Array size must be a constant integer expression ERROR: 0:73: error(#185) Array size must be a constant integer expression ERROR: 0:74: error(#185) Array size must be a constant integer expression ERROR: 0:75: error(#185) Array size must be a constant integer expression ERROR: 0:76: error(#185) Array size must be a constant integer expression ERROR: 0:77: error(#185) Array size must be a constant integer expression ERROR: 0:78: error(#185) Array size must be a constant integer expression ERROR: 0:79: error(#185) Array size must be a constant integer expression ERROR: 0:80: error(#185) Array size must be a constant integer expression ERROR: 0:81: error(#185) Array size must be a constant integer expression ERROR: 0:82: error(#185) Array size must be a constant integer expression ERROR: 0:83: error(#185) Array size must be a constant integer expression ERROR: 0:84: error(#185) Array size must be a constant integer expression ERROR: 0:85: error(#185) Array size must be a constant integer expression ERROR: 0:86: error(#185) Array size must be a constant integer expression ERROR: 0:87: error(#185) Array size must be a constant integer expression ERROR: 0:88: error(#185) Array size must be a constant integer expression ERROR: 0:89: error(#185) Array size must be a constant integer expression ERROR: 0:90: error(#185) Array size must be a constant integer expression ERROR: 0:91: error(#185) Array size must be a constant integer expression ERROR: 0:92: error(#185) Array size must be a constant integer expression ERROR: 0:93: error(#185) Array size must be a constant integer expression ERROR: 0:94: error(#185) Array size must be a constant integer expression ERROR: 0:95: error(#185) Array size must be a constant integer expression ERROR: 0:96: error(#185) Array size must be a constant integer expression ERROR: 0:97: error(#185) Array size must be a constant integer expression ERROR: 0:98: error(#185) Array size must be a constant integer expression ERROR: 0:99: error(#185) Array size must be a constant integer expression ERROR: 0:100: error(#185) Array size must be a constant integer expression ERROR: 0:101: error(#185) Array size must be a constant integer expression ERROR: 0:102: error(#185) Array size must be a constant integer expression ERROR: 0:103: error(#185) Array size must be a constant integer expression ERROR: 0:104: error(#185) Array size must be a constant integer expression ERROR: 0:105: error(#185) Array size must be a constant integer expression ERROR: 0:106: error(#185) Array size must be a constant integer expression ERROR: 0:107: error(#185) Array size must be a constant integer expression ERROR: 0:108: error(#185) Array size must be a constant integer expression ERROR: 0:109: error(#185) Array size must be a constant integer expression ERROR: error(#273) 49 compilation errors. No code generated Output: Shader source: /* [config] * expect_result: pass * glsl_version: 1.30 * [end config] * * Check that the following test vectors are constant folded correctly: * clamp(ivec4(-5, -5, -5, -5), ivec4(-5, -5, -5, -5), ivec4(-5, -2, -1, 0)) => ivec4(-5, -5, -5, -5) * clamp(ivec4(-5, -5, -5, -5), ivec4(-5, -5, -5, -2), ivec4(1, 2, 5, -2)) => ivec4(-5, -5, -5, -2) * clamp(ivec4(-5, -5, -5, -5), ivec4(-2, -2, -2, -2), ivec4(-1, 0, 1, 2)) => ivec4(-2, -2, -2, -2) * clamp(ivec4(-5, -5, -5, -5), ivec4(-2, -1, -1, -1), ivec4(5, -1, 0, 1)) => ivec4(-2, -1, -1, -1) * clamp(ivec4(-5, -5, -5, -5), ivec4(-1, -1, 0, 0), ivec4(2, 5, 0, 1)) => ivec4(-1, -1, 0, 0) * clamp(ivec4(-5, -5, -5, -5), ivec4(0, 0, 1, 1), ivec4(2, 5, 1, 2)) => ivec4(0, 0, 1, 1) * clamp(ivec4(-5, -5, -5, -5), ivec4(1, 2, 2, 5), ivec4(5, 2, 5, 5)) => ivec4(1, 2, 2, 5) * clamp(ivec4(-2, -2, -2, -2), ivec4(-5, -5, -5, -5), ivec4(-5, -2, -1, 0)) => ivec4(-5, -2, -2, -2) * clamp(ivec4(-2, -2, -2, -2), ivec4(-5, -5, -5, -2), ivec4(1, 2, 5, -2)) => ivec4(-2, -2, -2, -2) * clamp(ivec4(-2, -2, -2, -2), ivec4(-2, -2, -2, -2), ivec4(-1, 0, 1, 2)) => ivec4(-2, -2, -2, -2) * clamp(ivec4(-2, -2, -2, -2), ivec4(-2, -1, -1, -1), ivec4(5, -1, 0, 1)) => ivec4(-2, -1, -1, -1) * clamp(ivec4(-2, -2, -2, -2), ivec4(-1, -1, 0, 0), ivec4(2, 5, 0, 1)) => ivec4(-1, -1, 0, 0) * clamp(ivec4(-2, -2, -2, -2), ivec4(0, 0, 1, 1), ivec4(2, 5, 1, 2)) => ivec4(0, 0, 1, 1) * clamp(ivec4(-2, -2, -2, -2), ivec4(1, 2, 2, 5), ivec4(5, 2, 5, 5)) => ivec4(1, 2, 2, 5) * clamp(ivec4(-1, -1, -1, -1), ivec4(-5, -5, -5, -5), ivec4(-5, -2, -1, 0)) => ivec4(-5, -2, -1, -1) * clamp(ivec4(-1, -1, -1, -1), ivec4(-5, -5, -5, -2), ivec4(1, 2, 5, -2)) => ivec4(-1, -1, -1, -2) * clamp(ivec4(-1, -1, -1, -1), ivec4(-2, -2, -2, -2), ivec4(-1, 0, 1, 2)) => ivec4(-1, -1, -1, -1) * clamp(ivec4(-1, -1, -1, -1), ivec4(-2, -1, -1, -1), ivec4(5, -1, 0, 1)) => ivec4(-1, -1, -1, -1) * clamp(ivec4(-1, -1, -1, -1), ivec4(-1, -1, 0, 0), ivec4(2, 5, 0, 1)) => ivec4(-1, -1, 0, 0) * clamp(ivec4(-1, -1, -1, -1), ivec4(0, 0, 1, 1), ivec4(2, 5, 1, 2)) => ivec4(0, 0, 1, 1) * clamp(ivec4(-1, -1, -1, -1), ivec4(1, 2, 2, 5), ivec4(5, 2, 5, 5)) => ivec4(1, 2, 2, 5) * clamp(ivec4(0, 0, 0, 0), ivec4(-5, -5, -5, -5), ivec4(-5, -2, -1, 0)) => ivec4(-5, -2, -1, 0) * clamp(ivec4(0, 0, 0, 0), ivec4(-5, -5, -5, -2), ivec4(1, 2, 5, -2)) => ivec4(0, 0, 0, -2) * clamp(ivec4(0, 0, 0, 0), ivec4(-2, -2, -2, -2), ivec4(-1, 0, 1, 2)) => ivec4(-1, 0, 0, 0) * clamp(ivec4(0, 0, 0, 0), ivec4(-2, -1, -1, -1), ivec4(5, -1, 0, 1)) => ivec4(0, -1, 0, 0) * clamp(ivec4(0, 0, 0, 0), ivec4(-1, -1, 0, 0), ivec4(2, 5, 0, 1)) => ivec4(0, 0, 0, 0) * clamp(ivec4(0, 0, 0, 0), ivec4(0, 0, 1, 1), ivec4(2, 5, 1, 2)) => ivec4(0, 0, 1, 1) * clamp(ivec4(0, 0, 0, 0), ivec4(1, 2, 2, 5), ivec4(5, 2, 5, 5)) => ivec4(1, 2, 2, 5) * clamp(ivec4(1, 1, 1, 1), ivec4(-5, -5, -5, -5), ivec4(-5, -2, -1, 0)) => ivec4(-5, -2, -1, 0) * clamp(ivec4(1, 1, 1, 1), ivec4(-5, -5, -5, -2), ivec4(1, 2, 5, -2)) => ivec4(1, 1, 1, -2) * clamp(ivec4(1, 1, 1, 1), ivec4(-2, -2, -2, -2), ivec4(-1, 0, 1, 2)) => ivec4(-1, 0, 1, 1) * clamp(ivec4(1, 1, 1, 1), ivec4(-2, -1, -1, -1), ivec4(5, -1, 0, 1)) => ivec4(1, -1, 0, 1) * clamp(ivec4(1, 1, 1, 1), ivec4(-1, -1, 0, 0), ivec4(2, 5, 0, 1)) => ivec4(1, 1, 0, 1) * clamp(ivec4(1, 1, 1, 1), ivec4(0, 0, 1, 1), ivec4(2, 5, 1, 2)) => ivec4(1, 1, 1, 1) * clamp(ivec4(1, 1, 1, 1), ivec4(1, 2, 2, 5), ivec4(5, 2, 5, 5)) => ivec4(1, 2, 2, 5) * clamp(ivec4(2, 2, 2, 2), ivec4(-5, -5, -5, -5), ivec4(-5, -2, -1, 0)) => ivec4(-5, -2, -1, 0) * clamp(ivec4(2, 2, 2, 2), ivec4(-5, -5, -5, -2), ivec4(1, 2, 5, -2)) => ivec4(1, 2, 2, -2) * clamp(ivec4(2, 2, 2, 2), ivec4(-2, -2, -2, -2), ivec4(-1, 0, 1, 2)) => ivec4(-1, 0, 1, 2) * clamp(ivec4(2, 2, 2, 2), ivec4(-2, -1, -1, -1), ivec4(5, -1, 0, 1)) => ivec4(2, -1, 0, 1) * clamp(ivec4(2, 2, 2, 2), ivec4(-1, -1, 0, 0), ivec4(2, 5, 0, 1)) => ivec4(2, 2, 0, 1) * clamp(ivec4(2, 2, 2, 2), ivec4(0, 0, 1, 1), ivec4(2, 5, 1, 2)) => ivec4(2, 2, 1, 2) * clamp(ivec4(2, 2, 2, 2), ivec4(1, 2, 2, 5), ivec4(5, 2, 5, 5)) => ivec4(2, 2, 2, 5) * clamp(ivec4(5, 5, 5, 5), ivec4(-5, -5, -5, -5), ivec4(-5, -2, -1, 0)) => ivec4(-5, -2, -1, 0) * clamp(ivec4(5, 5, 5, 5), ivec4(-5, -5, -5, -2), ivec4(1, 2, 5, -2)) => ivec4(1, 2, 5, -2) * clamp(ivec4(5, 5, 5, 5), ivec4(-2, -2, -2, -2), ivec4(-1, 0, 1, 2)) => ivec4(-1, 0, 1, 2) * clamp(ivec4(5, 5, 5, 5), ivec4(-2, -1, -1, -1), ivec4(5, -1, 0, 1)) => ivec4(5, -1, 0, 1) * clamp(ivec4(5, 5, 5, 5), ivec4(-1, -1, 0, 0), ivec4(2, 5, 0, 1)) => ivec4(2, 5, 0, 1) * clamp(ivec4(5, 5, 5, 5), ivec4(0, 0, 1, 1), ivec4(2, 5, 1, 2)) => ivec4(2, 5, 1, 2) * clamp(ivec4(5, 5, 5, 5), ivec4(1, 2, 2, 5), ivec4(5, 2, 5, 5)) => ivec4(5, 2, 5, 5) */ #version 130 void main() { float[all(equal(clamp(ivec4(-5, -5, -5, -5), ivec4(-5, -5, -5, -5), ivec4(-5, -2, -1, 0)), ivec4(-5, -5, -5, -5))) ? 1 : -1] array0; float[all(equal(clamp(ivec4(-5, -5, -5, -5), ivec4(-5, -5, -5, -2), ivec4(1, 2, 5, -2)), ivec4(-5, -5, -5, -2))) ? 1 : -1] array1; float[all(equal(clamp(ivec4(-5, -5, -5, -5), ivec4(-2, -2, -2, -2), ivec4(-1, 0, 1, 2)), ivec4(-2, -2, -2, -2))) ? 1 : -1] array2; float[all(equal(clamp(ivec4(-5, -5, -5, -5), ivec4(-2, -1, -1, -1), ivec4(5, -1, 0, 1)), ivec4(-2, -1, -1, -1))) ? 1 : -1] array3; float[all(equal(clamp(ivec4(-5, -5, -5, -5), ivec4(-1, -1, 0, 0), ivec4(2, 5, 0, 1)), ivec4(-1, -1, 0, 0))) ? 1 : -1] array4; float[all(equal(clamp(ivec4(-5, -5, -5, -5), ivec4(0, 0, 1, 1), ivec4(2, 5, 1, 2)), ivec4(0, 0, 1, 1))) ? 1 : -1] array5; float[all(equal(clamp(ivec4(-5, -5, -5, -5), ivec4(1, 2, 2, 5), ivec4(5, 2, 5, 5)), ivec4(1, 2, 2, 5))) ? 1 : -1] array6; float[all(equal(clamp(ivec4(-2, -2, -2, -2), ivec4(-5, -5, -5, -5), ivec4(-5, -2, -1, 0)), ivec4(-5, -2, -2, -2))) ? 1 : -1] array7; float[all(equal(clamp(ivec4(-2, -2, -2, -2), ivec4(-5, -5, -5, -2), ivec4(1, 2, 5, -2)), ivec4(-2, -2, -2, -2))) ? 1 : -1] array8; float[all(equal(clamp(ivec4(-2, -2, -2, -2), ivec4(-2, -2, -2, -2), ivec4(-1, 0, 1, 2)), ivec4(-2, -2, -2, -2))) ? 1 : -1] array9; float[all(equal(clamp(ivec4(-2, -2, -2, -2), ivec4(-2, -1, -1, -1), ivec4(5, -1, 0, 1)), ivec4(-2, -1, -1, -1))) ? 1 : -1] array10; float[all(equal(clamp(ivec4(-2, -2, -2, -2), ivec4(-1, -1, 0, 0), ivec4(2, 5, 0, 1)), ivec4(-1, -1, 0, 0))) ? 1 : -1] array11; float[all(equal(clamp(ivec4(-2, -2, -2, -2), ivec4(0, 0, 1, 1), ivec4(2, 5, 1, 2)), ivec4(0, 0, 1, 1))) ? 1 : -1] array12; float[all(equal(clamp(ivec4(-2, -2, -2, -2), ivec4(1, 2, 2, 5), ivec4(5, 2, 5, 5)), ivec4(1, 2, 2, 5))) ? 1 : -1] array13; float[all(equal(clamp(ivec4(-1, -1, -1, -1), ivec4(-5, -5, -5, -5), ivec4(-5, -2, -1, 0)), ivec4(-5, -2, -1, -1))) ? 1 : -1] array14; float[all(equal(clamp(ivec4(-1, -1, -1, -1), ivec4(-5, -5, -5, -2), ivec4(1, 2, 5, -2)), ivec4(-1, -1, -1, -2))) ? 1 : -1] array15; float[all(equal(clamp(ivec4(-1, -1, -1, -1), ivec4(-2, -2, -2, -2), ivec4(-1, 0, 1, 2)), ivec4(-1, -1, -1, -1))) ? 1 : -1] array16; float[all(equal(clamp(ivec4(-1, -1, -1, -1), ivec4(-2, -1, -1, -1), ivec4(5, -1, 0, 1)), ivec4(-1, -1, -1, -1))) ? 1 : -1] array17; float[all(equal(clamp(ivec4(-1, -1, -1, -1), ivec4(-1, -1, 0, 0), ivec4(2, 5, 0, 1)), ivec4(-1, -1, 0, 0))) ? 1 : -1] array18; float[all(equal(clamp(ivec4(-1, -1, -1, -1), ivec4(0, 0, 1, 1), ivec4(2, 5, 1, 2)), ivec4(0, 0, 1, 1))) ? 1 : -1] array19; float[all(equal(clamp(ivec4(-1, -1, -1, -1), ivec4(1, 2, 2, 5), ivec4(5, 2, 5, 5)), ivec4(1, 2, 2, 5))) ? 1 : -1] array20; float[all(equal(clamp(ivec4(0, 0, 0, 0), ivec4(-5, -5, -5, -5), ivec4(-5, -2, -1, 0)), ivec4(-5, -2, -1, 0))) ? 1 : -1] array21; float[all(equal(clamp(ivec4(0, 0, 0, 0), ivec4(-5, -5, -5, -2), ivec4(1, 2, 5, -2)), ivec4(0, 0, 0, -2))) ? 1 : -1] array22; float[all(equal(clamp(ivec4(0, 0, 0, 0), ivec4(-2, -2, -2, -2), ivec4(-1, 0, 1, 2)), ivec4(-1, 0, 0, 0))) ? 1 : -1] array23; float[all(equal(clamp(ivec4(0, 0, 0, 0), ivec4(-2, -1, -1, -1), ivec4(5, -1, 0, 1)), ivec4(0, -1, 0, 0))) ? 1 : -1] array24; float[all(equal(clamp(ivec4(0, 0, 0, 0), ivec4(-1, -1, 0, 0), ivec4(2, 5, 0, 1)), ivec4(0, 0, 0, 0))) ? 1 : -1] array25; float[all(equal(clamp(ivec4(0, 0, 0, 0), ivec4(0, 0, 1, 1), ivec4(2, 5, 1, 2)), ivec4(0, 0, 1, 1))) ? 1 : -1] array26; float[all(equal(clamp(ivec4(0, 0, 0, 0), ivec4(1, 2, 2, 5), ivec4(5, 2, 5, 5)), ivec4(1, 2, 2, 5))) ? 1 : -1] array27; float[all(equal(clamp(ivec4(1, 1, 1, 1), ivec4(-5, -5, -5, -5), ivec4(-5, -2, -1, 0)), ivec4(-5, -2, -1, 0))) ? 1 : -1] array28; float[all(equal(clamp(ivec4(1, 1, 1, 1), ivec4(-5, -5, -5, -2), ivec4(1, 2, 5, -2)), ivec4(1, 1, 1, -2))) ? 1 : -1] array29; float[all(equal(clamp(ivec4(1, 1, 1, 1), ivec4(-2, -2, -2, -2), ivec4(-1, 0, 1, 2)), ivec4(-1, 0, 1, 1))) ? 1 : -1] array30; float[all(equal(clamp(ivec4(1, 1, 1, 1), ivec4(-2, -1, -1, -1), ivec4(5, -1, 0, 1)), ivec4(1, -1, 0, 1))) ? 1 : -1] array31; float[all(equal(clamp(ivec4(1, 1, 1, 1), ivec4(-1, -1, 0, 0), ivec4(2, 5, 0, 1)), ivec4(1, 1, 0, 1))) ? 1 : -1] array32; float[all(equal(clamp(ivec4(1, 1, 1, 1), ivec4(0, 0, 1, 1), ivec4(2, 5, 1, 2)), ivec4(1, 1, 1, 1))) ? 1 : -1] array33; float[all(equal(clamp(ivec4(1, 1, 1, 1), ivec4(1, 2, 2, 5), ivec4(5, 2, 5, 5)), ivec4(1, 2, 2, 5))) ? 1 : -1] array34; float[all(equal(clamp(ivec4(2, 2, 2, 2), ivec4(-5, -5, -5, -5), ivec4(-5, -2, -1, 0)), ivec4(-5, -2, -1, 0))) ? 1 : -1] array35; float[all(equal(clamp(ivec4(2, 2, 2, 2), ivec4(-5, -5, -5, -2), ivec4(1, 2, 5, -2)), ivec4(1, 2, 2, -2))) ? 1 : -1] array36; float[all(equal(clamp(ivec4(2, 2, 2, 2), ivec4(-2, -2, -2, -2), ivec4(-1, 0, 1, 2)), ivec4(-1, 0, 1, 2))) ? 1 : -1] array37; float[all(equal(clamp(ivec4(2, 2, 2, 2), ivec4(-2, -1, -1, -1), ivec4(5, -1, 0, 1)), ivec4(2, -1, 0, 1))) ? 1 : -1] array38; float[all(equal(clamp(ivec4(2, 2, 2, 2), ivec4(-1, -1, 0, 0), ivec4(2, 5, 0, 1)), ivec4(2, 2, 0, 1))) ? 1 : -1] array39; float[all(equal(clamp(ivec4(2, 2, 2, 2), ivec4(0, 0, 1, 1), ivec4(2, 5, 1, 2)), ivec4(2, 2, 1, 2))) ? 1 : -1] array40; float[all(equal(clamp(ivec4(2, 2, 2, 2), ivec4(1, 2, 2, 5), ivec4(5, 2, 5, 5)), ivec4(2, 2, 2, 5))) ? 1 : -1] array41; float[all(equal(clamp(ivec4(5, 5, 5, 5), ivec4(-5, -5, -5, -5), ivec4(-5, -2, -1, 0)), ivec4(-5, -2, -1, 0))) ? 1 : -1] array42; float[all(equal(clamp(ivec4(5, 5, 5, 5), ivec4(-5, -5, -5, -2), ivec4(1, 2, 5, -2)), ivec4(1, 2, 5, -2))) ? 1 : -1] array43; float[all(equal(clamp(ivec4(5, 5, 5, 5), ivec4(-2, -2, -2, -2), ivec4(-1, 0, 1, 2)), ivec4(-1, 0, 1, 2))) ? 1 : -1] array44; float[all(equal(clamp(ivec4(5, 5, 5, 5), ivec4(-2, -1, -1, -1), ivec4(5, -1, 0, 1)), ivec4(5, -1, 0, 1))) ? 1 : -1] array45; float[all(equal(clamp(ivec4(5, 5, 5, 5), ivec4(-1, -1, 0, 0), ivec4(2, 5, 0, 1)), ivec4(2, 5, 0, 1))) ? 1 : -1] array46; float[all(equal(clamp(ivec4(5, 5, 5, 5), ivec4(0, 0, 1, 1), ivec4(2, 5, 1, 2)), ivec4(2, 5, 1, 2))) ? 1 : -1] array47; float[all(equal(clamp(ivec4(5, 5, 5, 5), ivec4(1, 2, 2, 5), ivec4(5, 2, 5, 5)), ivec4(5, 2, 5, 5))) ? 1 : -1] array48; gl_FragColor = vec4(array0.length() + array1.length() + array2.length() + array3.length() + array4.length() + array5.length() + array6.length() + array7.length() + array8.length() + array9.length() + array10.length() + array11.length() + array12.length() + array13.length() + array14.length() + array15.length() + array16.length() + array17.length() + array18.length() + array19.length() + array20.length() + array21.length() + array22.length() + array23.length() + array24.length() + array25.length() + array26.length() + array27.length() + array28.length() + array29.length() + array30.length() + array31.length() + array32.length() + array33.length() + array34.length() + array35.length() + array36.length() + array37.length() + array38.length() + array39.length() + array40.length() + array41.length() + array42.length() + array43.length() + array44.length() + array45.length() + array46.length() + array47.length() + array48.length()); } |