Searched refs:bitCast (Results 1 – 19 of 19) sorted by relevance
/external/angle/src/common/ |
D | mathutil_unittest.cpp | 181 EXPECT_TRUE(isNaN(bitCast<float>(0xffu << 23 | 1u))); in TEST() 182 EXPECT_TRUE(isNaN(bitCast<float>(1u << 31 | 0xffu << 23 | 1u))); in TEST() 183 EXPECT_TRUE(isNaN(bitCast<float>(1u << 31 | 0xffu << 23 | 0x400000u))); in TEST() 184 EXPECT_TRUE(isNaN(bitCast<float>(1u << 31 | 0xffu << 23 | 0x7fffffu))); in TEST() 186 EXPECT_FALSE(isNaN(bitCast<float>(1u << 31 | 0xffu << 23))); in TEST() 187 EXPECT_FALSE(isNaN(bitCast<float>(0xffu << 23))); in TEST() 193 EXPECT_TRUE(isInf(bitCast<float>(0xffu << 23))); in TEST() 194 EXPECT_TRUE(isInf(bitCast<float>(1u << 31 | 0xffu << 23))); in TEST() 196 EXPECT_FALSE(isInf(bitCast<float>(0xffu << 23 | 1u))); in TEST() 197 EXPECT_FALSE(isInf(bitCast<float>(1u << 31 | 0xffu << 23 | 1u))); in TEST() [all …]
|
D | mathutil.h | 178 destType bitCast(const sourceType &source) in bitCast() function 196 unsigned int fp32i = bitCast<unsigned int>(fp32); in float32ToFloat16() 255 const unsigned int float32Bits = bitCast<unsigned int>(fp32); in float32ToFloat11() 334 const unsigned int float32Bits = bitCast<unsigned int>(fp32); in float32ToFloat10() 402 return bitCast<float>(0x7f800000 | (mantissa << 17)); in float11ToFloat32() 428 return bitCast<float>(((exponent + 112) << 23) | (mantissa << 17)); in float11ToFloat32() 440 return bitCast<float>(0x7f800000 | (mantissa << 17)); in float10ToFloat32() 466 return bitCast<float>(((exponent + 112) << 23) | (mantissa << 18)); in float10ToFloat32() 1267 return ((bitCast<uint32_t>(f) & 0x7f800000u) == 0x7f800000u) && in isNaN() 1268 (bitCast<uint32_t>(f) & 0x7fffffu); in isNaN() [all …]
|
D | Float16ToFloat32.cpp | 298 return bitCast<float>(i32); in float16ToFloat32()
|
D | mathutil.cpp | 68 return bitCast<unsigned int>(output); in convertRGBFloatsTo999E5()
|
/external/angle/src/image_util/ |
D | loadimage.inc | 74 const type fourthValue = gl::bitCast<type>(fourthComponentBits); 139 gl::bitCast<type>(firstBits), 140 gl::bitCast<type>(secondBits), 141 gl::bitCast<type>(thirdBits), 142 gl::bitCast<type>(fourthBits),
|
D | imageformats.cpp | 1795 gl::convert999E5toRGBFloats(gl::bitCast<uint32_t>(*src), &dst->red, &dst->green, &dst->blue); in readColor()
|
/external/llvm-project/llvm/test/CodeGen/PowerPC/ |
D | bitcast-peephole.mir | 5 name: bitCast 9 ; CHECK-LABEL: name: bitCast
|
/external/angle/src/tests/deqp_support/ |
D | tcuANGLENativeDisplayFactory.cpp | 58 destType bitCast(sourceType source) in bitCast() function 98 return bitCast<void *>(mDeviceContext); in getPlatformNative() 411 mNativeDisplay(bitCast<eglw::EGLNativeDisplayType>(EGL_DEFAULT_DISPLAY)), in ANGLENativeDisplayFactory() 417 mNativeDisplay = bitCast<eglw::EGLNativeDisplayType>(XOpenDisplay(nullptr)); in ANGLENativeDisplayFactory() 463 return new ANGLENativeDisplay(bitCast<EGLNativeDisplayType>(mNativeDisplay), in createDisplay()
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | InputLayoutCache.cpp | 94 attributeData[numAttributes++] = gl::bitCast<uint64_t>(packedAttrib); in addAttributeData()
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | spv.bitCast.frag.out | 1 spv.bitCast.frag
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | ProgramExecutableVk.h | 137 uint8_t index = gl::bitCast<uint8_t, ProgramTransformOptions>(option); in getGraphicsProgramInfo()
|
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/ |
D | spv.bitCast.frag.out | 1 spv.bitCast.frag
|
/external/angle/src/libANGLE/renderer/ |
D | copyvertex.inc.h | 38 const T defaultAlphaValue = gl::bitCast<T>(alphaDefaultValueBits); in CopyNativeVertexData()
|
/external/angle/src/compiler/translator/ |
D | IntermNode.cpp | 3011 resultArray[i].setIConst(gl::bitCast<int32_t>(operandArray[0].getFConst())); in foldUnaryComponentWise() 3016 resultArray[i].setUConst(gl::bitCast<uint32_t>(operandArray[0].getFConst())); in foldUnaryComponentWise() 3021 resultArray[i].setFConst(gl::bitCast<float>(operandArray[0].getIConst())); in foldUnaryComponentWise() 3026 resultArray[i].setFConst(gl::bitCast<float>(operandArray[0].getUConst())); in foldUnaryComponentWise()
|
D | OutputGLSLBase.cpp | 122 out << "uintBitsToFloat(" << gl::bitCast<uint32_t>(f) << "u)"; in writeFloat()
|
D | OutputHLSL.cpp | 253 out << "asfloat(" << gl::bitCast<uint32_t>(f) << "u)"; in writeFloat()
|
/external/angle/src/libGLESv2/ |
D | egl_stubs.cpp | 402 gl::bitCast<EGLNativeDisplayType>(native_display), attribMap); in GetPlatformDisplay()
|
D | egl_ext_stubs.cpp | 190 gl::bitCast<EGLNativeDisplayType>(native_display), attribMap); in GetPlatformDisplayEXT()
|
/external/angle/src/libANGLE/capture/ |
D | FrameCapture.cpp | 2873 GLsync syncID = gl::bitCast<GLsync>(static_cast<size_t>(syncIter.first)); in CaptureSharedContextMidExecutionSetup()
|