Home
last modified time | relevance | path

Searched refs:TYPE_FLOAT (Results 1 – 25 of 126) sorted by relevance

123456

/external/deqp/modules/gles3/functional/
Des3fShaderConstExprTests.cpp75 …{"radians", "radians(${T} (90.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatRadia… in init()
76 …{"degrees", "degrees(${T} (2.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatDegree… in init()
77 …{"sin", "sin(${T} (3.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatSin(3.0f) … in init()
78 …{"cos", "cos(${T} (3.2))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatCos(3.2f) … in init()
79 …{"tan", "tan(${T} (1.5))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatTan(1.5f) … in init()
80 …{"asin", "asin(${T} (0.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatAsin(0.0f) … in init()
81 …{"acos", "acos(${T} (1.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatAcos(1.0f) … in init()
82 …{"atan_separate", "atan(${T} (-1.0), ${T} (-1.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, d… in init()
83 …{"atan_combined", "atan(${T} (2.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatAtan… in init()
84 …{"sinh", "sinh(${T} (1.5))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatSinh(1.5f) … in init()
[all …]
Des3fDefaultVertexAttributeTests.cpp403 …or(glu::TYPE_FLOAT, vectorSize)) : (glu::isDataTypeVector(m_dataType)) ? (glu::getDataTypeVector(g… in genVertexSource()
417 …ormalizedValue = " << ((glu::getDataTypeScalarType(m_dataType) == glu::TYPE_FLOAT) ? ("") : (vecto… in genVertexSource()
419 …ormalizedValue = " << ((glu::getDataTypeScalarType(m_dataType) == glu::TYPE_FLOAT) ? ("") : (vecto… in genVertexSource()
573 { "float", glu::TYPE_FLOAT, false }, in init()
Des3fShaderMatrixTests.cpp264 DECLARE_TYPE_TRAIT(TYPE_FLOAT, float);
496 template <> inline float getInputValue<INPUTTYPE_CONST, TYPE_FLOAT> (const ShaderEvalContext& e… in getInputValue()
511 template <> inline float getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT> (const ShaderEvalContext& … in getInputValue()
1194 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT2, TYPE_FLOAT); in getEvalFunc()
1195 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT2X3, TYPE_FLOAT); in getEvalFunc()
1196 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT2X4, TYPE_FLOAT); in getEvalFunc()
1197 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT3X2, TYPE_FLOAT); in getEvalFunc()
1198 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT3, TYPE_FLOAT); in getEvalFunc()
1199 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT3X4, TYPE_FLOAT); in getEvalFunc()
1200 MAKE_SCALAR_OPS(TYPE_FLOAT_MAT4X2, TYPE_FLOAT); in getEvalFunc()
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderConstExprTests.cpp74 …{"radians", "radians(${T} (90.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatRadia… in init()
75 …{"degrees", "degrees(${T} (2.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatDegree… in init()
76 …{"sin", "sin(${T} (3.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatSin(3.0f) … in init()
77 …{"cos", "cos(${T} (3.2))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatCos(3.2f) … in init()
78 …{"tan", "tan(${T} (1.5))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatTan(1.5f) … in init()
79 …{"asin", "asin(${T} (0.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatAsin(0.0f) … in init()
80 …{"acos", "acos(${T} (1.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatAcos(1.0f) … in init()
81 …{"atan_separate", "atan(${T} (-1.0), ${T} (-1.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, d… in init()
82 …{"atan_combined", "atan(${T} (2.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatAtan… in init()
91 …{"pow", "pow(${T} (1.7), ${T} (3.5))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatPow… in init()
[all …]
Des2fDefaultVertexAttributeTests.cpp327 …or(glu::TYPE_FLOAT, vectorSize)) : (glu::isDataTypeVector(m_dataType)) ? (glu::getDataTypeVector(g… in genVertexSource()
340 …ormalizedValue = " << ((glu::getDataTypeScalarType(m_dataType) == glu::TYPE_FLOAT) ? ("") : (vecto… in genVertexSource()
342 …ormalizedValue = " << ((glu::getDataTypeScalarType(m_dataType) == glu::TYPE_FLOAT) ? ("") : (vecto… in genVertexSource()
496 { "float", glu::TYPE_FLOAT, false }, in init()
Des2fShaderMatrixTests.cpp156 DECLARE_TYPE_TRAIT(TYPE_FLOAT, float);
338 template <> inline float getInputValue<INPUTTYPE_CONST, TYPE_FLOAT> (const ShaderEvalContext& e… in getInputValue()
346 template <> inline float getInputValue<INPUTTYPE_DYNAMIC, TYPE_FLOAT> (const ShaderEvalContext& … in getInputValue()
657 MAKE_MAT_SCALAR_VEC_CASES(SCALAR_OPS, TYPE_FLOAT_MAT2, TYPE_FLOAT); in getEvalFunc()
658 MAKE_MAT_SCALAR_VEC_CASES(SCALAR_OPS, TYPE_FLOAT_MAT3, TYPE_FLOAT); in getEvalFunc()
659 MAKE_MAT_SCALAR_VEC_CASES(SCALAR_OPS, TYPE_FLOAT_MAT4, TYPE_FLOAT); in getEvalFunc()
807 if (otherType == TYPE_FLOAT) in init()
874 case TYPE_FLOAT: op << de::floatToString(s_constInFloat[inNdx], 1); break; in init()
1030 case TYPE_FLOAT: op << varName << ", " << varName << ", " << varName << ""; break; in genGLSLMatToVec3Reduction()
1064 case TYPE_FLOAT: gl.uniform1f(loc, s_constInFloat[inNdx]); break; in setupUniforms()
[all …]
/external/deqp/framework/opengl/
DgluShaderUtil.cpp332 TYPE_FLOAT, // float in getDataTypeScalarType()
333 TYPE_FLOAT, // vec2 in getDataTypeScalarType()
334 TYPE_FLOAT, // vec3 in getDataTypeScalarType()
335 TYPE_FLOAT, // vec4 in getDataTypeScalarType()
336 TYPE_FLOAT, // mat2 in getDataTypeScalarType()
337 TYPE_FLOAT, // mat2x3 in getDataTypeScalarType()
338 TYPE_FLOAT, // mat2x4 in getDataTypeScalarType()
339 TYPE_FLOAT, // mat3x2 in getDataTypeScalarType()
340 TYPE_FLOAT, // mat3 in getDataTypeScalarType()
341 TYPE_FLOAT, // mat3x4 in getDataTypeScalarType()
[all …]
DgluShaderUtil.hpp99 TYPE_FLOAT, enumerator
194 inline bool isDataTypeFloatOrVec (DataType dataType) { return (dataType >= TYPE_FLOAT) && (d… in isDataTypeFloatOrVec()
199 inline bool isDataTypeScalar (DataType dataType) { return (dataType == TYPE_FLOAT) || (dataType … in isDataTypeScalar()
201 inline bool isDataTypeScalarOrVector (DataType dataType) { return deInRange32(dataType, TYPE_FLOAT in isDataTypeScalarOrVector()
216 template <> struct DataTypeTraits<float> { enum { DATATYPE = TYPE_FLOAT }; };
233 DE_STATIC_ASSERT(TYPE_FLOAT_VEC4 == TYPE_FLOAT + 3);
/external/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc220 { "123.45", Tokenizer::TYPE_FLOAT },
221 { "1.", Tokenizer::TYPE_FLOAT },
222 { "1e3", Tokenizer::TYPE_FLOAT },
223 { "1E3", Tokenizer::TYPE_FLOAT },
224 { "1e-3", Tokenizer::TYPE_FLOAT },
225 { "1e+3", Tokenizer::TYPE_FLOAT },
226 { "1.e3", Tokenizer::TYPE_FLOAT },
227 { "1.2e3", Tokenizer::TYPE_FLOAT },
228 { ".1", Tokenizer::TYPE_FLOAT },
229 { ".1e3", Tokenizer::TYPE_FLOAT },
[all …]
/external/deqp/framework/randomshaders/
DrsgUtils.cpp63 case VariableType::TYPE_FLOAT: in computeRandomValue()
129 case VariableType::TYPE_FLOAT: in isUndefinedValueRange()
132 bool isFloat = valueRange.getType().getBaseType() == VariableType::TYPE_FLOAT; in isUndefinedValueRange()
161 VariableType::TYPE_FLOAT in computeRandomType()
172 case VariableType::TYPE_FLOAT: in computeRandomType()
218 case VariableType::TYPE_FLOAT: in computeRandomValueRange()
261 case VariableType::TYPE_FLOAT: in getTypeConstructorDepth()
277 case VariableType::TYPE_FLOAT: in getTypeConstructorDepth()
301 case VariableType::TYPE_FLOAT: in computeRangeLengthSum()
DrsgVariableType.cpp86 case TYPE_FLOAT: in getScalarSize()
134 case TYPE_FLOAT: in getScalarType()
138 VariableType(TYPE_FLOAT, 1) in getScalarType()
185 case TYPE_FLOAT: in getElementType()
220 case TYPE_FLOAT: in tokenizeShortType()
DrsgShaderGenerator.cpp140 TCU_CHECK(baseType == VariableType::TYPE_FLOAT || in fillUndefinedComponents()
153 case VariableType::TYPE_FLOAT: min = 0.0f; max = 1.0f; break; in fillUndefinedComponents()
206 …Var = m_state.getVariableManager().allocate(VariableType(VariableType::TYPE_FLOAT, 4), Variable::S… in generate()
254 …ble = m_state.getVariableManager().allocate(VariableType(VariableType::TYPE_FLOAT, 4), Variable::S… in generate()
255 …ble = m_state.getVariableManager().allocate(VariableType(VariableType::TYPE_FLOAT, 4), Variable::S… in generate()
DrsgExpression.cpp195 case VariableType::TYPE_FLOAT: in computeRandomValueRangeForInfElements()
245 case VariableType::TYPE_FLOAT: in setInfiniteRange()
360 : m_value(VariableType::getScalarType(VariableType::TYPE_FLOAT)) in FloatLiteral()
366 if (valueRange.getType() == VariableType(VariableType::TYPE_FLOAT, 1)) in FloatLiteral()
381 ExecValueAccess access = m_value.getValue(VariableType::getScalarType(VariableType::TYPE_FLOAT)); in FloatLiteral()
391 if (type == VariableType(VariableType::TYPE_FLOAT, 1)) in getWeight()
414 str << Token(m_value.getValue(VariableType::getScalarType(VariableType::TYPE_FLOAT)).asFloat(0)); in tokenize()
627 case VariableType::TYPE_FLOAT: return 0; in getBaseTypeConvNdx()
707 …if (isConversionOk(VariableType::TYPE_FLOAT, baseType, comp)) inTypes[numInTypes++] = VariableType… in ConstructorOp()
956 return type.getBaseType() == VariableType::TYPE_FLOAT; in isShaderInOutSupportedType()
[all …]
DrsgBinaryOps.cpp124 if (Float) baseTypes.push_back(VariableType::TYPE_FLOAT); in BinaryVecOp()
153 …if ((baseType == VariableType::TYPE_FLOAT || baseType == VariableType::TYPE_INT) && isUndefinedVal… in BinaryVecOp()
162 if (baseType == VariableType::TYPE_FLOAT) in BinaryVecOp()
192 case VariableType::TYPE_FLOAT: in evaluate()
413 VariableType::Type inBaseTypes[] = { VariableType::TYPE_FLOAT, VariableType::TYPE_INT }; in RelationalOp()
427 if (inBaseType == VariableType::TYPE_FLOAT) in RelationalOp()
449 case VariableType::TYPE_FLOAT: in evaluate()
708 VariableType::Type inBaseTypes[] = { VariableType::TYPE_FLOAT, VariableType::TYPE_INT }; in EqualityComparisonOp()
726 if (inBaseType == VariableType::TYPE_FLOAT) in EqualityComparisonOp()
794 case VariableType::TYPE_FLOAT: in evaluate()
DrsgVariableType.hpp42 TYPE_FLOAT, enumerator
160 bool isFloatOrVec (void) const { return m_baseType == TYPE_FLOAT; } in isFloatOrVec()
/external/v8/src/
Dflags.cc31 enum FlagType { TYPE_BOOL, TYPE_MAYBE_BOOL, TYPE_INT, TYPE_FLOAT, enumerator
63 DCHECK(type_ == TYPE_FLOAT); in float_variable()
96 DCHECK(type_ == TYPE_FLOAT); in float_default()
119 case TYPE_FLOAT: in IsDefault()
147 case TYPE_FLOAT: in Reset()
175 case Flag::TYPE_FLOAT: return "float"; in Type2String()
197 case Flag::TYPE_FLOAT: in operator <<()
397 case Flag::TYPE_FLOAT: in SetFlagsFromCommandLine()
/external/llvm/test/Bitcode/
Dupgrade-tbaa.ll23 ; CHECK: [[TAG_FLOAT]] = !{[[TYPE_FLOAT:!.*]], [[TYPE_FLOAT]], i64 0}
24 ; CHECK: [[TYPE_FLOAT]] = !{!"float", [[TYPE_CHAR]]}
/external/deqp/modules/glshared/
DglsShaderConstExprTests.cpp53 DE_STATIC_ASSERT(glu::TYPE_FLOAT+1 == glu::TYPE_FLOAT_VEC2); in createTests()
54 DE_STATIC_ASSERT(glu::TYPE_FLOAT+2 == glu::TYPE_FLOAT_VEC3); in createTests()
55 DE_STATIC_ASSERT(glu::TYPE_FLOAT+3 == glu::TYPE_FLOAT_VEC4); in createTests()
91 shaderOutput[0].values[0].dataType = glu::TYPE_FLOAT; in createTests()
121 case glu::TYPE_FLOAT: in createTests()
/external/deqp/modules/gles31/functional/
Des31fShaderSharedVarTests.cpp368 for (int basicType = TYPE_FLOAT; basicType <= TYPE_BOOL_VEC4; basicType++) in init()
393 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_1_1_1", TYPE_FLOAT, PRECI… in init()
394 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_64_1_1", TYPE_FLOAT, PREC… in init()
395 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_1_64_1", TYPE_FLOAT, PREC… in init()
396 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_1_1_64", TYPE_FLOAT, PREC… in init()
397 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_128_1_1", TYPE_FLOAT, PRE… in init()
398 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_1_128_1", TYPE_FLOAT, PRE… in init()
399 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_13_2_4", TYPE_FLOAT, PREC… in init()
/external/nanopb-c/generator/google/protobuf/internal/
Dtype_checkers.py175 _FieldDescriptor.TYPE_FLOAT: wire_format.FloatByteSize,
198 _FieldDescriptor.TYPE_FLOAT: encoder.FloatEncoder,
221 _FieldDescriptor.TYPE_FLOAT: encoder.FloatSizer,
244 _FieldDescriptor.TYPE_FLOAT: decoder.FloatDecoder,
266 _FieldDescriptor.TYPE_FLOAT: wire_format.WIRETYPE_FIXED32,
/external/protobuf/python/google/protobuf/internal/
Dtype_checkers.py217 _FieldDescriptor.TYPE_FLOAT: wire_format.FloatByteSize,
240 _FieldDescriptor.TYPE_FLOAT: encoder.FloatEncoder,
263 _FieldDescriptor.TYPE_FLOAT: encoder.FloatSizer,
286 _FieldDescriptor.TYPE_FLOAT: decoder.FloatDecoder,
308 _FieldDescriptor.TYPE_FLOAT: wire_format.WIRETYPE_FIXED32,
/external/proguard/src/proguard/evaluation/value/
DFloatValue.java352 return TYPE_FLOAT; in computationalType()
357 return String.valueOf(ClassConstants.TYPE_FLOAT); in internalType()
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DExtension.java59 public static final int TYPE_FLOAT = 2; field in Extension
363 case TYPE_FLOAT: in readData()
430 case TYPE_FLOAT: in writeSingularData()
529 case TYPE_FLOAT: in writeRepeatedData()
608 case TYPE_FLOAT: in computePackedDataSize()
689 case TYPE_FLOAT: in computeSingularSerializedSize()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc279 case FieldDescriptor::TYPE_FLOAT: in GetJavaType()
341 case FieldDescriptor::TYPE_FLOAT : return "FLOAT"; in FieldTypeName()
614 case FieldDescriptor::TYPE_FLOAT : return "Float"; in GetCapitalizedType()
647 case FieldDescriptor::TYPE_FLOAT : return WireFormatLite::kFloatSize; in FixedSize()
/external/proguard/src/proguard/classfile/instruction/
DInstructionUtil.java58 case InstructionConstants.ARRAY_T_FLOAT: return ClassConstants.TYPE_FLOAT; in internalTypeFromArrayType()

123456