Home
last modified time | relevance | path

Searched refs:Mat2 (Results 1 – 20 of 20) sorted by relevance

/third_party/vk-gl-cts/modules/gles2/scripts/
Dgen-swizzles.py212 inMat2 = [Mat2(1.0, 0.0, 0.0, 1.0),
213 Mat2(6.5, 12.5, -0.75, 9.975),
214 Mat2(6.5, 12.5, -0.75, 9.975),
215 Mat2(8.0, 16.0, -24.0, -16.0),
216 Mat2(1.0/8.0, 1.0/16.0, 1.0/32.0, 1.0/64.0),
217 Mat2(-18.725, -0.5, -0.0125, 19.975),
Dgen-conversions.py256 inMat2 = [Mat2(1.0, 0.0, 0.0, 1.0),
257 Mat2(6.5, 12.5, -0.75, 9.975),
258 Mat2(6.5, 12.5, -0.75, 9.975),
259 Mat2(8.0, 16.0, -24.0, -16.0),
260 Mat2(1.0/8.0, 1.0/16.0, 1.0/32.0, 1.0/64.0),
261 Mat2(-18.725, -0.5, -0.0125, 19.975),
Dgenutil.py345 def toMat2(self): return Mat2(float(self.x), 0.0, 0.0, float(self.y));
523 def toMat2(self): return Mat2(float(self.x), float(self.y), float(self.z), float(self.w))
657 class Mat2(Mat): class
/third_party/vk-gl-cts/modules/gles3/scripts/
Dgen-swizzles.py216 inMat2 = [Mat2(1.0, 0.0, 0.0, 1.0),
217 Mat2(6.5, 12.5, -0.75, 9.975),
218 Mat2(6.5, 12.5, -0.75, 9.975),
219 Mat2(8.0, 16.0, -24.0, -16.0),
220 Mat2(1.0/8.0, 1.0/16.0, 1.0/32.0, 1.0/64.0),
221 Mat2(-18.725, -0.5, -0.0125, 19.975),
Dgen-conversions.py274 inMat2 = [Mat2(1.0, 0.0, 0.0, 1.0),
275 Mat2(6.5, 12.5, -0.75, 9.975),
276 Mat2(6.5, 12.5, -0.75, 9.975),
277 Mat2(8.0, 16.0, -24.0, -16.0),
278 Mat2(1.0/8.0, 1.0/16.0, 1.0/32.0, 1.0/64.0),
279 Mat2(-18.725, -0.5, -0.0125, 19.975),
Dgenutil.py412 def toMat2(self): return Mat2(float(self.x), 0.0, 0.0, float(self.y));
642 def toMat2(self): return Mat2(float(self.x), float(self.y), float(self.z), float(self.w))
804 class Mat2(Mat): class
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderMatrixTests.cpp65 using tcu::Mat2;
94 static const Mat2 s_constInMat2[2] = { tcu::Mat2(s_constInMat20), tcu::Mat2(s_constInMat21) };
160 DECLARE_TYPE_TRAIT(TYPE_FLOAT_MAT2, tcu::Mat2);
342 template <> inline tcu::Mat2 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_MAT2> (const ShaderEvalCont… in getInputValue()
351 template <> inline tcu::Mat2 getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT_MAT2> (const ShaderEvalCon… in getInputValue()
354 tcu::Mat2 m; in getInputValue()
386 inline tcu::Vec3 reduceToVec3 (const tcu::Mat2& value) { return tcu::Vec3(value(0, 0), value(0, 1),… in reduceToVec3()
878 case TYPE_FLOAT_MAT2: writeMatrixConstructor<2, 2>(op, Mat2(s_constInMat2[inNdx])); break; in init()
Des2fTextureMipmapTests.cpp54 using tcu::Mat2;
231 tcu::Mat2 rotMatrix = tcu::rotationMatrix(angle); in getAffineTexCoord2D()
235 tcu::Mat2 shearMatrix = tcu::shearMatrix(tcu::Vec2(shearX, 0.0f)); in getAffineTexCoord2D()
237 tcu::Mat2 transform = rotMatrix * shearMatrix; in getAffineTexCoord2D()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderMatrixTests.cpp63 using tcu::Mat2;
263 DECLARE_TYPE_TRAIT(TYPE_FLOAT_MAT2, tcu::Mat2);
496 … tcu::Mat2 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_MAT2> (const ShaderEvalContext& evalCtx, int… in getInputValue()
511 template <> inline tcu::Mat2 getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT_MAT2> (const ShaderEvalCon… in getInputValue()
514 tcu::Mat2 m; in getInputValue()
606 inline tcu::Vec3 reduceToVec3 (const tcu::Mat2& value) { return tcu::Vec3(value(0, 0), value(0, 1)… in reduceToVec3()
753 const tcu::Matrix<float, 2, 2> zeroMat = Mat2(nullField); in inverse()
799 const tcu::Matrix<float, 2, 2> invA = inverse(Mat2(areaA)); in inverse()
800 const tcu::Matrix<float, 2, 2> matB = Mat2(areaB); in inverse()
801 const tcu::Matrix<float, 2, 2> matC = Mat2(areaC); in inverse()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderMatrixTests.cpp68 using tcu::Mat2;
269 DECLARE_TYPE_TRAIT(TYPE_FLOAT_MAT2, tcu::Mat2);
502 … tcu::Mat2 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_MAT2> (const ShaderEvalContext& evalCtx, int… in getInputValue()
517 template <> inline tcu::Mat2 getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT_MAT2> (const ShaderEvalCon… in getInputValue()
520 tcu::Mat2 m; in getInputValue()
612 inline tcu::Vec3 reduceToVec3 (const tcu::Mat2& value) { return tcu::Vec3(value(0, 0), value(0, 1)… in reduceToVec3()
759 const tcu::Matrix<float, 2, 2> zeroMat = Mat2(nullField); in inverse()
805 const tcu::Matrix<float, 2, 2> invA = inverse(Mat2(areaA)); in inverse()
806 const tcu::Matrix<float, 2, 2> matB = Mat2(areaB); in inverse()
807 const tcu::Matrix<float, 2, 2> matC = Mat2(areaC); in inverse()
[all …]
Des3fTextureMipmapTests.cpp275 tcu::Mat2 rotMatrix = tcu::rotationMatrix(angle); in getAffineTexCoord2D()
279 tcu::Mat2 shearMatrix = tcu::shearMatrix(tcu::Vec2(shearX, 0.0f)); in getAffineTexCoord2D()
281 tcu::Mat2 transform = rotMatrix * shearMatrix; in getAffineTexCoord2D()
/third_party/vk-gl-cts/modules/gles2/accuracy/
Des2aTextureMipmapTests.cpp54 using tcu::Mat2;
228 tcu::Mat2 rotMatrix = tcu::rotationMatrix(angle); in getAffineTexCoord2D()
232 tcu::Mat2 shearMatrix = tcu::shearMatrix(tcu::Vec2(shearX, 0.0f)); in getAffineTexCoord2D()
234 tcu::Mat2 transform = rotMatrix * shearMatrix; in getAffineTexCoord2D()
/third_party/vk-gl-cts/modules/gles3/accuracy/
Des3aTextureMipmapTests.cpp219 tcu::Mat2 rotMatrix = tcu::rotationMatrix(angle); in getAffineTexCoord2D()
223 tcu::Mat2 shearMatrix = tcu::shearMatrix(tcu::Vec2(shearX, 0.0f)); in getAffineTexCoord2D()
225 tcu::Mat2 transform = rotMatrix * shearMatrix; in getAffineTexCoord2D()
/third_party/vk-gl-cts/modules/glshared/
DglsBuiltinPrecisionTests.cpp3758 ExprP<Mat2> mat = args.a; in doExpand()
3820 class Inverse<2> : public DerivedFunc<Signature<Mat2, Mat2> >
3831 ExprP<Mat2> mat = args.a; in doExpand()
3852 ExprP<Mat2> invA = bindExpression("invA", ctx, in doExpand()
3866 ExprP<Mat2> t3 = outerProduct(t2, matC); in doExpand()
3867 ExprP<Mat2> t4 = t3 * invA; in doExpand()
3868 ExprP<Mat2> t5 = invA + t4; in doExpand()
3869 ExprP<Mat2> blockA = bindExpression("blockA", ctx, t5); in doExpand()
3892 ExprP<Mat2> invA = bindExpression("invA", ctx, in doExpand()
3895 ExprP<Mat2> matB = bindExpression("matB", ctx, in doExpand()
[all …]
DglsLongStressTestUtil.cpp33 using tcu::Mat2;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp4768 ExprP<Mat2> mat = args.a; in doExpand()
4964 class Inverse<2> : public DerivedFunc<Signature<Mat2, Mat2> >
4975 ExprP<Mat2> mat = args.a; in doExpand()
4996 ExprP<Mat2> invA = bindExpression("invA", ctx, in doExpand()
5010 ExprP<Mat2> t3 = outerProduct(t2, matC); in doExpand()
5011 ExprP<Mat2> t4 = t3 * invA; in doExpand()
5012 ExprP<Mat2> t5 = invA + t4; in doExpand()
5013 ExprP<Mat2> blockA = bindExpression("blockA", ctx, t5); in doExpand()
5036 ExprP<Mat2> invA = bindExpression("invA", ctx, in doExpand()
5039 ExprP<Mat2> matB = bindExpression("matB", ctx, in doExpand()
[all …]
/third_party/vk-gl-cts/framework/opengl/
DgluShaderUtil.hpp366 template <> struct DataTypeTraits<tcu::Mat2> { enum { DATATYPE = TYPE_FLOAT_MAT2 }; };
/third_party/vk-gl-cts/modules/gles31/scripts/
Dgenutil.py414 def toMat2(self): return Mat2(float(self.x), 0.0, 0.0, float(self.y));
644 def toMat2(self): return Mat2(float(self.x), float(self.y), float(self.z), float(self.w))
806 class Mat2(Mat): class
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureMipmapTests.cpp242 const tcu::Mat2 rotMatrix = tcu::rotationMatrix(angle); in getAffineTexCoord2D()
246 const tcu::Mat2 shearMatrix = tcu::shearMatrix(tcu::Vec2(shearX, 0.0f)); in getAffineTexCoord2D()
248 const tcu::Mat2 transform = rotMatrix * shearMatrix; in getAffineTexCoord2D()
/third_party/vk-gl-cts/framework/common/
DtcuMatrix.hpp495 typedef Matrix2f Mat2; typedef