Results for spec@glsl-1.50@compiler@built-in-functions@determinant-mat3.frag

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.143339
Stdout
Shader source:
/* [config]
 * expect_result: pass
 * glsl_version: 1.50
 * [end config]
 *
 * Check that the following test vectors are constantfolded correctly:
 * determinant(mat3(-1.11, 0.13, 0.56, 1.67, 1.09, 0.94999999, -0.41, -0.02, 0.23999999)) => -0.18264499
 * determinant(mat3(-1.6900001, -1.09, -1.53, -0.46000001, 1.75, -0.69999999, -0.18000001, 2.0, -1.47)) => 3.5068932
 */
#version 150

void main()
{
  float[distance(determinant(mat3(-1.11, 0.13, 0.56, 1.67, 1.09, 0.94999999, -0.41, -0.02, 0.23999999)), -0.18264499) <= 1.8264499e-06 ? 1 : -1] array0;
  float[distance(determinant(mat3(-1.6900001, -1.09, -1.53, -0.46000001, 1.75, -0.69999999, -0.18000001, 2.0, -1.47)), 3.5068932) <= 3.5068933e-05 ? 1 : -1] array1;
  gl_FragColor = vec4(array0.length() + array1.length());
}

Stderr
Failed to compile fragment shader /Users/vlee/workspace/piglit/generated_tests/spec/glsl-1.50/compiler/built-in-functions/determinant-mat3.frag: ERROR: 0:14: Array size must be a constant
ERROR: 0:14: Array size must be a constant
ERROR: 0:15: Array size must be a constant
ERROR: 0:15: Array size must be a constant
ERROR: 0:16: Use of undeclared identifier 'gl_FragColor'
ERROR: 0:16: Use of undeclared identifier 'array0'
ERROR: 0:16: 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/glsl-1.50/compiler/built-in-functions/determinant-mat3.frag pass 1.50
dmesg

        

Back to summary