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

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.205837965012
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-mat4x3.vert pass 1.20
errors
  • Failed to compile vertex shader tests/../generated_tests/spec/glsl-1.20/compiler/built-in-functions/op-mult-mat3x2-mat4x3.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-mat4x3.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) * mat4x3(-0.27000001, -0.17, -1.85, -1.38, -0.56, -1.29, -1.41, 1.47, 1.77, -0.12, 1.86, 0.0099999998)) => mat4x2(-2.5578001, -1.6903001, -2.4647, 0.20420006, 3.9965999, 3.7071002, 2.4196999, 0.30239999)
 * (mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08) * mat4x3(-0.47, -0.2, -1.39, -0.15000001, 0.52999997, -0.19, 1.97, -1.8200001, 1.62, -1.05, -1.41, 1.58)) => mat4x2(-2.0397999, -0.95790005, 0.43799993, 0.015700007, -0.16369997, -0.74030006, 0.047500163, 2.8431001)
 * (mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79) * mat4x3(-0.27000001, -0.17, -1.85, -1.38, -0.56, -1.29, -1.41, 1.47, 1.77, -0.12, 1.86, 0.0099999998)) => mat4x2(1.3908001, 3.3050001, 1.8756001, 2.5476999, -2.1420002, -1.1273999, -1.9716001, 1.6825)
 * (mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79) * mat4x3(-0.47, -0.2, -1.39, -0.15000001, 0.52999997, -0.19, 1.97, -1.8200001, 1.62, -1.05, -1.41, 1.58)) => mat4x2(1.2192, 2.5611999, -0.40439999, 0.88599998, 0.28440005, -5.5454998, 0.95279998, -3.5125)
 */
#version 120

void main()
{
  float[pow(distance((mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08) * mat4x3(-0.27000001, -0.17, -1.85, -1.38, -0.56, -1.29, -1.41, 1.47, 1.77, -0.12, 1.86, 0.0099999998))[0], vec2(-2.5578001, -1.6903001)), 2) + pow(distance((mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08) * mat4x3(-0.27000001, -0.17, -1.85, -1.38, -0.56, -1.29, -1.41, 1.47, 1.77, -0.12, 1.86, 0.0099999998))[1], vec2(-2.4647, 0.20420006)), 2) + pow(distance((mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08) * mat4x3(-0.27000001, -0.17, -1.85, -1.38, -0.56, -1.29, -1.41, 1.47, 1.77, -0.12, 1.86, 0.0099999998))[2], vec2(3.9965999, 3.7071002)), 2) + pow(distance((mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08) * mat4x3(-0.27000001, -0.17, -1.85, -1.38, -0.56, -1.29, -1.41, 1.47, 1.77, -0.12, 1.86, 0.0099999998))[3], vec2(2.4196999, 0.30239999)), 2) <= 5.1177689e-09 ? 1 : -1] array0;
  float[pow(distance((mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08) * mat4x3(-0.47, -0.2, -1.39, -0.15000001, 0.52999997, -0.19, 1.97, -1.8200001, 1.62, -1.05, -1.41, 1.58))[0], vec2(-2.0397999, -0.95790005)), 2) + pow(distance((mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08) * mat4x3(-0.47, -0.2, -1.39, -0.15000001, 0.52999997, -0.19, 1.97, -1.8200001, 1.62, -1.05, -1.41, 1.58))[1], vec2(0.43799993, 0.015700007)), 2) + pow(distance((mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08) * mat4x3(-0.47, -0.2, -1.39, -0.15000001, 0.52999997, -0.19, 1.97, -1.8200001, 1.62, -1.05, -1.41, 1.58))[2], vec2(-0.16369997, -0.74030006)), 2) + pow(distance((mat3x2(0.090000004, -1.1900001, 1.3, 0.079999998, 1.25, 1.08) * mat4x3(-0.47, -0.2, -1.39, -0.15000001, 0.52999997, -0.19, 1.97, -1.8200001, 1.62, -1.05, -1.41, 1.58))[3], vec2(0.047500163, 2.8431001)), 2) <= 1.3930763e-09 ? 1 : -1] array1;
  float[pow(distance((mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79) * mat4x3(-0.27000001, -0.17, -1.85, -1.38, -0.56, -1.29, -1.41, 1.47, 1.77, -0.12, 1.86, 0.0099999998))[0], vec2(1.3908001, 3.3050001)), 2) + pow(distance((mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79) * mat4x3(-0.27000001, -0.17, -1.85, -1.38, -0.56, -1.29, -1.41, 1.47, 1.77, -0.12, 1.86, 0.0099999998))[1], vec2(1.8756001, 2.5476999)), 2) + pow(distance((mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79) * mat4x3(-0.27000001, -0.17, -1.85, -1.38, -0.56, -1.29, -1.41, 1.47, 1.77, -0.12, 1.86, 0.0099999998))[2], vec2(-2.1420002, -1.1273999)), 2) + pow(distance((mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79) * mat4x3(-0.27000001, -0.17, -1.85, -1.38, -0.56, -1.29, -1.41, 1.47, 1.77, -0.12, 1.86, 0.0099999998))[3], vec2(-1.9716001, 1.6825)), 2) <= 3.5443213e-09 ? 1 : -1] array2;
  float[pow(distance((mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79) * mat4x3(-0.47, -0.2, -1.39, -0.15000001, 0.52999997, -0.19, 1.97, -1.8200001, 1.62, -1.05, -1.41, 1.58))[0], vec2(1.2192, 2.5611999)), 2) + pow(distance((mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79) * mat4x3(-0.47, -0.2, -1.39, -0.15000001, 0.52999997, -0.19, 1.97, -1.8200001, 1.62, -1.05, -1.41, 1.58))[1], vec2(-0.40439999, 0.88599998)), 2) + pow(distance((mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79) * mat4x3(-0.47, -0.2, -1.39, -0.15000001, 0.52999997, -0.19, 1.97, -1.8200001, 1.62, -1.05, -1.41, 1.58))[2], vec2(0.28440005, -5.5454998)), 2) + pow(distance((mat3x2(-0.36000001, -0.52999997, -1.08, 0.88, -0.60000002, -1.79) * mat4x3(-0.47, -0.2, -1.39, -0.15000001, 0.52999997, -0.19, 1.97, -1.8200001, 1.62, -1.05, -1.41, 1.58))[3], vec2(0.95279998, -3.5125)), 2) <= 5.3073665e-09 ? 1 : -1] array3;
  gl_Position = vec4(array0.length() + array1.length() + array2.length() + array3.length());
}

Back to summary