Results for spec/glsl-1.20/compiler/built-in-functions/op-mult-mat3x2-vec3.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.235547065735
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-mult-mat3x2-vec3.vert pass 1.20
errors
  • Failed to compile vertex shader tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-mult-mat3x2-vec3.vert: 0(16) : error C1307: non constant expression for array size
  • 0(17) : error C1307: non constant expression for array size
  • 0(18) : error C1307: non constant expression for array size
  • 0(19) : error C1307: non constant expression for array size
info
Returncode: 1

Errors:
Failed to compile vertex shader tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-mult-mat3x2-vec3.vert: 0(16) : error C1307: non constant expression for array size
0(17) : error C1307: non constant expression for array size
0(18) : error C1307: non constant expression for array size
0(19) : error C1307: non constant expression for array size



Output:
Shader source:
/* [config]
 * expect_result: pass
 * glsl_version: 1.20
 * [end config]
 *
 * Check that the following test vectors are constant folded correctly:
 * (mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08) * vec3(-0.029999999, -0.85000002, -0.94)) => vec2(-2.2827001, -1.0475)
 * (mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08) * vec3(1.67, 0.66000003, 1.87)) => vec2(3.3457999, 0.08510004)
 * (mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79) * vec3(-0.029999999, -0.85000002, -0.94)) => vec2(1.4928001, 0.95049995)
 * (mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79) * vec3(1.67, 0.66000003, 1.87)) => vec2(-2.4360001, -3.6515999)
 */
#version 120

void main()
{
  float[distance((mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08) * vec3(-0.029999999, -0.85000002, -0.94)), vec2(-2.2827001, -1.0475)) <= 2.5115683e-05 ? 1 : -1] array0;
  float[distance((mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08) * vec3(1.67, 0.66000003, 1.87)), vec2(3.3457999, 0.08510004)) <= 3.3468819e-05 ? 1 : -1] array1;
  float[distance((mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79) * vec3(-0.029999999, -0.85000002, -0.94)), vec2(1.4928001, 0.95049995)) <= 1.7697183e-05 ? 1 : -1] array2;
  float[distance((mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79) * vec3(1.67, 0.66000003, 1.87)), vec2(-2.4360001, -3.6515999)) <= 4.3895645e-05 ? 1 : -1] array3;
  gl_Position = vec4(array0.length() + array1.length() + array2.length() + array3.length());
}

Back to summary