Home
last modified time | relevance | path

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

123456789

/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 …]
/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 …]
/external/deqp/external/openglcts/modules/common/
DglcShaderConstExprTests.cpp297 if (shaderExecutorParams.outType == glu::TYPE_FLOAT) in createTests()
314 if (shaderExecutorParams.outType == glu::TYPE_FLOAT) in createTests()
337 DE_STATIC_ASSERT(glu::TYPE_FLOAT + 1 == glu::TYPE_FLOAT_VEC2); in init()
338 DE_STATIC_ASSERT(glu::TYPE_FLOAT + 2 == glu::TYPE_FLOAT_VEC3); in init()
339 DE_STATIC_ASSERT(glu::TYPE_FLOAT + 3 == glu::TYPE_FLOAT_VEC4); in init()
355 …{ "radians", "radians(${T} (90.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, { deFloatRad… in init()
356 …{ "degrees", "degrees(${T} (2.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, { deFloatDegr… in init()
357 …{ "sin", "sin(${T} (3.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, { deFloatSin(3.0f) … in init()
358 …{ "cos", "cos(${T} (3.2))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, { deFloatCos(3.2f) … in init()
359 …{ "asin", "asin(${T} (0.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, { deFloatAsin(0.0… in init()
[all …]
DglcShaderLibraryCase.cpp138 case TYPE_FLOAT: in setUniformValue()
413 if ((m_caseType == CASETYPE_FRAGMENT_ONLY) || (getDataTypeScalarType(dataType) != TYPE_FLOAT)) in execute()
545 if (getDataTypeScalarType(val.dataType) == TYPE_FLOAT) in genVertexShader()
565 if (getDataTypeScalarType(val.dataType) == TYPE_FLOAT) in genVertexShader()
646 if (cmpTypeFound[TYPE_FLOAT]) in genCompareFunctions()
713 if (getDataTypeScalarType(val.dataType) == TYPE_FLOAT) in genCompareOp()
759 if (getDataTypeScalarType(val.dataType) == TYPE_FLOAT) in genFragmentShader()
804 if (getDataTypeScalarType(val.dataType) == TYPE_FLOAT) in specializeVertexShader()
816 if (getDataTypeScalarType(val.dataType) == TYPE_FLOAT) in specializeVertexShader()
867 if (getDataTypeScalarType(val.dataType) == TYPE_FLOAT) in specializeFragmentShader()
[all …]
/external/deqp/framework/opengl/
DgluShaderUtil.cpp453 TYPE_FLOAT, // float in getDataTypeScalarType()
454 TYPE_FLOAT, // vec2 in getDataTypeScalarType()
455 TYPE_FLOAT, // vec3 in getDataTypeScalarType()
456 TYPE_FLOAT, // vec4 in getDataTypeScalarType()
457 TYPE_FLOAT, // mat2 in getDataTypeScalarType()
458 TYPE_FLOAT, // mat2x3 in getDataTypeScalarType()
459 TYPE_FLOAT, // mat2x4 in getDataTypeScalarType()
460 TYPE_FLOAT, // mat3x2 in getDataTypeScalarType()
461 TYPE_FLOAT, // mat3 in getDataTypeScalarType()
462 TYPE_FLOAT, // mat3x4 in getDataTypeScalarType()
[all …]
DgluShaderUtil.hpp102 TYPE_FLOAT, enumerator
264 inline bool isDataTypeFloatOrVec (DataType dataType) { return (dataType >= TYPE_FLOAT) && … in isDataTypeFloatOrVec()
265 inline bool isDataTypeFloatType (DataType dataType) { return (dataType >= TYPE_FLOAT) && … in isDataTypeFloatType()
277 return (dataType == TYPE_FLOAT) in isDataTypeScalar()
303 return deInRange32(dataType, TYPE_FLOAT, TYPE_FLOAT_VEC4) in isDataTypeScalarOrVector()
342 template <> struct DataTypeTraits<float> { enum { DATATYPE = TYPE_FLOAT }; };
368 DE_STATIC_ASSERT(TYPE_FLOAT_VEC4 == TYPE_FLOAT + 3);
/external/deqp/modules/gles31/functional/
Des31fNegativeShaderFunctionTests.cpp101 glu::TYPE_FLOAT,
125 glu::TYPE_FLOAT,
207 case glu::TYPE_FLOAT: variable << "(1.0);\n"; break; in declareAndInitializeShaderVariable()
1805 …ture(ctx, s_shaders[shaderNdx], glu::TYPE_SAMPLER_2D, s_floatTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p()
1813 …(ctx, s_shaders[shaderNdx], glu::TYPE_INT_SAMPLER_2D, s_floatTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p()
1821 …ctx, s_shaders[shaderNdx], glu::TYPE_UINT_SAMPLER_2D, s_floatTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p()
1830 …exture(ctx, s_shaders[shaderNdx], glu::TYPE_SAMPLER_2D, s_intTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p()
1838 …re(ctx, s_shaders[shaderNdx], glu::TYPE_INT_SAMPLER_2D, s_intTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p()
1846 …e(ctx, s_shaders[shaderNdx], glu::TYPE_UINT_SAMPLER_2D, s_intTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p()
1854 …xture(ctx, s_shaders[shaderNdx], glu::TYPE_SAMPLER_2D, s_uintTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p()
[all …]
Des31fShaderSharedVarTests.cpp368 for (int basicType = TYPE_FLOAT; basicType <= TYPE_BOOL_VEC4; basicType++) in init()
396 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_1_1_1", TYPE_FLOAT, PRECI… in init()
397 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_64_1_1", TYPE_FLOAT, PREC… in init()
398 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_1_64_1", TYPE_FLOAT, PREC… in init()
399 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_1_1_64", TYPE_FLOAT, PREC… in init()
400 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_128_1_1", TYPE_FLOAT, PRE… in init()
401 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_1_128_1", TYPE_FLOAT, PRE… in init()
402 …workGroupSizeGroup->addChild(new SharedBasicVarCase(m_context, "float_13_2_4", TYPE_FLOAT, PREC… in init()
/external/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc221 { "123.45", Tokenizer::TYPE_FLOAT },
222 { "1.", Tokenizer::TYPE_FLOAT },
223 { "1e3", Tokenizer::TYPE_FLOAT },
224 { "1E3", Tokenizer::TYPE_FLOAT },
225 { "1e-3", Tokenizer::TYPE_FLOAT },
226 { "1e+3", Tokenizer::TYPE_FLOAT },
227 { "1.e3", Tokenizer::TYPE_FLOAT },
228 { "1.2e3", Tokenizer::TYPE_FLOAT },
229 { ".1", Tokenizer::TYPE_FLOAT },
230 { ".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()
DrsgBinaryOps.cpp60 , m_type (VariableType::TYPE_FLOAT, 1) in CustomAbsOp()
130 m_type = VariableType(VariableType::TYPE_FLOAT, 1); in CustomBinaryOp()
139 m_type = VariableType(VariableType::TYPE_FLOAT, 1); in CustomBinaryOp()
151 VariableType floatType = VariableType(VariableType::TYPE_FLOAT, 1); in CustomBinaryOp()
174 DE_ASSERT(dst.getType().getBaseType() == VariableType::TYPE_FLOAT); in evaluate()
243 VariableType floatType(VariableType::TYPE_FLOAT, 1); in createNextChild()
263 VariableType floatType(VariableType::TYPE_FLOAT, 1); in createNextChild()
283 VariableType floatType(VariableType::TYPE_FLOAT, 1); in createNextChild()
374 if (Float) baseTypes.push_back(VariableType::TYPE_FLOAT); in BinaryVecOp()
403 …if ((baseType == VariableType::TYPE_FLOAT || baseType == VariableType::TYPE_INT) && isUndefinedVal… in BinaryVecOp()
[all …]
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()
388 : m_value(VariableType::getScalarType(VariableType::TYPE_FLOAT)) in FloatLiteral()
393 ExecValueAccess access = m_value.getValue(VariableType::getScalarType(VariableType::TYPE_FLOAT)); in FloatLiteral()
403 if (type == VariableType(VariableType::TYPE_FLOAT, 1)) in getWeight()
426 str << Token(m_value.getValue(VariableType::getScalarType(VariableType::TYPE_FLOAT)).asFloat(0)); in tokenize()
652 case VariableType::TYPE_FLOAT: return 0; in getBaseTypeConvNdx()
[all …]
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()
/external/protobuf/src/google/protobuf/util/internal/
Ddatapiece.cc121 if (type_ == TYPE_FLOAT) in ToInt32()
133 if (type_ == TYPE_FLOAT) in ToUint32()
145 if (type_ == TYPE_FLOAT) in ToInt64()
157 if (type_ == TYPE_FLOAT) in ToUint64()
164 if (type_ == TYPE_FLOAT) { in ToDouble()
230 case TYPE_FLOAT: in ValueAsStringOrDefault()
303 case TYPE_FLOAT: in GenericConvert()
/external/libtextclassifier/java/com/google/android/textclassifier/
DNamedVariant.java28 public static final int TYPE_FLOAT = 3; field in NamedVariant
48 this.type = TYPE_FLOAT; in NamedVariant()
88 assert (type == TYPE_FLOAT); in getFloat()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bitcode/
Dupgrade-tbaa.ll23 ; CHECK: [[TAG_FLOAT]] = !{[[TYPE_FLOAT:!.*]], [[TYPE_FLOAT]], i64 0}
24 ; CHECK: [[TYPE_FLOAT]] = !{!"float", [[TYPE_CHAR]]}
/external/llvm/test/Bitcode/
Dupgrade-tbaa.ll23 ; CHECK: [[TAG_FLOAT]] = !{[[TYPE_FLOAT:!.*]], [[TYPE_FLOAT]], i64 0}
24 ; CHECK: [[TYPE_FLOAT]] = !{!"float", [[TYPE_CHAR]]}
/external/v8/src/
Dflags.cc43 TYPE_FLOAT, enumerator
88 DCHECK(type_ == TYPE_FLOAT); in float_variable()
136 DCHECK(type_ == TYPE_FLOAT); in float_default()
168 case TYPE_FLOAT: in IsDefault()
203 case TYPE_FLOAT: in Reset()
238 case Flag::TYPE_FLOAT: return "float"; in Type2String()
267 case Flag::TYPE_FLOAT: in operator <<()
494 case Flag::TYPE_FLOAT: in SetFlagsFromCommandLine()
/external/tensorflow/tensorflow/core/util/proto/
Ddecode.h254 inline const uint8* ReadFromArray<float, WireFormatLite::TYPE_FLOAT>(
257 WireFormatLite::TYPE_FLOAT>(
262 inline const uint8* ReadFromArray<double, WireFormatLite::TYPE_FLOAT>(
266 WireFormatLite::ReadPrimitiveFromArray<float, WireFormatLite::TYPE_FLOAT>(
379 case WireFormatLite::TYPE_FLOAT: in ReadValue()
382 return ReadPrimitive<float, double, WireFormatLite::TYPE_FLOAT>( in ReadValue()
385 return ReadPrimitive<float, float, WireFormatLite::TYPE_FLOAT>( in ReadValue()
497 case WireFormatLite::TYPE_FLOAT: in ReadPackedFromArray()
500 *index += ReadPackedPrimitives<double, WireFormatLite::TYPE_FLOAT>( in ReadPackedFromArray()
504 *index += ReadPackedPrimitives<float, WireFormatLite::TYPE_FLOAT>( in ReadPackedFromArray()
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_field_base.cc177 case FieldDescriptor::TYPE_FLOAT: in type_name()
219 case FieldDescriptor::TYPE_FLOAT: in has_default_value()
257 case FieldDescriptor::TYPE_FLOAT: in is_nullable_type()
331 case FieldDescriptor::TYPE_FLOAT: { in default_value()
392 case FieldDescriptor::TYPE_FLOAT: in capitalized_type_name()
/external/protobuf/python/google/protobuf/internal/
Dtype_checkers.py241 _FieldDescriptor.TYPE_FLOAT: wire_format.FloatByteSize,
264 _FieldDescriptor.TYPE_FLOAT: encoder.FloatEncoder,
287 _FieldDescriptor.TYPE_FLOAT: encoder.FloatSizer,
310 _FieldDescriptor.TYPE_FLOAT: decoder.FloatDecoder,
332 _FieldDescriptor.TYPE_FLOAT: wire_format.WIRETYPE_FIXED32,
/external/deqp/modules/glshared/
DglsShaderConstExprTests.cpp65 case glu::TYPE_FLOAT: in addOutputVar()
88 DE_STATIC_ASSERT(glu::TYPE_FLOAT+1 == glu::TYPE_FLOAT_VEC2); in createTests()
89 DE_STATIC_ASSERT(glu::TYPE_FLOAT+2 == glu::TYPE_FLOAT_VEC3); in createTests()
90 DE_STATIC_ASSERT(glu::TYPE_FLOAT+3 == glu::TYPE_FLOAT_VEC4); in createTests()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemBufferValidator.cpp51 case TYPE_FLOAT: return "vec4"; in generateShaderVarString()
67 case TYPE_FLOAT: return "uniform samplerBuffer"; in generateShaderBufferString()
/external/python/cpython3/Modules/_sqlite/
Dstatement.c45 TYPE_FLOAT, enumerator
129 paramtype = TYPE_FLOAT; in pysqlite_statement_bind_parameter()
135 paramtype = TYPE_FLOAT; in pysqlite_statement_bind_parameter()
153 case TYPE_FLOAT: in pysqlite_statement_bind_parameter()

123456789