Result: fail
| Detail | Value |
|---|---|
| Returncode | 1 |
| Time | 0:00:00.151542 |
| Stdout |
Shader source:
/* [config]
* expect_result: pass
* glsl_version: 1.50
* require_extensions: GL_ARB_gpu_shader_fp64
* [end config]
*
* Check that the following test vectors are constantfolded correctly:
* determinant(dmat3(-1.1100000000000001lf, 0.13lf, 0.56000000000000005lf, 1.6699999999999999lf, 1.0900000000000001lf, 0.94999999999999996lf, -0.40999999999999998lf, -0.02lf, 0.23999999999999999lf)) => -0.18264500000000009lf
* determinant(dmat3(-1.6899999999999999lf, -1.0900000000000001lf, -1.53lf, -0.46000000000000002lf, 1.75lf, -0.69999999999999996lf, -0.17999999999999999lf, 2.0lf, -1.47lf)) => 3.5068929999999989lf
*/
#version 150
#extension GL_ARB_gpu_shader_fp64 : require
void main()
{
double[distance(determinant(dmat3(-1.1100000000000001lf, 0.13lf, 0.56000000000000005lf, 1.6699999999999999lf, 1.0900000000000001lf, 0.94999999999999996lf, -0.40999999999999998lf, -0.02lf, 0.23999999999999999lf)), -0.18264500000000009lf) <= 1.826450000000001e-06lf ? 1 : -1] array0;
double[distance(determinant(dmat3(-1.6899999999999999lf, -1.0900000000000001lf, -1.53lf, -0.46000000000000002lf, 1.75lf, -0.69999999999999996lf, -0.17999999999999999lf, 2.0lf, -1.47lf)), 3.5068929999999989lf) <= 3.5068929999999994e-05lf ? 1 : -1] array1;
gl_Position = dvec4(array0.length() + array1.length());
}
|
| Stderr |
Failed to compile geometry shader /Users/vlee/workspace/piglit/generated_tests/spec/arb_gpu_shader_fp64/compiler/built-in-functions/determinant-dmat3.geom: ERROR: 0:16: Array size must be a constant ERROR: 0:16: Array size must be a constant ERROR: 0:17: Array size must be a constant ERROR: 0:17: Array size must be a constant ERROR: 0:18: Use of undeclared identifier 'array0' ERROR: 0:18: Use of undeclared identifier 'array1' |
| 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/arb_gpu_shader_fp64/compiler/built-in-functions/determinant-dmat3.geom pass 1.50 GL_ARB_gpu_shader_fp64 |
| dmesg |