Home
last modified time | relevance | path

Searched refs:deFloatFrac (Results 1 – 21 of 21) sorted by relevance

/third_party/vk-gl-cts/framework/common/
DtcuTexture.cpp235 float q = deFloatFrac(f); in convertSatRte()
1747 float fracVal = deFloatFrac(a); in rint()
1967 float a = deFloatFrac(u-0.5f); in sampleLinear1D()
2005 float a = deFloatFrac(u - 0.5f); in sampleCubic1D()
2033 float a = deFloatFrac(u-0.5f); in sampleLinear2D()
2034 float b = deFloatFrac(v-0.5f); in sampleLinear2D()
2088 float a = deFloatFrac(u - 0.5f); in sampleCubic2D()
2089 float b = deFloatFrac(v - 0.5f); in sampleCubic2D()
2115 float a = deFloatFrac(u-0.5f); in sampleLinear1DCompare()
2147 float a = deFloatFrac(u-0.5f); in sampleLinear2DCompare()
[all …]
DtcuFuzzyImageCompare.cpp139 float a = deFloatFrac(u-0.5f); in bilinearSample()
140 float b = deFloatFrac(v-0.5f); in bilinearSample()
DtcuVectorUtil.hpp115 float q = deFloatFrac(a); in roundToEven()
482 TCU_DECLARE_VECTOR_UNARY_FUNC(fract, deFloatFrac)
DtcuRasterizationVerifier.cpp1361 …DE_ASSERT(deFloatFrac(scene.lineWidth) != 0.5f); // rounding direction is not defined, disallow un… in verifySinglesampleLineGroupRasterization()
2048 …DE_ASSERT(deFloatFrac(scene.lineWidth) != 0.5f); // rounding direction is not defined, disallow un… in verifySinglesampleWideLineGroupInterpolation()
/third_party/vk-gl-cts/framework/randomshaders/
DrsgProgramExecutor.cpp200 return tcu::Vec2(deFloatFrac(gx), deFloatFrac(gy)); in computeGridCellWeights()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderConstExprTests.cpp110 …{"fract", "fract(${T} (17.75))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatFrac(17.… in init()
Des2fTextureUnitTests.cpp440 …if (de::abs(lodMax) < threshold || (lodMax > 0.0f && de::abs(deFloatFrac(lodMax) - 0.5f) < thresho… in makeSafeLods()
441 …de::abs(lodMin) < threshold || (lodMin > 0.0f && de::abs(deFloatFrac(lodMin) - 0.5f) < threshold) … in makeSafeLods()
Des2fVertexTextureTests.cpp91 …return deFloatFloor(y) + deFloatFrac(y)*(1.0f-strictness) + strictness*0.5f - 0.5f + targetFractio… in moveTowardsFraction()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp561 const float q = deFloatFrac(v); in roundEven()
1304 if (deFloatFrac(in0) == 0.5f) in compare()
1537 const float ref = deFloatFrac(in0); in compare()
1560 const float ref = deFloatFrac(in0); in compare()
Des3fShaderConstExprTests.cpp122 …{"fract", "fract(${T} (17.75))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatFrac(17.… in init()
Des3fTextureUnitTests.cpp596 …if (de::abs(lodMax) < threshold || (lodMax > 0.0f && de::abs(deFloatFrac(lodMax) - 0.5f) < thresho… in makeSafeLods()
597 …de::abs(lodMin) < threshold || (lodMin > 0.0f && de::abs(deFloatFrac(lodMin) - 0.5f) < threshold) … in makeSafeLods()
Des3fVertexTextureTests.cpp108 …return deFloatFloor(y) + deFloatFrac(y)*(1.0f-strictness) + strictness*0.5f - 0.5f + targetFractio… in moveTowardsFraction()
/third_party/vk-gl-cts/framework/delibs/debase/
DdeMath.h168 DE_INLINE float deFloatFrac (float a) { return a - deFloatFloor(a); } in deFloatFrac() function
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp636 const float q = deFloatFrac(v); in roundEven()
1384 if (deFloatFrac(in0) == 0.5f) in compare()
1617 const float ref = deFloatFrac(in0); in compare()
1640 const float ref = deFloatFrac(in0); in compare()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp1177 if (deFloatFrac(range[1]) == 0.5f) in BaseLineTestInstance()
2426 if (deFloatFrac(n) != 0.0f || n * lineWidthGranularity + lineWidthRange[0] != testLineWidth) in checkSupport()
2452 if (deFloatFrac(n) != 0.0f || n * pointSizeGranularity + pointSizeRange[0] != testPointSize) in checkSupport()
2803 const float r = deFloatFrac(float(multiplierInt) * deFloatAbs(coord)) * float(multiplierFrac); in generateDegenerateTriangles()
3579 const float r = deFloatFrac(float(multiplierInt) * deFloatAbs(coord)) * float(multiplierFrac); in generateDegenerateLines()
4071 …const int renderStart = int(deFloatFloor(pointEdgeStart)) + int((deFloatFrac(pointEdgeStart) > … in generatePoints()
4072 …const int renderEnd = int(deFloatCeil(pointEdgeEnd)) + int((deFloatFrac(pointEdgeEnd) > 0.0f) ?… in generatePoints()
4088 const float pointCenterOffset = (pointSize + 1.0f + deFloatFrac(pointSize)) / 2.0f; in generatePoints()
4123 const float pointCenterOffset = (pointSize + deFloatFrac(pointSize)) / 2.0f; in generatePoints()
/third_party/vk-gl-cts/modules/gles2/stress/
Des2sSpecialFloatTests.cpp311 const float texGradientPosX = deFloatFrac((float)x * 2.0f / (float)TEST_CANVAS_SIZE); in drawTestPattern()
312 const float texGradientPosY = deFloatFrac((float)y * 2.0f / (float)TEST_CANVAS_SIZE); in drawTestPattern()
/third_party/vk-gl-cts/modules/gles3/stress/
Des3sSpecialFloatTests.cpp319 const float texGradientPosX = deFloatFrac((float)x * 2.0f / (float)TEST_CANVAS_SIZE); in drawTestPattern()
320 const float texGradientPosY = deFloatFrac((float)y * 2.0f / (float)TEST_CANVAS_SIZE); in drawTestPattern()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp1441 if (!(deFloatFrac(pixelData.x()) == 0.5f && deFloatFrac(pixelData.y()) == 0.5f)) in validateSampleLocations()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkRayTracingUtil.hpp131 float q = deFloatFrac(f); in convertSatRte()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp748 float q = deFloatFrac(f); in convertSatRte()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp17847 result[idx] = tcu::Float16(deFloatFrac(f)).bits(); in getInputDataA()