Home
last modified time | relevance | path

Searched refs:floatType (Results 1 – 25 of 42) sorted by relevance

12

/external/oboe/samples/RhythmGame/third_party/glm/gtx/
Dcomponent_wise.inl9 …template <typename T, typename floatType, precision P, template <typename, precision> class vecTyp…
13 …template <typename T, typename floatType, precision P, template <typename, precision> class vecTyp…
14 struct compute_compNormalize<T, floatType, P, vecType, true, true>
16 GLM_FUNC_QUALIFIER static vecType<floatType, P> call(vecType<T, P> const & v)
18 floatType const Min = static_cast<floatType>(std::numeric_limits<T>::min());
19 floatType const Max = static_cast<floatType>(std::numeric_limits<T>::max());
20 …return (vecType<floatType, P>(v) - Min) / (Max - Min) * static_cast<floatType>(2) - static_cast<fl…
24 …template <typename T, typename floatType, precision P, template <typename, precision> class vecTyp…
25 struct compute_compNormalize<T, floatType, P, vecType, true, false>
27 GLM_FUNC_QUALIFIER static vecType<floatType, P> call(vecType<T, P> const & v)
[all …]
Dcomponent_wise.hpp33 …template <typename floatType, typename T, precision P, template <typename, precision> class vecTyp…
34 GLM_FUNC_DECL vecType<floatType, P> compNormalize(vecType<T, P> const & v);
39 …template <typename T, typename floatType, precision P, template <typename, precision> class vecTyp…
40 GLM_FUNC_DECL vecType<T, P> compScale(vecType<floatType, P> const & v);
/external/oboe/samples/RhythmGame/third_party/glm/gtc/
Dpacking.hpp493 …template <typename uintType, typename floatType, precision P, template <typename, precision> class…
494 GLM_FUNC_DECL vecType<uintType, P> packUnorm(vecType<floatType, P> const & v);
500 …template <typename uintType, typename floatType, precision P, template <typename, precision> class…
501 GLM_FUNC_DECL vecType<floatType, P> unpackUnorm(vecType<uintType, P> const & v);
507 …template <typename intType, typename floatType, precision P, template <typename, precision> class …
508 GLM_FUNC_DECL vecType<intType, P> packSnorm(vecType<floatType, P> const & v);
514 …template <typename intType, typename floatType, precision P, template <typename, precision> class …
515 GLM_FUNC_DECL vecType<floatType, P> unpackSnorm(vecType<intType, P> const & v);
Dpacking.inl654 …template <typename uintType, typename floatType, precision P, template <typename, precision> class…
655 GLM_FUNC_QUALIFIER vecType<uintType, P> packUnorm(vecType<floatType, P> const & v) argument
658 …GLM_STATIC_ASSERT(std::numeric_limits<floatType>::is_iec559, "floatType must be a floating point t…
660 …ype<uintType, P>(round(clamp(v, static_cast<floatType>(0), static_cast<floatType>(1)) * static_cas…
663 …template <typename uintType, typename floatType, precision P, template <typename, precision> class…
664 GLM_FUNC_QUALIFIER vecType<floatType, P> unpackUnorm(vecType<uintType, P> const & v)
667 …GLM_STATIC_ASSERT(std::numeric_limits<floatType>::is_iec559, "floatType must be a floating point t…
669 …return vecType<float, P>(v) * (static_cast<floatType>(1) / static_cast<floatType>(std::numeric_lim…
672 …template <typename intType, typename floatType, precision P, template <typename, precision> class …
673 GLM_FUNC_QUALIFIER vecType<intType, P> packSnorm(vecType<floatType, P> const & v) argument
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dconstant_utils.cc38 auto floatType = mlir::FloatType::getF16(element_type.getContext()); in CreateConstOpWithSingleValue() local
39 auto floatAttr = mlir::FloatAttr::get(floatType, static_cast<float>(value)); in CreateConstOpWithSingleValue()
43 auto floatType = mlir::FloatType::getBF16(element_type.getContext()); in CreateConstOpWithSingleValue() local
44 auto floatAttr = mlir::FloatAttr::get(floatType, static_cast<float>(value)); in CreateConstOpWithSingleValue()
/external/angle/src/tests/gl_tests/
DCopyTexture3DTest.cpp784 for (GLenum floatType : floatTypes) in testFloatFormats() local
786 if (floatType != GL_UNSIGNED_INT_5_9_9_9_REV && in testFloatFormats()
787 floatType != GL_UNSIGNED_INT_10F_11F_11F_REV) in testFloatFormats()
789 testCopy(testTarget, kColor, GL_R16F, floatType, false, false, false, in testFloatFormats()
791 testCopy(testTarget, kColor, GL_R16F, floatType, false, true, false, in testFloatFormats()
793 testCopy(testTarget, kColor, GL_R16F, floatType, false, false, true, in testFloatFormats()
796 testCopy(testTarget, kColor, GL_RG16F, floatType, false, false, false, in testFloatFormats()
798 testCopy(testTarget, kColor, GL_RG16F, floatType, false, true, false, in testFloatFormats()
800 testCopy(testTarget, kColor, GL_RG16F, floatType, false, false, true, in testFloatFormats()
803 testCopy(testTarget, kColor, GL_RGB16F, floatType, false, false, false, in testFloatFormats()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcShaderLibraryCase.cpp541 DataType floatType = getDataTypeFloatScalars(val.dataType); in genVertexShader() local
542 const char *typeStr = getDataTypeName(floatType); in genVertexShader()
753 DataType floatType = getDataTypeFloatScalars(val.dataType); in genFragmentShader() local
754 const char *floatTypeStr = getDataTypeName(floatType); in genFragmentShader()
798 DataType floatType = getDataTypeFloatScalars(val.dataType); in specializeVertexShader() local
799 const char *floatTypeStr = getDataTypeName(floatType); in specializeVertexShader()
861 DataType floatType = getDataTypeFloatScalars(val.dataType); in specializeFragmentShader() local
862 const char *floatTypeStr = getDataTypeName(floatType); in specializeFragmentShader()
927 DataType floatType = getDataTypeFloatScalars(val.dataType); in specializeShaders() local
928 const char *floatTypeStr = getDataTypeName(floatType); in specializeShaders()
/external/angle/src/compiler/translator/tree_ops/
DDeclarePerVertexBlocks.cpp334 const TType *floatType = StaticType::GetBasic<EbtFloat, EbpHigh, 1>(); in declarePerVertex() local
337 TType *pointSizeType = new TType(*floatType); in declarePerVertex()
338 TType *clipDistanceType = mClipDistanceArraySize ? new TType(*floatType) : nullptr; in declarePerVertex()
339 TType *cullDistanceType = mCullDistanceArraySize ? new TType(*floatType) : nullptr; in declarePerVertex()
/external/angle/src/compiler/translator/tree_util/
DDriverUniform.cpp130 TType *floatType = new TType(EbtFloat, EbpHigh, EvqGlobal, 1, 1); in createEmulatedDepthRangeType() local
132 new TField(floatType, ImmutableString("near"), TSourceLoc(), SymbolType::AngleInternal)); in createEmulatedDepthRangeType()
134 new TField(floatType, ImmutableString("far"), TSourceLoc(), SymbolType::AngleInternal)); in createEmulatedDepthRangeType()
136 new TField(floatType, ImmutableString("diff"), TSourceLoc(), SymbolType::AngleInternal)); in createEmulatedDepthRangeType()
/external/deqp/modules/glshared/
DglsShaderLibraryCase.cpp160 const DataType floatType = getDataTypeFloatScalars(basicType); in genVertexShader() local
161 const char *const typeStr = getDataTypeName(floatType); in genVertexShader()
261 const DataType floatType = getDataTypeFloatScalars(basicType); in genFragmentShader() local
262 const char *const floatTypeStr = getDataTypeName(floatType); in genFragmentShader()
308 const DataType floatType = getDataTypeFloatScalars(basicType); in specializeVertexShader() local
309 const char *const floatTypeStr = getDataTypeName(floatType); in specializeVertexShader()
329 const DataType floatType = getDataTypeFloatScalars(basicType); in specializeVertexShader() local
330 const char *const floatTypeStr = getDataTypeName(floatType); in specializeVertexShader()
384 const DataType floatType = getDataTypeFloatScalars(basicType); in specializeFragmentShader() local
385 const char *const floatTypeStr = getDataTypeName(floatType); in specializeFragmentShader()
[all …]
/external/ksp/api/src/main/kotlin/com/google/devtools/ksp/processing/
DKSBuiltIns.kt33 val floatType: KSType constant
/external/deqp/framework/randomshaders/
DrsgBinaryOps.cpp150 VariableType floatType = VariableType(VariableType::TYPE_FLOAT, 1); in CustomBinaryOp() local
151 m_leftValueRange = ValueRange(floatType); in CustomBinaryOp()
152 m_rightValueRange = ValueRange(floatType); in CustomBinaryOp()
244 VariableType floatType(VariableType::TYPE_FLOAT, 1); in createNextChild() local
245 if (m_rightValueRange.getType() == floatType) in createNextChild()
264 VariableType floatType(VariableType::TYPE_FLOAT, 1); in createNextChild() local
265 if (m_leftValueRange.getType() == floatType) in createNextChild()
284 VariableType floatType(VariableType::TYPE_FLOAT, 1); in createNextChild() local
285 if (m_leftValueRange.getType() == floatType) in createNextChild()
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/include/mlir-hlo/Dialect/mhlo/transforms/
Dmap_mhlo_to_scalar_op.h339 if (auto floatType = elementType.dyn_cast<FloatType>()) {
345 loc, b->getFloatAttr(floatType, 1.0 / 3.0));
347 return b->create<mlir::math::CopySignOp>(loc, floatType, pow,
436 auto floatType =
438 int64_t nbits = floatType.getWidth();
439 auto intType = mlir::IntegerType::get(loc.getContext(), floatType.getWidth());
444 auto srcMantissaBits = floatType.getFPMantissaWidth() - 1;
543 return b.create<arith::BitcastOp>(floatType, xAsInt);
809 if (auto floatType = elementType.dyn_cast<FloatType>()) {
813 auto nanApfloat = APFloat::getQNaN(floatType.getFloatSemantics());
[all …]
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmFloatControls2Tests.cpp1386 FloatType floatType() const;
1395 FloatType TypeTestResultsBase::floatType() const in floatType() function in vkt::SpirVAssembly::__anon0e7b63d50111::TypeTestResultsBase
1980 bool isFP16 = typeTestResults->floatType() == FP16; in build()
2193 …l void createOperationTests(TestCaseGroup *parentGroup, const char *groupName, FloatType floatType,
2219 FloatType floatType) const;
2336 … const OperationTestCase &testCase, FloatType floatType) const in FillFloatControlsProperties()
2343 switch (floatType) in FillFloatControlsProperties()
2356 switch (floatType) in FillFloatControlsProperties()
2378 … void createOperationTests(TestCaseGroup *parentGroup, const char *groupName, FloatType floatType,
2468 FloatType floatType, bool argumentsFromInput) in createOperationTests() argument
[all …]
/external/angle/src/compiler/translator/tree_ops/spirv/
DEmulateAdvancedBlendEquations.cpp267 TType *floatType = new TType(EbtFloat, precision, EvqTemporary, 1); in generateHslHelperFunctions() local
372 TIntermSymbol *lum = MakeVariable(mSymbolTable, "lum", floatType); in generateHslHelperFunctions()
373 TIntermSymbol *mincol = MakeVariable(mSymbolTable, "mincol", floatType); in generateHslHelperFunctions()
374 TIntermSymbol *maxcol = MakeVariable(mSymbolTable, "maxcol", floatType); in generateHslHelperFunctions()
507 TIntermSymbol *minbase = MakeVariable(mSymbolTable, "minbase", floatType); in generateHslHelperFunctions()
508 TIntermSymbol *sbase = MakeVariable(mSymbolTable, "sbase", floatType); in generateHslHelperFunctions()
509 TIntermSymbol *ssat = MakeVariable(mSymbolTable, "ssat", floatType); in generateHslHelperFunctions()
/external/ksp/test-utils/src/main/kotlin/com/google/devtools/ksp/processor/
DBuiltInTypesProcessor.kt44 resolver.builtIns.floatType, in <lambda>()
/external/javassist/src/main/javassist/
DCtClass.java129 public static CtClass floatType; field in CtClass
179 floatType = new CtPrimitiveType("float", 'F', "java.lang.Float",
182 primitiveTypes[6] = floatType;
DCtField.java910 else if (type == CtClass.floatType) in getConstantValue2()
919 if (type == CtClass.floatType) in getConstantValue2()
1320 if (type == CtClass.floatType) in getConstantValue()
/external/javassist/src/main/javassist/bytecode/analysis/
DType.java61 public static final Type FLOAT = new Type(CtClass.floatType);
109 prims.put(CtClass.floatType, FLOAT); in prims.put() argument
/external/javassist/src/main/javassist/bytecode/
DBytecode.java531 else if (type == CtClass.floatType) in addConstZero()
750 else if(type == CtClass.floatType) in addLoad()
783 else if (type == CtClass.floatType) in addStore()
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/lib/Dialect/lhlo/transforms/
Dlhlo_legalize_to_affine.cc191 FloatType floatType = type.cast<FloatType>(); in getZeroValue() local
193 loc, APFloat::getZero(floatType.getFloatSemantics()), floatType); in getZeroValue()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/
DPrimitiveType.java77 public static PrimitiveType floatType() { in floatType() method in PrimitiveType
/external/ksp/compiler-plugin/src/main/kotlin/com/google/devtools/ksp/symbol/impl/java/
DKSTypeReferenceJavaImpl.kt79 "float" -> ResolverImpl.instance!!.module.builtIns.floatType in <lambda>()
/external/javassist/src/main/javassist/bytecode/annotation/
DAnnotation.java141 else if (type == CtClass.floatType) in createMemberValue()
/external/clang/utils/ABITest/
DABITestGen.py521 floatType = BuiltinType('float',4)
523 sbtg = FixedTypeGenerator([charType, intType, floatType, doubleType])
553 'f32' : floatType,

12