/third_party/vk-gl-cts/modules/gles3/scripts/ |
H A D | gen-swizzles.py | 216 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), 222 #Mat2(128.0, -4096.0, 192.0, -1536.0), 223 #Mat2(-1536.0, 8192.0, 6144.0, -6144.0)
|
H A D | gen-conversions.py | 274 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), 280 #Mat2(128.0, -4096.0, 192.0, -1536.0), 281 #Mat2(-1536.0, 8192.0, 6144.0, -6144.0)
|
H A D | genutil.py | 412 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/scripts/ |
H A D | gen-swizzles.py | 212 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), 218 #Mat2(128.0, -4096.0, 192.0, -1536.0), 219 #Mat2(-1536.0, 8192.0, 6144.0, -6144.0)
|
H A D | gen-conversions.py | 256 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), 262 #Mat2(128.0, -4096.0, 192.0, -1536.0), 263 #Mat2(-1536.0, 8192.0, 6144.0, -6144.0)
|
H A D | genutil.py | 345 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/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderMatrixTests.cpp | 63 using tcu::Mat2; 263 DECLARE_TYPE_TRAIT(TYPE_FLOAT_MAT2, tcu::Mat2); 496 template <> inline tcu::Mat2 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_MAT2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return tcu::Mat2(s_constInMat2x2[inputNdx]); } in getInputValue() 511 template <> inline tcu::Mat2 getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT_MAT2> (const ShaderEvalContext& evalCtx, int inputNdx) 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), value(1, 0)+value(1, 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(area in inverse() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRenderMatrixTests.cpp | 63 using tcu::Mat2; 263 DECLARE_TYPE_TRAIT(TYPE_FLOAT_MAT2, tcu::Mat2); 496 template <> inline tcu::Mat2 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_MAT2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return tcu::Mat2(s_constInMat2x2[inputNdx]); } in getInputValue() 511 template <> inline tcu::Mat2 getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT_MAT2> (const ShaderEvalContext& evalCtx, int inputNdx) 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), value(1, 0)+value(1, 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(area in inverse() [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fShaderMatrixTests.cpp | 68 using tcu::Mat2; 269 DECLARE_TYPE_TRAIT(TYPE_FLOAT_MAT2, tcu::Mat2); 502 template <> inline tcu::Mat2 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_MAT2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return tcu::Mat2(s_constInMat2x2[inputNdx]); } in getInputValue() 517 template <> inline tcu::Mat2 getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT_MAT2> (const ShaderEvalContext& evalCtx, int inputNdx) 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), value(1, 0)+value(1, 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(area in inverse() [all...] |
H A D | es3fTextureMipmapTests.cpp | 275 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/functional/ |
H A D | es2fShaderMatrixTests.cpp | 65 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 ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInMat2[inputNdx]; } in getInputValue() 351 template <> inline tcu::Mat2 getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT_MAT2> (const ShaderEvalContext& evalCtx, int inputNdx) 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), value(1, 0)+value(1, 1)); } in reduceToVec3() 878 case TYPE_FLOAT_MAT2: writeMatrixConstructor<2, 2>(op, Mat2(s_constInMat in init() [all...] |
H A D | es2fTextureMipmapTests.cpp | 54 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/modules/gles2/accuracy/ |
H A D | es2aTextureMipmapTests.cpp | 54 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/glshared/ |
H A D | glsBuiltinPrecisionTests.cpp | 3758 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> inv in doExpand() [all...] |
H A D | glsLongStressTestUtil.cpp | 33 using tcu::Mat2;
|
/third_party/vk-gl-cts/modules/gles3/accuracy/ |
H A D | es3aTextureMipmapTests.cpp | 219 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/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderBuiltinPrecisionTests.cpp | 4812 ExprP<Mat2> mat = args.a; in doExpand() 5008 class Inverse<2> : public DerivedFunc<Signature<Mat2, Mat2> > 5019 ExprP<Mat2> mat = args.a; in doExpand() 5040 ExprP<Mat2> invA = bindExpression("invA", ctx, in doExpand() 5054 ExprP<Mat2> t3 = outerProduct(t2, matC); in doExpand() 5055 ExprP<Mat2> t4 = t3 * invA; in doExpand() 5056 ExprP<Mat2> t5 = invA + t4; in doExpand() 5057 ExprP<Mat2> blockA = bindExpression("blockA", ctx, t5); in doExpand() 5080 ExprP<Mat2> inv in doExpand() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderBuiltinPrecisionTests.cpp | 4801 ExprP<Mat2> mat = args.a; in doExpand() 4997 class Inverse<2> : public DerivedFunc<Signature<Mat2, Mat2> > 5008 ExprP<Mat2> mat = args.a; in doExpand() 5029 ExprP<Mat2> invA = bindExpression("invA", ctx, in doExpand() 5043 ExprP<Mat2> t3 = outerProduct(t2, matC); in doExpand() 5044 ExprP<Mat2> t4 = t3 * invA; in doExpand() 5045 ExprP<Mat2> t5 = invA + t4; in doExpand() 5046 ExprP<Mat2> blockA = bindExpression("blockA", ctx, t5); in doExpand() 5069 ExprP<Mat2> inv in doExpand() [all...] |
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluShaderUtil.hpp | 366 template <> struct DataTypeTraits<tcu::Mat2> { enum { DATATYPE = TYPE_FLOAT_MAT2 }; };
|
/third_party/vk-gl-cts/modules/gles31/scripts/ |
H A D | genutil.py | 414 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/framework/common/ |
H A D | tcuMatrix.hpp | 495 typedef Matrix2f Mat2; typedef
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureMipmapTests.cpp | 259 const tcu::Mat2 rotMatrix = tcu::rotationMatrix(angle); in getAffineTexCoord2D() 263 const tcu::Mat2 shearMatrix = tcu::shearMatrix(tcu::Vec2(shearX, 0.0f)); in getAffineTexCoord2D() 265 const tcu::Mat2 transform = rotMatrix * shearMatrix; in getAffineTexCoord2D()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktTextureMipmapTests.cpp | 259 const tcu::Mat2 rotMatrix = tcu::rotationMatrix(angle); in getAffineTexCoord2D() 263 const tcu::Mat2 shearMatrix = tcu::shearMatrix(tcu::Vec2(shearX, 0.0f)); in getAffineTexCoord2D() 265 const tcu::Mat2 transform = rotMatrix * shearMatrix; in getAffineTexCoord2D()
|