/dports/games/warzone2100/warzone2100/3rdparty/glm/test/core/ |
H A D | core_type_mat4x2.cpp | 18 glm::mat4x2 l(1.0f); in test_operators() 19 glm::mat4x2 m(1.0f); in test_operators() 25 glm::mat4x2 n = x / m; in test_operators() 26 glm::mat4x2 o = m / x; in test_operators() 27 glm::mat4x2 p = x * m; in test_operators() 28 glm::mat4x2 q = m * x; in test_operators() 40 glm::mat4x2 m0( in test_ctr() 48 glm::mat4x2 m2{ in test_ctr() 57 std::vector<glm::mat4x2> v1{ in test_ctr() 62 std::vector<glm::mat4x2> v2{ in test_ctr() [all …]
|
H A D | core_func_matrix.cpp | 73 mat4x2 m(0, 1, 2, 3, 4, 5, 6, 7); in test_matrixCompMult() 74 mat4x2 n = matrixCompMult(m, m); in test_matrixCompMult() 75 mat4x2 expected = mat4x2(0, 1, 4, 9, 16, 25, 36, 49); in test_matrixCompMult() 103 { glm::mat4x2 m = glm::outerProduct(glm::vec2(1.0f), glm::vec4(1.0f)); } in test_outerProduct() 131 mat4x2 t = transpose(m); in test_transpose() 132 mat4x2 const expected = mat4x2(0, 4, 1, 5, 2, 6, 3, 7); in test_transpose() 170 mat4x2 m(0, 1, 2, 3, 4, 5, 6, 7); in test_transpose()
|
H A D | core_cpp_defaulted_ctor.cpp | 94 glm::mat4x2 const A = glm::mat4x2(76); in test_mat_memcpy() 95 glm::mat4x2 B; in test_mat_memcpy() 96 std::memcpy(&B, &A, sizeof(glm::mat4x2)); in test_mat_memcpy()
|
/dports/math/glm/glm-0.9.9.8/test/core/ |
H A D | core_type_mat4x2.cpp | 18 glm::mat4x2 l(1.0f); in test_operators() 19 glm::mat4x2 m(1.0f); in test_operators() 25 glm::mat4x2 n = x / m; in test_operators() 26 glm::mat4x2 o = m / x; in test_operators() 27 glm::mat4x2 p = x * m; in test_operators() 28 glm::mat4x2 q = m * x; in test_operators() 40 glm::mat4x2 m0( in test_ctr() 48 glm::mat4x2 m2{ in test_ctr() 57 std::vector<glm::mat4x2> v1{ in test_ctr() 62 std::vector<glm::mat4x2> v2{ in test_ctr() [all …]
|
H A D | core_func_matrix.cpp | 73 mat4x2 m(0, 1, 2, 3, 4, 5, 6, 7); in test_matrixCompMult() 74 mat4x2 n = matrixCompMult(m, m); in test_matrixCompMult() 75 mat4x2 expected = mat4x2(0, 1, 4, 9, 16, 25, 36, 49); in test_matrixCompMult() 103 { glm::mat4x2 m = glm::outerProduct(glm::vec2(1.0f), glm::vec4(1.0f)); } in test_outerProduct() 131 mat4x2 t = transpose(m); in test_transpose() 132 mat4x2 const expected = mat4x2(0, 4, 1, 5, 2, 6, 3, 7); in test_transpose() 170 mat4x2 m(0, 1, 2, 3, 4, 5, 6, 7); in test_transpose()
|
H A D | core_cpp_defaulted_ctor.cpp | 94 glm::mat4x2 const A = glm::mat4x2(76); in test_mat_memcpy() 95 glm::mat4x2 B; in test_mat_memcpy() 96 std::memcpy(&B, &A, sizeof(glm::mat4x2)); in test_mat_memcpy()
|
/dports/emulators/mess/mame-mame0226/3rdparty/glm/test/core/ |
H A D | core_type_mat4x2.cpp | 15 glm::mat4x2 l(1.0f); in test_operators() 16 glm::mat4x2 m(1.0f); in test_operators() 22 glm::mat4x2 n = x / m; in test_operators() 23 glm::mat4x2 o = m / x; in test_operators() 24 glm::mat4x2 p = x * m; in test_operators() 25 glm::mat4x2 q = m * x; in test_operators() 37 glm::mat4x2 m0( in test_ctr() 45 glm::mat4x2 m2{ in test_ctr() 57 std::vector<glm::mat4x2> v1{ in test_ctr() 62 std::vector<glm::mat4x2> v2{ in test_ctr() [all …]
|
H A D | core_func_matrix.cpp | 58 mat4x2 m(0, 1, 2, 3, 4, 5, 6, 7); in test_matrixCompMult() 59 mat4x2 n = matrixCompMult(m, m); in test_matrixCompMult() 60 Error += n == mat4x2(0, 1, 4, 9, 16, 25, 36, 49) ? 0 : 1; in test_matrixCompMult() 84 { glm::mat4x2 m = glm::outerProduct(glm::vec2(1.0f), glm::vec4(1.0f)); } in test_outerProduct() 108 mat4x2 t = transpose(m); in test_transpose() 109 Error += t == mat4x2(0, 4, 1, 5, 2, 6, 3, 7) ? 0 : 1; in test_transpose() 137 mat4x2 m(0, 1, 2, 3, 4, 5, 6, 7); in test_transpose()
|
/dports/emulators/mame/mame-mame0226/3rdparty/glm/test/core/ |
H A D | core_type_mat4x2.cpp | 15 glm::mat4x2 l(1.0f); in test_operators() 16 glm::mat4x2 m(1.0f); in test_operators() 22 glm::mat4x2 n = x / m; in test_operators() 23 glm::mat4x2 o = m / x; in test_operators() 24 glm::mat4x2 p = x * m; in test_operators() 25 glm::mat4x2 q = m * x; in test_operators() 37 glm::mat4x2 m0( in test_ctr() 45 glm::mat4x2 m2{ in test_ctr() 57 std::vector<glm::mat4x2> v1{ in test_ctr() 62 std::vector<glm::mat4x2> v2{ in test_ctr() [all …]
|
H A D | core_func_matrix.cpp | 58 mat4x2 m(0, 1, 2, 3, 4, 5, 6, 7); in test_matrixCompMult() 59 mat4x2 n = matrixCompMult(m, m); in test_matrixCompMult() 60 Error += n == mat4x2(0, 1, 4, 9, 16, 25, 36, 49) ? 0 : 1; in test_matrixCompMult() 84 { glm::mat4x2 m = glm::outerProduct(glm::vec2(1.0f), glm::vec4(1.0f)); } in test_outerProduct() 108 mat4x2 t = transpose(m); in test_transpose() 109 Error += t == mat4x2(0, 4, 1, 5, 2, 6, 3, 7) ? 0 : 1; in test_transpose() 137 mat4x2 m(0, 1, 2, 3, 4, 5, 6, 7); in test_transpose()
|
/dports/graphics/nanort/nanort-b1feea8/examples/common/glm/test/core/ |
H A D | core_type_mat4x2.cpp | 15 glm::mat4x2 l(1.0f); in test_operators() 16 glm::mat4x2 m(1.0f); in test_operators() 22 glm::mat4x2 n = x / m; in test_operators() 23 glm::mat4x2 o = m / x; in test_operators() 24 glm::mat4x2 p = x * m; in test_operators() 25 glm::mat4x2 q = m * x; in test_operators() 37 glm::mat4x2 m0( in test_ctr() 45 glm::mat4x2 m2{ in test_ctr() 57 std::vector<glm::mat4x2> v1{ in test_ctr() 62 std::vector<glm::mat4x2> v2{ in test_ctr() [all …]
|
H A D | core_func_matrix.cpp | 58 mat4x2 m(0, 1, 2, 3, 4, 5, 6, 7); in test_matrixCompMult() 59 mat4x2 n = matrixCompMult(m, m); in test_matrixCompMult() 60 Error += n == mat4x2(0, 1, 4, 9, 16, 25, 36, 49) ? 0 : 1; in test_matrixCompMult() 84 { glm::mat4x2 m = glm::outerProduct(glm::vec2(1.0f), glm::vec4(1.0f)); } in test_outerProduct() 108 mat4x2 t = transpose(m); in test_transpose() 109 Error += t == mat4x2(0, 4, 1, 5, 2, 6, 3, 7) ? 0 : 1; in test_transpose() 137 mat4x2 m(0, 1, 2, 3, 4, 5, 6, 7); in test_transpose()
|
/dports/games/libretro-shaders-slang/slang-shaders-9850d68939b86262eae9f0da01ff1c11daafcdc3/nedi/shaders/ |
H A D | nedi-pass1.slang | 62 #define float4x2 mat4x2 118 mat4x2 wind1 = mat4x2(vec2(-1,0),vec2(1,0),vec2(0,1),vec2(0,-1)); 119 mat4x2 wind2 = mat4x2(vec2(-2,-1),vec2(2,1),vec2(-1,2),vec2(1,-2)); 120 mat4x2 wind3 = mat4x2(vec2(-3,-2),vec2(3,2),vec2(-2,3),vec2(2,-3)); 121 mat4x2 wind4 = mat4x2(vec2(-2,1),vec2(2,-1),vec2(1,2),vec2(-1,-2)); 122 mat4x2 wind5 = mat4x2(vec2(-3,2),vec2(3,-2),vec2(2,3),vec2(-2,-3)); 123 mat4x2 wind6 = mat4x2(vec2(-4,-1),vec2(4,1),vec2(-1,4),vec2(1,-4)); 124 mat4x2 wind7 = mat4x2(vec2(-4,1),vec2(4,-1),vec2(1,4),vec2(-1,-4)); 125 mat4x2 wind[7] = mat4x2[7](wind1, wind2, wind3, wind4, wind5, wind6, wind7);
|
H A D | nedi-pass0.slang | 62 #define float4x2 mat4x2 137 mat4x2 wind1 = mat4x2(vec2(-1,-1),vec2(1,1),vec2(-1,1),vec2(1,-1)); 138 mat4x2 wind2 = mat4x2(vec2(-3,-1),vec2(3,1),vec2(-1,3),vec2(1,-3)); 139 mat4x2 wind3 = mat4x2(vec2(-3,1),vec2(3,-1),vec2(1,3),vec2(-1,-3)); 140 mat4x2 wind4 = mat4x2(vec2(-3,-3),vec2( 3,3),vec2(-3, 3),vec2(3,-3)); 141 mat4x2 wind[4] = mat4x2[4](wind1, wind2, wind3, wind4);
|
H A D | nedi-pass2.slang | 62 #define float4x2 mat4x2 135 mat4x2 wind1 = mat4x2(vec2(-1,-1),vec2(1,1),vec2(-1,1),vec2(1,-1)); 136 mat4x2 wind2 = mat4x2(vec2(-3,-1),vec2(3,1),vec2(-1,3),vec2(1,-3)); 137 mat4x2 wind3 = mat4x2(vec2(-3,1),vec2(3,-1),vec2(1,3),vec2(-1,-3)); 138 mat4x2 wind4 = mat4x2(vec2(-3,-3),vec2( 3,3),vec2(-3, 3),vec2(3,-3)); 139 mat4x2 wind[4] = mat4x2[4](wind1, wind2, wind3, wind4);
|
/dports/games/libretro-shaders-glsl/glsl-shaders-7052b09dc657d56bea443d5661dccbebcafe32dc/nedi/shaders/ |
H A D | nedi-pass1.glsl | 49 #define float4x2 mat4x2 186 mat4x2 wind1 = mat4x2(-1.,0.,1.,0.,0.,1.,0.,-1.); 187 mat4x2 wind2 = mat4x2(-1.,0.,1.,0.,0.,1.,0.,-1.); 188 mat4x2 wind3 = mat4x2(-2.,-1.,2.,1.,-1.,2.,1.,-2.); 189 mat4x2 wind4 = mat4x2(-3.,-2.,3.,2.,-2.,3.,2.,-3.); 190 mat4x2 wind5 = mat4x2(-2.,1.,2.,-1.,1.,2.,-1.,-2.); 191 mat4x2 wind6 = mat4x2(-3.,2.,3.,-2.,2.,3.,-2.,-3.); 192 mat4x2 wind7 = mat4x2(-4.,-1.,4.,1.,-1.,4.,1.,-4.); 193 mat4x2 wind8 = mat4x2(-4.,1.,4.,-1.,1.,4.,-1.,-4.); 194 float4x2 wind[7] = mat4x2[](wind1, wind2, wind3, wind4, wind5, wind6, wind7);
|
H A D | nedi-pass2.glsl | 49 #define float4x2 mat4x2 195 mat4x2 wind1 = mat4x2(-1.,-1.,1., 1.,-1., 1., 1.,-1.); 196 mat4x2 wind2 = mat4x2(-3.,-1.,3., 1.,-1., 3., 1.,-3.); 197 mat4x2 wind3 = mat4x2(-3., 1.,3.,-1., 1., 3.,-1.,-3.); 198 mat4x2 wind4 = mat4x2(-3.,-3., 3.,3.,-3., 3., 3.,-3.); 199 float4x2 wind[4] = mat4x2[](wind1, wind2, wind3, wind4);
|
H A D | nedi-pass0.glsl | 57 #define float4x2 mat4x2 213 mat4x2 wind1 = mat4x2(-1.,-1.,1., 1.,-1., 1., 1.,-1.); 214 mat4x2 wind2 = mat4x2(-3.,-1.,3., 1.,-1., 3., 1.,-3.); 215 mat4x2 wind3 = mat4x2(-3., 1.,3.,-1., 1., 3.,-1.,-3.); 216 mat4x2 wind4 = mat4x2(-3.,-3., 3.,3.,-3., 3., 3.,-3.); 217 float4x2 wind[4] = mat4x2[](wind1, wind2, wind3, wind4);
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/tests/sksl/shared/golden/ |
H A D | ResizeMatrix.glsl | 11 sk_FragColor.x = mat4(mat4x3(mat4x2(1.0)))[0][0]; 13 sk_FragColor.x = mat2x4(mat4x2(1.0))[0][0]; 14 sk_FragColor.x = mat4x2(mat2x4(1.0))[0][0];
|
/dports/games/dustrac/DustRacing2D-ae380b8/src/game/MiniCore/src/Graphics/contrib/glm/ogl-math/glm/core/ |
H A D | type.hpp | 70 typedef highp_mat4x2 mat4x2; typedef 83 typedef mediump_mat4x2 mat4x2; 96 typedef lowp_mat4x2 mat4x2; 148 typedef mediump_mat4x2 mat4x2;
|
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/glsl-1.30/compiler/keywords/ |
H A D | mat4x2.frag | 6 // Check that 'mat4x2' is a keyword. 12 int mat4x2;
|
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/glsl-1.10/execution/ |
H A D | glsl-mat-110.shader_test | 15 float mat4x2 = 1.0; 17 gl_FragColor = vec4(0.0, mat4x2, 0.0, 0.0);
|
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/spec/arb_shading_language_420pack/compiler/ |
H A D | illegal-aggregate-initializer-nonsquare-matrix-reversed-row-column.frag | 12 // Illegal since mat4x2 consists of 4x vec2 columns, but 2x vec4 columns 14 mat4x2 c = { vec4(0.0), vec4(1.0) };
|
H A D | illegal-aggregate-initializer-nonsquare-matrix-wrong-column-type.frag | 12 // Illegal since columns of a mat4x2 are vec2 but vec4 are given as initializers 13 mat4x2 c = { vec4(0.0), vec4(1.0), vec4(0.0), vec4(1.0) };
|
/dports/graphics/glslang/glslang-11.7.1/Test/ |
H A D | matrix.frag | 56 mat4x2 m42 = mat4x2(42); 57 if (m42 == mat4x2(42, 0, 0, 42, 0, 0, 0, 0)) {
|