Home
last modified time | relevance | path

Searched refs:toFloat (Results 1 - 12 of 12) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A Dcopyvertex.inc.h303 template <bool isSigned, bool normalized, bool toFloat, bool toHalf>
309 if (toFloat || toHalf) in CopyPackedRGB()
378 template <bool isSigned, bool normalized, bool toFloat, bool toHalf>
383 if (toFloat || toHalf) in CopyPackedAlpha()
482 template <bool isSigned, bool normalized, bool toFloat, bool toHalf>
488 const size_t outputComponentSize = toFloat && !toHalf ? 4 : 2; in CopyXYZ10W2ToXYZWFloatVertexData()
504 priv::CopyPackedRGB<isSigned, normalized, toFloat, toHalf>( in CopyXYZ10W2ToXYZWFloatVertexData()
506 priv::CopyPackedRGB<isSigned, normalized, toFloat, toHalf>( in CopyXYZ10W2ToXYZWFloatVertexData()
508 priv::CopyPackedRGB<isSigned, normalized, toFloat, toHalf>( in CopyXYZ10W2ToXYZWFloatVertexData()
510 priv::CopyPackedAlpha<isSigned, normalized, toFloat, toHal in CopyXYZ10W2ToXYZWFloatVertexData()
[all...]
H A Dcopyvertex.h58 template <bool isSigned, bool normalized, bool toFloat, bool toHalf>
/third_party/vk-gl-cts/modules/gles31/scripts/
H A Dgen-implicit-conversions.py241 "float": [Scalar(x).toFloat() for x in IN_ISCALAR],
242 "vec2": [Vec2(x[0], x[1]).toFloat() for x in IN_IVECTOR],
243 "vec3": [Vec3(x[0], x[1], x[2]).toFloat() for x in IN_IVECTOR],
244 "vec4": [Vec4(x[0], x[1], x[2], x[3]).toFloat() for x in IN_IVECTOR],
520 return a.toFloat() * Scalar(2.0)
606 return out[0].toFloat()
610 return Vec2(out[0], out[1]).toFloat()
614 return Vec3(out[0], out[1], out[2]).toFloat()
618 return Vec4(out[0], out[1], out[2], out[3]).toFloat()
H A Dgenutil.py115 def toFloat(lst): return [Scalar(float(v.x)) for v in lst] function
119 def toVec4(lst): return [v.toFloat().toVec4() for v in lst]
120 def toVec3(lst): return [v.toFloat().toVec3() for v in lst]
121 def toVec2(lst): return [v.toFloat().toVec2() for v in lst]
255 def toFloat(self): return Scalar(float(self.x)) member in Scalar
416 def toFloat(self): return Vec2(float(self.x), float(self.y)) member in Vec2
527 def toFloat(self): return Vec3(float(self.x), float(self.y), float(self.z)) member in Vec3
647 def toFloat(self): return Vec4(float(self.x), float(self.y), float(self.z), float(self.w)) member in Vec4
/third_party/vk-gl-cts/modules/gles2/scripts/
H A Dgen-conversions.py81 # print x[ndx].toFloat().getScalars() ,
82 scalars = reduce(operator.add, [x[ndx].toFloat().getScalars() for x in comps])
102 scalars = reduce(operator.add, [x[ndx].toFloat().getScalars() for x in comps])
296 genConversionCases([inFloat, inInt, inBool], [toFloat, toInt, toBool])))
304 genConversionCases([inVec2, inVec3, inVec4, inIVec2, inIVec3, inIVec4, inBVec2, inBVec3, inBVec4], [toFloat, toInt, toBool])))
H A Dgenutil.py115 def toFloat(lst): return [Scalar(float(v.x)) for v in lst] function
118 def toVec4(lst): return [v.toFloat().toVec4() for v in lst]
119 def toVec3(lst): return [v.toFloat().toVec3() for v in lst]
120 def toVec2(lst): return [v.toFloat().toVec2() for v in lst]
233 def toFloat(self): return Scalar(float(self.x)) member in Scalar
347 def toFloat(self): return Vec2(float(self.x), float(self.y)) member in Vec2
433 def toFloat(self): return Vec3(float(self.x), float(self.y), float(self.z)) member in Vec3
526 def toFloat(self): return Vec4(float(self.x), float(self.y), float(self.z), float(self.w)) member in Vec4
/third_party/vk-gl-cts/modules/gles3/scripts/
H A Dgen-conversions.py81 # print x[ndx].toFloat().getScalars() ,
82 scalars = reduce(operator.add, [x[ndx].toFloat().getScalars() for x in comps])
105 scalars = reduce(operator.add, [x[ndx].toFloat().getScalars() for x in comps])
322 genConversionCases([inFloat, inInt, inUint, inBool], [toFloat, toInt, toBool]) +\
332 genConversionCases([inVec2, inVec3, inVec4, inIVec2, inIVec3, inIVec4, inUVec2, inUVec3, inUVec4, inBVec2, inBVec3, inBVec4], [toFloat, toInt, toBool]) +\
H A Dgenutil.py115 def toFloat(lst): return [Scalar(float(v.x)) for v in lst] function
119 def toVec4(lst): return [v.toFloat().toVec4() for v in lst]
120 def toVec3(lst): return [v.toFloat().toVec3() for v in lst]
121 def toVec2(lst): return [v.toFloat().toVec2() for v in lst]
255 def toFloat(self): return Scalar(float(self.x)) member in Scalar
414 def toFloat(self): return Vec2(float(self.x), float(self.y)) member in Vec2
525 def toFloat(self): return Vec3(float(self.x), float(self.y), float(self.z)) member in Vec3
645 def toFloat(self): return Vec4(float(self.x), float(self.y), float(self.z), float(self.w)) member in Vec4
/third_party/vk-gl-cts/modules/glshared/
H A DglsVertexArrayTests.cpp1189 float GLValue::toFloat (void) const in toFloat() function in deqp::gls::GLValue
1981 coordScale = (arraySpec.normalize && !inputTypeIsFloatType(arraySpec.inputType) ? 1.0f : float(0.9 / double(arraySpec.max.toFloat()))); in iterate()
1994 colorScale *= (arraySpec.normalize && !inputTypeIsFloatType(arraySpec.inputType) ? 1.0f : float(1.0 / double(arraySpec.max.toFloat()))); in iterate()
1996 colorScale *= (arraySpec.normalize && !inputTypeIsFloatType(arraySpec.inputType) ? 1.0f : float(1.0 / double(arraySpec.max.toFloat()))); in iterate()
H A DglsVertexArrayTests.hpp397 float toFloat (void) const;
H A DglsDrawTest.cpp543 float toFloat (void) const;
578 float GLValue::toFloat (void) const in toFloat() function in deqp::gls::__anon30985::GLValue
3816 const float max = GLValue::getMaxValue(attribSpec.inputType).toFloat(); in getCoordScale()
3856 const float max = GLValue::getMaxValue(attribSpec.inputType).toFloat(); in getColorScale()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DReactor.cpp4491 // toFloat returns all the float values in vals extended to extended to a printf-required storage value
4492 static std::vector<Value *> toFloat(const std::vector<Value *> &vals)
4573 return toFloat({ v.value() });
4578 return toFloat(extractAll(v.value(), 4));

Completed in 24 milliseconds