Home
last modified time | relevance | path

Searched refs:mat4 (Results 1 – 25 of 93) sorted by relevance

1234

/external/chromium-trace/catapult/tracing/third_party/gl-matrix/spec/gl-matrix/
Dmat4-spec.js22 var mat4 = require("../../src/gl-matrix/mat4.js");
51 beforeEach(function() { result = mat4.create(); });
56 beforeEach(function() { result = mat4.clone(matA); });
61 beforeEach(function() { result = mat4.copy(out, matA); });
67 beforeEach(function() { result = mat4.identity(out); });
74 beforeEach(function() { result = mat4.transpose(out, matA); });
96 beforeEach(function() { result = mat4.transpose(matA, matA); });
112 beforeEach(function() { result = mat4.invert(out, matA); });
134 beforeEach(function() { result = mat4.invert(matA, matA); });
150 beforeEach(function() { result = mat4.adjoint(out, matA); });
[all …]
Dmat3-spec.js23 var mat4 = require("../../src/gl-matrix/mat4.js");
59 mat4.translate(matA, matA, [2, 4, 6]);
60 mat4.rotateX(matA, matA, Math.PI / 2);
73 mat4.scale(matA, matA, [2, 3, 4]);
Dquat-spec.js23 var mat4 = require("../../src/gl-matrix/mat4.js");
155 …mat3.transpose(matr, mat3.invert(matr, mat3.fromMat4(matr, mat4.lookAt(mat4.create(), [0, 0, 0], […
169 …mat3.transpose(matr, mat3.invert(matr, mat3.fromMat4(matr, mat4.lookAt(mat4.create(), [0, 0, 0], […
183 …mat3.transpose(matr, mat3.invert(matr, mat3.fromMat4(matr, mat4.lookAt(mat4.create(), [0, 0, 0], […
/external/vulkan-validation-layers/libs/glm/detail/
Ddummy.cpp91 glm::mat4 Projection = glm::perspective(45.0f, 4.0f / 3.0f, 0.1f, 100.f); in func()
92 glm::mat4 ViewTranslate = glm::translate(glm::mat4(1.0f), glm::vec3(0.0f, 0.0f, -Translate)); in func()
93 glm::mat4 ViewRotateX = glm::rotate(ViewTranslate, Rotate.y, glm::vec3(-1.0f, 0.0f, 0.0f)); in func()
94 glm::mat4 View = glm::rotate(ViewRotateX, Rotate.x, glm::vec3(0.0f, 1.0f, 0.0f)); in func()
95 glm::mat4 Model = glm::scale(glm::mat4(1.0f), glm::vec3(0.5f)); in func()
96 glm::mat4 MVP = Projection * View * Model; in func()
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/
Dmat4.js27 var mat4 = {}; variable
34 mat4.create = function() {
61 mat4.clone = function(a) {
89 mat4.copy = function(out, a) {
115 mat4.identity = function(out) {
142 mat4.transpose = function(out, a) {
190 mat4.invert = function(out, a) {
244 mat4.adjoint = function(out, a) {
275 mat4.determinant = function (a) {
306 mat4.multiply = function (out, a, b) {
[all …]
/external/vulkan-validation-layers/demos/smoke/
DSimulation.h38 glm::mat4 transformation(float t);
46 glm::mat4 matrix;
97 glm::mat4 model;
DSmoke.vert9 mat4 model;
10 mat4 view_projection;
DSmoke.push_constant.vert9 mat4 model;
10 mat4 view_projection;
DSimulation.cpp115 current_.matrix = glm::scale(glm::mat4(1.0f), glm::vec3(current_.scale)); in Animation()
118 glm::mat4 Animation::transformation(float t) in transformation()
324 glm::mat4 trans = obj.animation.transformation(time); in update()
325 obj.model = glm::translate(glm::mat4(1.0f), pos) * trans; in update()
/external/deqp/data/gles2/shaders/
Dconversions.test3144mat4 out0 = [ mat4(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)…
3156 out0 = mat4(in0);
3210mat4 out0 = [ mat4(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)…
3222 out0 = mat4(in0);
3276 …output mat4 out0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.…
3288 out0 = mat4(in0);
3345 …input mat4 in0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0,…
3346 …output mat4 out0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.…
3358 out0 = mat4(in0);
3367 …input mat4 in0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0,…
[all …]
/external/deqp/data/gles31/shaders/
Dlinkage_tessellation_uniform_types.test627 case mat4
629 desc "uniform of type mat4"
633 …uniform mat4 val0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, …
634 …uniform mat4 val1 = [ mat4(1.0, 1.5, 2.5, -1.0, 2.0, 1.0, 3.0, 4.0, -1.0, 3.0, 4.5, -1.5, 3.5, 2.0…
635 …output mat4 out0 = [ mat4(0.75, 4.25, -4.5, -14.2, -21.65, -5.25, 20.21, -69.7, -2.0, 7.0, 8.0, -1…
648 out mediump mat4 tc_out[];
658 in mediump mat4 tc_out[];
659 out mediump mat4 te_out;
670 in mat4 te_out;
Dlinkage_tessellation_varying_types.test651 case mat4
653 desc "varying of type mat4"
657 …input mat4 in0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2.…
658 …output mat4 out0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2…
663 out mediump mat4 vtx_var;
673 in mediump mat4 vtx_var[];
674 out mediump mat4 tc_out[];
684 in mediump mat4 tc_out[];
685 out mediump mat4 te_out;
696 in mat4 te_out;
Dlinkage_geometry_varying_types.test567 case mat4
569 desc "varying of type mat4"
573 …input mat4 in0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2.…
574 …output mat4 out0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2…
579 out mediump mat4 vtx_var;
589 in mediump mat4 vtx_var[];
590 out mediump mat4 geo_var;
605 in mat4 geo_var;
Dlinkage_geometry_uniform_types.test531 case mat4
533 desc "uniform of type mat4"
537 …uniform mat4 val = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2…
538 …output mat4 out0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2…
551 out mediump mat4 geo_var;
566 in mat4 geo_var;
Dlinkage_tessellation_geometry_varying_types.test843 case mat4
845 desc "varying of type mat4"
850 …input mat4 in0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2.…
851 …output mat4 out0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2…
856 out mediump mat4 vtx_var;
866 in mediump mat4 vtx_var[];
867 out mediump mat4 tc_out[];
877 in mediump mat4 tc_out[];
878 out mediump mat4 te_out;
888 in mediump mat4 te_out[];
[all …]
/external/deqp/external/vulkancts/data/vulkan/glsl/es310/
Dconversions.test5019mat4 out0 = [ mat4(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)…
5032 out0 = mat4(in0);
5235mat4 out0 = [ mat4(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)…
5248 out0 = mat4(in0);
5451mat4 out0 = [ mat4(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)…
5464 out0 = mat4(in0);
5667 …output mat4 out0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.…
5680 out0 = mat4(in0);
5886 …input mat4 in0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0,…
5887 …output mat4 out0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.…
[all …]
Dlinkage.test745 case mat4
747 desc "varying of type mat4"
750 …input mat4 in0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2.…
751 …output mat4 out0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2…
756 layout(location = 0) out mediump mat4 var;
767 layout(location = 0) in mat4 var;
1422 case mat4
1424 desc "varying of type mat4 inside struct"
1427 …input mat4 in0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2.…
1428 …output mat4 out0 = [ mat4(-1.25, 1.25, -9.5, -12.2, -25.65, -7.25, 14.21, -77.7, 0.0, 1.0, -1.0, 2…
[all …]
/external/autotest/client/deps/glbench/src/
Dyuv2rgb_3.glslf42 uniform mat4 conversion;
61 mat4 conversion = mat4(
Dyuv2rgb_4.glslf41 uniform mat4 conversion;
58 mat4 conversion = mat4( 1.0, 1.0, 1.0, 0.0,
Dyuv2rgb_2.glslf47 uniform mat4 conversion;
68 mat4 conversion = mat4( 1.0, 1.0, 1.0, 0.0,
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/dist/
Dgl-matrix.js116 exports.mat4 = __webpack_require__(5);
1412 var mat4 = {};
1419 mat4.create = function() {
1446 mat4.clone = function(a) {
1474 mat4.copy = function(out, a) {
1500 mat4.identity = function(out) {
1527 mat4.transpose = function(out, a) {
1575 mat4.invert = function(out, a) {
1629 mat4.adjoint = function(out, a) {
1660 mat4.determinant = function (a) {
[all …]
/external/deqp/data/gles3/shaders/
Dconversions.test6079mat4 out0 = [ mat4(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)…
6092 out0 = mat4(in0);
6295mat4 out0 = [ mat4(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)…
6308 out0 = mat4(in0);
6511mat4 out0 = [ mat4(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)…
6524 out0 = mat4(in0);
6727 …output mat4 out0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.…
6740 out0 = mat4(in0);
6946 …input mat4 in0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0,…
6947 …output mat4 out0 = [ mat4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.…
[all …]
/external/mesa3d/src/glsl/builtins/ir/
DmatrixCompMult.ir21 (signature mat4
23 (declare (in) mat4 x)
24 (declare (in) mat4 y))
25 ((declare () mat4 z)
Dftransform.ir1 ((declare (uniform) mat4 gl_ModelViewProjectionMatrix)
/external/mesa3d/src/glsl/builtins/glsl/
Dinverse.glsl55 mat4 inverse(mat4 m)
77 mat4 adj;

1234