/third_party/skia/src/sksl/ir/ |
H A D | SkSLConstructorCompoundCast.cpp | 21 const Type& destType, in cast_constant_composite() 23 const Type& scalarType = destType.componentType(); in cast_constant_composite() 33 context, constCtor->fLine, destType, in cast_constant_composite() 38 if (constCtor->is<ConstructorDiagonalMatrix>() && destType.isMatrix()) { in cast_constant_composite() 43 context, constCtor->fLine, destType, in cast_constant_composite() 49 size_t numSlots = destType.slotCount(); in cast_constant_composite() 64 return ConstructorCompound::Make(context, constCtor->fLine, destType, in cast_constant_composite() 20 cast_constant_composite(const Context& context, const Type& destType, std::unique_ptr<Expression> constCtor) cast_constant_composite() argument
|
H A D | SkSLConstructorArrayCast.cpp | 19 const Type& destType, in cast_constant_array() 21 const Type& scalarType = destType.componentType(); in cast_constant_array() 38 return ConstructorArray::Make(context, constCtor->fLine, destType, std::move(typecastArgs)); in cast_constant_array() 18 cast_constant_array(const Context& context, const Type& destType, std::unique_ptr<Expression> constCtor) cast_constant_array() argument
|
/third_party/skia/third_party/externals/dawn/src/common/ |
H A D | Math.h | 80 template <typename destType, typename sourceType> 81 destType BitCast(const sourceType& source) { in BitCast() 82 static_assert(sizeof(destType) == sizeof(sourceType), "BitCast: cannot lose precision."); in BitCast() 83 destType output; in BitCast() 84 std::memcpy(&output, &source, sizeof(destType)); in BitCast()
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | Nucleus.hpp | 266 static Value *createTrunc(Value *V, Type *destType); 267 static Value *createZExt(Value *V, Type *destType); 268 static Value *createSExt(Value *V, Type *destType); 269 static Value *createFPToUI(Value *V, Type *destType); 270 static Value *createFPToSI(Value *V, Type *destType); 271 static Value *createSIToFP(Value *V, Type *destType); 272 static Value *createFPTrunc(Value *V, Type *destType); 273 static Value *createFPExt(Value *V, Type *destType); 274 static Value *createBitCast(Value *V, Type *destType);
|
H A D | SubzeroReactor.cpp | 1638 static Value *createCast(Ice::InstCast::OpKind op, Value *v, Type *destType) 1640 if(v->getType() == T(destType)) 1645 Ice::Variable *result = ::function->makeVariable(T(destType)); 1652 Value *Nucleus::createTrunc(Value *v, Type *destType) 1655 return createCast(Ice::InstCast::Trunc, v, destType); 1658 Value *Nucleus::createZExt(Value *v, Type *destType) 1661 return createCast(Ice::InstCast::Zext, v, destType); 1664 Value *Nucleus::createSExt(Value *v, Type *destType) 1667 return createCast(Ice::InstCast::Sext, v, destType); 1670 Value *Nucleus::createFPToUI(Value *v, Type *destType) [all...] |
H A D | LLVMReactor.cpp | 1431 Value *Nucleus::createTrunc(Value *v, Type *destType) in createTrunc() argument 1434 return V(jit->builder->CreateTrunc(V(v), T(destType))); in createTrunc() 1437 Value *Nucleus::createZExt(Value *v, Type *destType) in createZExt() argument 1440 return V(jit->builder->CreateZExt(V(v), T(destType))); in createZExt() 1443 Value *Nucleus::createSExt(Value *v, Type *destType) in createSExt() argument 1446 return V(jit->builder->CreateSExt(V(v), T(destType))); in createSExt() 1449 Value *Nucleus::createFPToUI(Value *v, Type *destType) in createFPToUI() argument 1452 return V(jit->builder->CreateFPToUI(V(v), T(destType))); in createFPToUI() 1455 Value *Nucleus::createFPToSI(Value *v, Type *destType) in createFPToSI() argument 1458 return V(jit->builder->CreateFPToSI(V(v), T(destType))); in createFPToSI() 1461 createSIToFP(Value *v, Type *destType) createSIToFP() argument 1467 createFPTrunc(Value *v, Type *destType) createFPTrunc() argument 1473 createFPExt(Value *v, Type *destType) createFPExt() argument 1479 createBitCast(Value *v, Type *destType) createBitCast() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/ |
H A D | tcuANGLENativeDisplayFactory.cpp | 57 template <typename destType, typename sourceType> 58 destType bitCast(sourceType source) in bitCast() 61 sizeof(destType) < sizeof(sourceType) ? sizeof(destType) : sizeof(sourceType); in bitCast() 62 destType output(0); in bitCast()
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
H A D | Math.hpp | 77 template <typename destType, typename sourceType> 78 destType bit_cast(const sourceType &source) in bit_cast() 83 destType d; in bit_cast()
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
H A D | Math.hpp | 69 template<typename destType, typename sourceType> 70 destType bit_cast(const sourceType &source) in bit_cast() 75 destType d; in bit_cast()
|
/third_party/skia/third_party/externals/angle2/src/image_util/ |
H A D | copyimage.h | 24 template <typename destType, typename colorDataType>
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | CopyTextureTest.cpp | 66 GLenum destType, in testGradientDownsampleUniqueValues() 82 glCopyTextureCHROMIUM(sourceTexture, 0, GL_TEXTURE_2D, destTexture, 0, destFormat, destType, in testGradientDownsampleUniqueValues() 1847 GLenum destInternalFormat, GLenum destType, bool flipY, in TEST_P() 1859 destType, flipY, premultiplyAlpha, unmultiplyAlpha); in TEST_P() 1868 GLenum destType, bool flipY, bool premultiplyAlpha, in TEST_P() 1878 glTexImage2D(GL_TEXTURE_2D, 0, destInternalFormat, 1, 1, 0, destFormat, destType, nullptr); in TEST_P() 1984 GLenum destInternalFormat, GLenum destType, bool flipY, in TEST_P() 1996 destType, flipY, premultiplyAlpha, unmultiplyAlpha); in TEST_P() 2114 GLenum destInternalFormat, GLenum destType, bool flipY, in TEST_P() 2126 destType, flip in TEST_P() 65 testGradientDownsampleUniqueValues(GLenum destFormat, GLenum destType, const std::array<size_t, 4> &expectedUniqueValues) testGradientDownsampleUniqueValues() argument [all...] |
H A D | CopyTexture3DTest.cpp | 71 GLenum destType, in testCopy() 91 destInternalFormat, destType, flipY, premultiplyAlpha, in testCopy() 190 switch (destType) in testCopy() 68 testCopy(const GLenum testTarget, const GLColor &sourceColor, GLenum destInternalFormat, GLenum destType, bool flipY, bool premultiplyAlpha, bool unmultiplyAlpha, const GLColor &expectedColor) testCopy() argument
|
H A D | ImageTest.cpp | 912 template <typename destType, typename sourcetype> 913 destType reinterpretHelper(sourcetype source) in reinterpretHelper() 915 static_assert(sizeof(destType) == sizeof(size_t), in reinterpretHelper() 916 "destType should be the same size as a size_t"); in reinterpretHelper() 918 return reinterpret_cast<destType>(sourceSizeT); in reinterpretHelper()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | VertexFormatTests.cpp | 38 template <typename destType, typename srcType> 39 std::vector<destType> BitCast(std::vector<srcType> data) { in BitCast() 40 std::vector<destType> expectedData; in BitCast()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | mathutil.h | 177 template <typename destType, typename sourceType> 178 destType bitCast(const sourceType &source) in bitCast() 180 size_t copySize = std::min(sizeof(destType), sizeof(sourceType)); in bitCast() 181 destType output; in bitCast()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | BlitGL.h | 121 GLenum destType,
|
H A D | BlitGL.cpp | 683 GLenum destType, in copySubTextureCPUReadback() 700 const auto &destInternalFormatInfo = gl::GetInternalFormatInfo(destFormat, destType); in copySubTextureCPUReadback() 811 nativegl::GetTexSubImageFormat(mFunctions, mFeatures, destFormat, destType); in copySubTextureCPUReadback() 675 copySubTextureCPUReadback(const gl::Context *context, TextureGL *source, size_t sourceLevel, GLenum sourceSizedInternalFormat, TextureGL *dest, gl::TextureTarget destTarget, size_t destLevel, GLenum destFormat, GLenum destType, const gl::Extents &sourceSize, const gl::Rectangle &sourceArea, const gl::Offset &destOffset, bool needsLumaWorkaround, GLenum lumaFormat, bool unpackFlipY, bool unpackPremultiplyAlpha, bool unpackUnmultiplyAlpha) copySubTextureCPUReadback() argument
|
/third_party/skia/third_party/externals/angle2/include/GLES2/ |
H A D | gl2ext_angle.h | 87 GLenum destType, 112 GLenum destType, 150 GLenum destType, 178 GLenum destType,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
H A D | RendererD3D.h | 241 GLenum destType,
|
/third_party/glslang/SPIRV/ |
H A D | GlslangToSpv.cpp | 212 spv::Id createIntWidthConversion(glslang::TOperator op, spv::Id operand, int vectorSize, spv::Id destType); 7360 // destType is the final type that will be converted to, but this function 7362 spv::Id TGlslangToSpvTraverser::createIntWidthConversion(glslang::TOperator op, spv::Id operand, int vectorSize, spv::Id destType) in createIntWidthConversion() argument 7433 else if (builder.getOpCode(destType) == spv::OpTypeCooperativeMatrixKHR || in createIntWidthConversion() 7434 builder.getOpCode(destType) == spv::OpTypeCooperativeMatrixNV) { in createIntWidthConversion() 7436 type = builder.makeCooperativeMatrixTypeWithSameShape(type, destType); in createIntWidthConversion() 7442 spv::Id TGlslangToSpvTraverser::createConversion(glslang::TOperator op, OpDecorations& decorations, spv::Id destType, in createConversion() argument 7449 int vectorSize = builder.isVectorType(destType) ? builder.getNumTypeComponents(destType) : 0; in createConversion() 7456 return builder.createBinOp(spv::OpINotEqual, destType, operan in createConversion() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Context_gles_ext_autogen.h | 321 GLint internalFormat, GLenum destType, GLboolean unpackFlipY, \ 554 GLenum destType, GLboolean unpackFlipY, GLboolean unpackPremultiplyAlpha, \
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | Renderer9.h | 213 GLenum destType,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | Renderer11.h | 171 GLenum destType,
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_drawpixels.c | 1005 GLenum destType = GL_UNSIGNED_BYTE; in draw_stencil_pixels() local 1010 _mesa_unpack_stencil_span(ctx, width, destType, sValues, in draw_stencil_pixels()
|
/third_party/skia/third_party/externals/angle2/src/libGLESv2/ |
H A D | entry_points_gles_ext_autogen.h | 61 GLenum destType, 660 GLenum destType,
|