Result: fail
Detail | Value |
---|---|
Returncode | 1 |
Time | 0:00:00.147094 |
Stdout |
Shader source: /* [config] * expect_result: pass * glsl_version: 4.00 * [end config] * * Check that the following test vectors are constantfolded correctly: * (dmat2x4(0.16lf, -0.80000000000000004lf, -1.74lf, -0.02lf, -1.6899999999999999lf, 0.58999999999999997lf, -1.4299999999999999lf, -1.21lf) / -1.3333333333333333lf) => dmat2x4(-0.12000000000000001lf, 0.60000000000000009lf, 1.3050000000000002lf, 0.015000000000000001lf, 1.2675000000000001lf, -0.4425lf, 1.0725lf, 0.90749999999999997lf) * (dmat2x4(0.16lf, -0.80000000000000004lf, -1.74lf, -0.02lf, -1.6899999999999999lf, 0.58999999999999997lf, -1.4299999999999999lf, -1.21lf) / 0.84999999999999998lf) => dmat2x4(0.18823529411764706lf, -0.94117647058823539lf, -2.0470588235294116lf, -0.023529411764705882lf, -1.9882352941176471lf, 0.69411764705882351lf, -1.6823529411764706lf, -1.4235294117647059lf) * (dmat2x4(-1.02lf, -1.6399999999999999lf, -1.5900000000000001lf, 0.29999999999999999lf, 0.73999999999999999lf, -0.13lf, 0.46999999999999997lf, 1.1299999999999999lf) / -1.3333333333333333lf) => dmat2x4(0.76500000000000001lf, 1.23lf, 1.1925000000000001lf, -0.22500000000000001lf, -0.55500000000000005lf, 0.097500000000000003lf, -0.35249999999999998lf, -0.84749999999999992lf) * (dmat2x4(-1.02lf, -1.6399999999999999lf, -1.5900000000000001lf, 0.29999999999999999lf, 0.73999999999999999lf, -0.13lf, 0.46999999999999997lf, 1.1299999999999999lf) / 0.84999999999999998lf) => dmat2x4(-1.2lf, -1.9294117647058824lf, -1.8705882352941179lf, 0.35294117647058826lf, 0.87058823529411766lf, -0.15294117647058825lf, 0.55294117647058827lf, 1.3294117647058823lf) */ #version 400 void main() { double[(distance((dmat2x4(0.16lf, -0.80000000000000004lf, -1.74lf, -0.02lf, -1.6899999999999999lf, 0.58999999999999997lf, -1.4299999999999999lf, -1.21lf) / -1.3333333333333333lf)[0], dvec4(-0.12000000000000001lf, 0.60000000000000009lf, 1.3050000000000002lf, 0.015000000000000001lf)) * distance((dmat2x4(0.16lf, -0.80000000000000004lf, -1.74lf, -0.02lf, -1.6899999999999999lf, 0.58999999999999997lf, -1.4299999999999999lf, -1.21lf) / -1.3333333333333333lf)[0], dvec4(-0.12000000000000001lf, 0.60000000000000009lf, 1.3050000000000002lf, 0.015000000000000001lf))) + (distance((dmat2x4(0.16lf, -0.80000000000000004lf, -1.74lf, -0.02lf, -1.6899999999999999lf, 0.58999999999999997lf, -1.4299999999999999lf, -1.21lf) / -1.3333333333333333lf)[1], dvec4(1.2675000000000001lf, -0.4425lf, 1.0725lf, 0.90749999999999997lf)) * distance((dmat2x4(0.16lf, -0.80000000000000004lf, -1.74lf, -0.02lf, -1.6899999999999999lf, 0.58999999999999997lf, -1.4299999999999999lf, -1.21lf) / -1.3333333333333333lf)[1], dvec4(1.2675000000000001lf, -0.4425lf, 1.0725lf, 0.90749999999999997lf))) <= 5.8538250000000018e-10lf ? 1 : -1] array0; double[(distance((dmat2x4(0.16lf, -0.80000000000000004lf, -1.74lf, -0.02lf, -1.6899999999999999lf, 0.58999999999999997lf, -1.4299999999999999lf, -1.21lf) / 0.84999999999999998lf)[0], dvec4(0.18823529411764706lf, -0.94117647058823539lf, -2.0470588235294116lf, -0.023529411764705882lf)) * distance((dmat2x4(0.16lf, -0.80000000000000004lf, -1.74lf, -0.02lf, -1.6899999999999999lf, 0.58999999999999997lf, -1.4299999999999999lf, -1.21lf) / 0.84999999999999998lf)[0], dvec4(0.18823529411764706lf, -0.94117647058823539lf, -2.0470588235294116lf, -0.023529411764705882lf))) + (distance((dmat2x4(0.16lf, -0.80000000000000004lf, -1.74lf, -0.02lf, -1.6899999999999999lf, 0.58999999999999997lf, -1.4299999999999999lf, -1.21lf) / 0.84999999999999998lf)[1], dvec4(-1.9882352941176471lf, 0.69411764705882351lf, -1.6823529411764706lf, -1.4235294117647059lf)) * distance((dmat2x4(0.16lf, -0.80000000000000004lf, -1.74lf, -0.02lf, -1.6899999999999999lf, 0.58999999999999997lf, -1.4299999999999999lf, -1.21lf) / 0.84999999999999998lf)[1], dvec4(-1.9882352941176471lf, 0.69411764705882351lf, -1.6823529411764706lf, -1.4235294117647059lf))) <= 1.4403875432525954e-09lf ? 1 : -1] array1; double[(distance((dmat2x4(-1.02lf, -1.6399999999999999lf, -1.5900000000000001lf, 0.29999999999999999lf, 0.73999999999999999lf, -0.13lf, 0.46999999999999997lf, 1.1299999999999999lf) / -1.3333333333333333lf)[0], dvec4(0.76500000000000001lf, 1.23lf, 1.1925000000000001lf, -0.22500000000000001lf)) * distance((dmat2x4(-1.02lf, -1.6399999999999999lf, -1.5900000000000001lf, 0.29999999999999999lf, 0.73999999999999999lf, -0.13lf, 0.46999999999999997lf, 1.1299999999999999lf) / -1.3333333333333333lf)[0], dvec4(0.76500000000000001lf, 1.23lf, 1.1925000000000001lf, -0.22500000000000001lf))) + (distance((dmat2x4(-1.02lf, -1.6399999999999999lf, -1.5900000000000001lf, 0.29999999999999999lf, 0.73999999999999999lf, -0.13lf, 0.46999999999999997lf, 1.1299999999999999lf) / -1.3333333333333333lf)[1], dvec4(-0.55500000000000005lf, 0.097500000000000003lf, -0.35249999999999998lf, -0.84749999999999992lf)) * distance((dmat2x4(-1.02lf, -1.6399999999999999lf, -1.5900000000000001lf, 0.29999999999999999lf, 0.73999999999999999lf, -0.13lf, 0.46999999999999997lf, 1.1299999999999999lf) / -1.3333333333333333lf)[1], dvec4(-0.55500000000000005lf, 0.097500000000000003lf, -0.35249999999999998lf, -0.84749999999999992lf))) <= 4.7308500000000013e-10lf ? 1 : -1] array2; double[(distance((dmat2x4(-1.02lf, -1.6399999999999999lf, -1.5900000000000001lf, 0.29999999999999999lf, 0.73999999999999999lf, -0.13lf, 0.46999999999999997lf, 1.1299999999999999lf) / 0.84999999999999998lf)[0], dvec4(-1.2lf, -1.9294117647058824lf, -1.8705882352941179lf, 0.35294117647058826lf)) * distance((dmat2x4(-1.02lf, -1.6399999999999999lf, -1.5900000000000001lf, 0.29999999999999999lf, 0.73999999999999999lf, -0.13lf, 0.46999999999999997lf, 1.1299999999999999lf) / 0.84999999999999998lf)[0], dvec4(-1.2lf, -1.9294117647058824lf, -1.8705882352941179lf, 0.35294117647058826lf))) + (distance((dmat2x4(-1.02lf, -1.6399999999999999lf, -1.5900000000000001lf, 0.29999999999999999lf, 0.73999999999999999lf, -0.13lf, 0.46999999999999997lf, 1.1299999999999999lf) / 0.84999999999999998lf)[1], dvec4(0.87058823529411766lf, -0.15294117647058825lf, 0.55294117647058827lf, 1.3294117647058823lf)) * distance((dmat2x4(-1.02lf, -1.6399999999999999lf, -1.5900000000000001lf, 0.29999999999999999lf, 0.73999999999999999lf, -0.13lf, 0.46999999999999997lf, 1.1299999999999999lf) / 0.84999999999999998lf)[1], dvec4(0.87058823529411766lf, -0.15294117647058825lf, 0.55294117647058827lf, 1.3294117647058823lf))) <= 1.1640692041522492e-09lf ? 1 : -1] array3; gl_FragColor = dvec4(array0.length() + array1.length() + array2.length() + array3.length()); } |
Stderr |
Failed to compile fragment shader /Users/vlee/workspace/piglit/generated_tests/spec/glsl-4.00/compiler/built-in-functions/op-div-dmat2x4-double.frag: ERROR: 0:20: Use of undeclared identifier 'gl_FragColor' |
Environment |
PIGLIT_SOURCE_DIR="/Users/vlee/workspace/piglit" PIGLIT_PLATFORM="mixed_glx_egl" |
Command | /Users/vlee/workspace/piglit/bin/glslparsertest /Users/vlee/workspace/piglit/generated_tests/spec/glsl-4.00/compiler/built-in-functions/op-div-dmat2x4-double.frag pass 4.00 |
dmesg |