/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktShaderCommonFunctionTests.cpp | 124 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); 126 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); 141 return tcu::Float32::construct(+1, exp, (1u<<23) | ulpDiff).asFloat() - tcu::Float32::construct(+1, exp, 1u<<23).asFloat(); 209 const float largestRepresentableValue = tcu::Float32::constructBits(+1, maxNormalizedValueExponent, ((1u << numMantissaBits) - 1u) << (23u - (deUint32)numMantissaBits)).asFloat(); 213 const float zeroValue = (zeroNotRepresentable) ? (tcu::Float32::constructBits(+1, minNormalizedValueExponent, 1).asFloat()) : (0.0f); 234 return targetRepresentation.asFloat(); 381 *significand = tcu::Float32::construct(fpValue.sign(), -1, fpValue.mantissa()).asFloat(); 401 return tcu::Float32::construct(mant.sign(), exponent+mant.exponent(), mant.mantissa()).asFloat(); 833 ((float*)values[0])[ndx] = tcu::Float16(((float*)values[0])[ndx]).asFloat(); [all...] |
vktShaderPackingFunctionTests.cpp | 638 v[c] = tcu::Float32::construct(s, exp ? exp : 1 /* avoid denormals */, (1u<<23) | mantissa).asFloat(); 646 *inVal = tcu::Vec2(tcu::Float16(inVal->x()).asFloat(), tcu::Float16(inVal->y()).asFloat()); 851 const float ref = temp.asFloat(); 877 const float ref0 = tcu::Float16(in0).asFloat(); 880 const float ref1 = tcu::Float16(in1).asFloat(); [all...] |
/external/turbine/java/com/google/turbine/bytecode/ |
AnnotationWriter.java | 96 writeConst('F', pool.floatInfo(value.asFloat().value()));
|
AttributeWriter.java | 140 output.writeShort(pool.floatInfo(value.asFloat().value()));
|
/external/deqp/modules/gles3/functional/ |
es3fShaderCommonFunctionTests.cpp | 116 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); 118 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); 133 return tcu::Float32::construct(+1, exp, (1u<<23) | ulpDiff).asFloat() - tcu::Float32::construct(+1, exp, 1u<<23).asFloat(); 652 ((float*)values[0])[ndx] = tcu::Float16(((float*)values[0])[ndx]).asFloat(); [all...] |
es3fShaderPrecisionTests.cpp | 368 const float refF = tcu::Float64(refD).asFloat(); // Uses RTE rounding mode. 838 float minF32 = tcu::Float32((1u<<31) | (0xfdu<<23) | 0x0u).asFloat(); 839 float maxF32 = tcu::Float32((0u<<31) | (0xfdu<<23) | 0x0u).asFloat(); 840 float minF16 = tcu::Float16((deUint16)((1u<<15) | (0x1du<<10) | 0x0u)).asFloat(); 841 float maxF16 = tcu::Float16((deUint16)((0u<<15) | (0x1du<<10) | 0x0u)).asFloat(); [all...] |
es3fShaderDerivateTests.cpp | 219 return tcu::Float32::construct(+1, exp, (1u<<23) | mask).asFloat() - tcu::Float32::construct(+1, exp, 1u<<23).asFloat(); 255 return tcu::Float32::construct(+1, exp, (1<<23) | (1 << ulpBitNdx)).asFloat() - tcu::Float32::construct(+1, exp, (1<<23)).asFloat(); 260 return tcu::Float32::construct(+1, exp, (1<<23)).asFloat(); 292 return tcu::Float32::construct(+1, inputFloat.exponent(), inputFloat.mantissa() & ~truncMask).asFloat(); 300 return tcu::Float32::construct(-1, inputFloat.exponent(), inputFloat.mantissa() & ~truncMask).asFloat() - getSingleULPForExponent(inputFloat.exponent(), numAccurateBits); 889 const tcu::Vec4 normThreshold = intThreshold.asFloat() / 255.0f; 894 case SURFACETYPE_UNORM_FBO: return tcu::IVec4(1).asFloat() / 255.0f; [all...] |
es3fVertexTextureTests.cpp | 705 const float lod = calculateLod(rend.texCoordScale, rend.region.size().asFloat(), rend.textureNdx); [all...] |
/external/deqp/framework/opengl/ |
gluTextureTestUtil.cpp | [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRenderDerivateTests.cpp | 189 return tcu::Float32::construct(+1, exp, (1u<<23) | mask).asFloat() - tcu::Float32::construct(+1, exp, 1u<<23).asFloat(); 225 return tcu::Float32::construct(+1, exp, (1<<23) | (1 << ulpBitNdx)).asFloat() - tcu::Float32::construct(+1, exp, (1<<23)).asFloat(); 230 return tcu::Float32::construct(+1, exp, (1<<23)).asFloat(); 262 return tcu::Float32::construct(+1, inputFloat.exponent(), inputFloat.mantissa() & ~truncMask).asFloat(); 270 return tcu::Float32::construct(-1, inputFloat.exponent(), inputFloat.mantissa() & ~truncMask).asFloat() - getSingleULPForExponent(inputFloat.exponent(), numAccurateBits); 643 case SURFACETYPE_UNORM_FBO: return tcu::IVec4(1).asFloat() / 255.0f; [all...] |
/external/turbine/java/com/google/turbine/binder/bytecode/ |
BytecodeBinder.java | 178 return new Const.FloatValue(value.asFloat().value());
|
/external/deqp/modules/glshared/ |
glsRandomShaderCase.cpp | 188 float minVal = valueRange.getMin().component(compNdx).asFloat(); 189 float maxVal = valueRange.getMax().component(compNdx).asFloat(); 437 case rsg::VariableType::TYPE_FLOAT: message << value.component(elementNdx).asFloat(); break;
|
glsFragOpInteractionCase.cpp | 162 result[ndx] = range.getMin().component(ndx).asFloat()*(1.0f - t[ndx]) + range.getMax().component(ndx).asFloat()*t[ndx];
|
glsVertexArrayTests.hpp | 503 return tcu::Float16((deUint16)h).asFloat();
|
glsScissorTests.cpp | 201 1u << de::max(0, 8 - renderFormat.alphaBits)).asFloat();
|
/external/deqp/modules/gles31/functional/ |
es31fShaderPackingFunctionTests.cpp | 570 v[c] = tcu::Float32::construct(s, exp ? exp : 1 /* avoid denormals */, (1u<<23) | mantissa).asFloat(); 578 *inVal = tcu::Vec2(tcu::Float16(inVal->x()).asFloat(), tcu::Float16(inVal->y()).asFloat()); 705 const float ref0 = tcu::Float16(in0).asFloat(); 706 const float ref1 = tcu::Float16(in1).asFloat(); [all...] |
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
FitDistanceWatchFaceService.java | 528 mDistanceTotal = points.get(0).getValue(Field.FIELD_DISTANCE).asFloat();
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktSampleVerifier.cpp | 523 const Vec3 roundedWeightsHi = texelGridOffsetHi.asFloat() / (float)coordSteps; 524 const Vec3 roundedWeightsLo = texelGridOffsetLo.asFloat() / (float)coordSteps;
|
/external/deqp/framework/common/ |
tcuVector.hpp | 149 Vector<float, Size> asFloat (void) const { return cast<float>(); }
|
tcuRasterizationVerifier.cpp | 210 return tcu::Float32::construct(+1, valueExponent, (1u<<23) + (ulp << (23 - 10))).asFloat() - tcu::Float32::construct(+1, valueExponent, (1u<<23)).asFloat(); 241 if (value > 0.0f && value < tcu::Float32::construct(+1, -14, 1u<<23).asFloat()) 250 if (value < 0.0f && value > tcu::Float32::construct(-1, -14, 1u<<23).asFloat()) [all...] |
/external/jsoncpp/include/json/ |
value.h | 272 float asFloat() const;
|
/external/deqp/modules/gles2/functional/ |
es2fVertexTextureTests.cpp | 605 const float lod = calculateLod(rend.texCoordScale, rend.region.size().asFloat(), rend.textureNdx); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
vktSpvAsmGraphicsShaderTestUtil.cpp | [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiImageClearingTests.cpp | 298 float floatThreshold = Float32((deUint32)threshold).asFloat(); 438 float floatThreshold = Float32((deUint32)(threshold)[0]).asFloat(); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktDrawShaderLayerTests.cpp | 732 Vec4 cell = grid[i/6].asFloat() * 2.0f; [all...] |