Home
last modified time | relevance | path

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

1234567

/third_party/vk-gl-cts/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 …]
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcShaderConstExprTests.cpp287 if (shaderExecutorParams.outType == glu::TYPE_FLOAT) in createTests()
304 if (shaderExecutorParams.outType == glu::TYPE_FLOAT) in createTests()
327 DE_STATIC_ASSERT(glu::TYPE_FLOAT + 1 == glu::TYPE_FLOAT_VEC2); in init()
328 DE_STATIC_ASSERT(glu::TYPE_FLOAT + 2 == glu::TYPE_FLOAT_VEC3); in init()
329 DE_STATIC_ASSERT(glu::TYPE_FLOAT + 3 == glu::TYPE_FLOAT_VEC4); in init()
345 …{ "radians", "radians(${T} (90.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, { deFloatRad… in init()
346 …{ "degrees", "degrees(${T} (2.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, { deFloatDegr… in init()
347 …{ "sin", "sin(${T} (3.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, { deFloatSin(3.0f) … in init()
348 …{ "cos", "cos(${T} (3.2))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, { deFloatCos(3.2f) … in init()
349 …{ "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 …]
/third_party/vk-gl-cts/framework/opengl/
DgluShaderUtil.cpp471 TYPE_FLOAT, // float in getDataTypeScalarType()
472 TYPE_FLOAT, // vec2 in getDataTypeScalarType()
473 TYPE_FLOAT, // vec3 in getDataTypeScalarType()
474 TYPE_FLOAT, // vec4 in getDataTypeScalarType()
475 TYPE_FLOAT, // mat2 in getDataTypeScalarType()
476 TYPE_FLOAT, // mat2x3 in getDataTypeScalarType()
477 TYPE_FLOAT, // mat2x4 in getDataTypeScalarType()
478 TYPE_FLOAT, // mat3x2 in getDataTypeScalarType()
479 TYPE_FLOAT, // mat3 in getDataTypeScalarType()
480 TYPE_FLOAT, // mat3x4 in getDataTypeScalarType()
[all …]
DgluShaderUtil.hpp114 TYPE_FLOAT, enumerator
276 inline bool isDataTypeFloatOrVec (DataType dataType) { return (dataType >= TYPE_FLOAT) && … in isDataTypeFloatOrVec()
277 inline bool isDataTypeFloatType (DataType dataType) { return (dataType >= TYPE_FLOAT) && … in isDataTypeFloatType()
294 return (dataType == TYPE_FLOAT) in isDataTypeScalar()
320 return deInRange32(dataType, TYPE_FLOAT, TYPE_FLOAT_VEC4) in isDataTypeScalarOrVector()
361 template <> struct DataTypeTraits<float> { enum { DATATYPE = TYPE_FLOAT }; };
397 DE_STATIC_ASSERT(TYPE_FLOAT_VEC4 == TYPE_FLOAT + 3);
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fNegativeShaderFunctionTests.cpp101 glu::TYPE_FLOAT,
125 glu::TYPE_FLOAT,
207 case glu::TYPE_FLOAT: variable << "(1.0);\n"; break; in declareAndInitializeShaderVariable()
1812 …ture(ctx, s_shaders[shaderNdx], glu::TYPE_SAMPLER_2D, s_floatTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p()
1820 …(ctx, s_shaders[shaderNdx], glu::TYPE_INT_SAMPLER_2D, s_floatTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p()
1828 …ctx, s_shaders[shaderNdx], glu::TYPE_UINT_SAMPLER_2D, s_floatTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p()
1837 …exture(ctx, s_shaders[shaderNdx], glu::TYPE_SAMPLER_2D, s_intTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p()
1845 …re(ctx, s_shaders[shaderNdx], glu::TYPE_INT_SAMPLER_2D, s_intTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p()
1853 …e(ctx, s_shaders[shaderNdx], glu::TYPE_UINT_SAMPLER_2D, s_intTypes[dataTypeNdx], glu::TYPE_FLOAT)); in texture_invalid_p()
1861 …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()
/third_party/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 …]
/third_party/vk-gl-cts/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()
/third_party/protobuf/src/google/protobuf/util/internal/
Ddatapiece.cc123 if (type_ == TYPE_FLOAT) in ToInt32()
136 if (type_ == TYPE_FLOAT) in ToUint32()
148 if (type_ == TYPE_FLOAT) in ToInt64()
161 if (type_ == TYPE_FLOAT) in ToUint64()
168 if (type_ == TYPE_FLOAT) { in ToDouble()
242 case TYPE_FLOAT: in ValueAsStringOrDefault()
346 case TYPE_FLOAT: in GenericConvert()
409 case TYPE_FLOAT: in InternalCopy()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/
DvktTypeComparisonUtil.cpp38 case glu::TYPE_FLOAT: in getCompareFuncForType()
144 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
157 compareFuncs.insert(glu::TYPE_FLOAT); in getCompareDependencies()
221 return glu::TYPE_FLOAT; in getPromoteType()
/third_party/node/deps/v8/src/flags/
Dflags.cc60 TYPE_FLOAT, enumerator
145 DCHECK(type_ == TYPE_FLOAT); in float_variable()
150 DCHECK(type_ == TYPE_FLOAT); in set_float_variable()
209 DCHECK(type_ == TYPE_FLOAT); in float_default()
330 case TYPE_FLOAT: in IsDefault()
364 case TYPE_FLOAT: in Reset()
423 case Flag::TYPE_FLOAT: in Type2String()
472 case Flag::TYPE_FLOAT: in operator <<()
665 case Flag::TYPE_FLOAT: in SetFlagsFromCommandLine()
/third_party/vk-gl-cts/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()
/third_party/protobuf/php/src/Google/Protobuf/Field/
DKind.php33 const TYPE_FLOAT = 2; define in Google\\Protobuf\\Field\\Kind
134 self::TYPE_FLOAT => 'TYPE_FLOAT',
/third_party/protobuf/php/src/Google/Protobuf/Internal/FieldDescriptorProto/
DType.php24 const TYPE_FLOAT = 2; define in Google\\Protobuf\\Internal\\FieldDescriptorProto\\Type
111 self::TYPE_FLOAT => 'TYPE_FLOAT',
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemBufferValidator.cpp51 case TYPE_FLOAT: return "vec4"; in generateShaderVarString()
67 case TYPE_FLOAT: return "uniform samplerBuffer"; in generateShaderBufferString()
/third_party/protobuf/python/google/protobuf/internal/
Dtype_checkers.py320 _FieldDescriptor.TYPE_FLOAT: wire_format.FloatByteSize,
343 _FieldDescriptor.TYPE_FLOAT: encoder.FloatEncoder,
366 _FieldDescriptor.TYPE_FLOAT: encoder.FloatSizer,
389 _FieldDescriptor.TYPE_FLOAT: decoder.FloatDecoder,
411 _FieldDescriptor.TYPE_FLOAT: wire_format.WIRETYPE_FIXED32,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmTrinaryMinMaxTests.cpp71 TYPE_FLOAT, enumerator
299 { { BaseType::TYPE_FLOAT, TypeSize::SIZE_16BIT, OperationType::MIN }, { genFloat16, minFloat16 } },
300 { { BaseType::TYPE_FLOAT, TypeSize::SIZE_16BIT, OperationType::MAX }, { genFloat16, maxFloat16 } },
301 { { BaseType::TYPE_FLOAT, TypeSize::SIZE_16BIT, OperationType::MID }, { genFloat16, midFloat16 } },
302 { { BaseType::TYPE_FLOAT, TypeSize::SIZE_32BIT, OperationType::MIN }, { genFloat32, minFloat32 } },
303 { { BaseType::TYPE_FLOAT, TypeSize::SIZE_32BIT, OperationType::MAX }, { genFloat32, maxFloat32 } },
304 { { BaseType::TYPE_FLOAT, TypeSize::SIZE_32BIT, OperationType::MID }, { genFloat32, midFloat32 } },
305 { { BaseType::TYPE_FLOAT, TypeSize::SIZE_64BIT, OperationType::MIN }, { genFloat64, minFloat64 } },
306 { { BaseType::TYPE_FLOAT, TypeSize::SIZE_64BIT, OperationType::MAX }, { genFloat64, maxFloat64 } },
307 { { BaseType::TYPE_FLOAT, TypeSize::SIZE_64BIT, OperationType::MID }, { genFloat64, midFloat64 } },
[all …]
/third_party/python/Modules/_sqlite/
Dstatement.c45 TYPE_FLOAT, enumerator
151 paramtype = TYPE_FLOAT; in pysqlite_statement_bind_parameter()
157 paramtype = TYPE_FLOAT; in pysqlite_statement_bind_parameter()
175 case TYPE_FLOAT: in pysqlite_statement_bind_parameter()

1234567