Home
last modified time | relevance | path

Searched refs:deFloatClamp (Results 1 - 14 of 14) sorted by relevance

/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fShaderBuiltinVarTests.cpp182 float zNear = deFloatClamp(m_params.zNear, 0.0f, 1.0f); in evaluate()
183 float zFar = deFloatClamp(m_params.zFar, 0.0f, 1.0f); in evaluate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineAttachmentFeedbackLoopLayoutTests.cpp1546 depth = deFloatClamp(depth, 0.0f, 1.0f); in verifyImage()
1692 color.x() = deFloatClamp(color.x(), 0.0f, 1.0f); in verifyImage()
1693 color.y() = deFloatClamp(color.y(), 0.0f, 1.0f); in verifyImage()
1694 color.z() = deFloatClamp(color.z(), 0.0f, 1.0f); in verifyImage()
1695 color.w() = deFloatClamp(color.w(), 0.0f, 1.0f); in verifyImage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineAttachmentFeedbackLoopLayoutTests.cpp1386 depth = deFloatClamp(depth, 0.0f, 1.0f); in verifyImage()
1532 color.x() = deFloatClamp(color.x(), 0.0f, 1.0f); in verifyImage()
1533 color.y() = deFloatClamp(color.y(), 0.0f, 1.0f); in verifyImage()
1534 color.z() = deFloatClamp(color.z(), 0.0f, 1.0f); in verifyImage()
1535 color.w() = deFloatClamp(color.w(), 0.0f, 1.0f); in verifyImage()
/third_party/vk-gl-cts/framework/delibs/debase/
H A DdeMath.h154 DE_INLINE float deFloatClamp (float x, float mn, float mx) { return (x <= mn) ? mn : ((x >= mx) ? mx : x); } in deFloatClamp() function
/third_party/vk-gl-cts/framework/common/
H A DtcuTextureUtil.cpp1082 float p = deFloatClamp(deFloatSqrt(a*a + b*b), 0.0f, 1.0f);
1344 float rc = deFloatClamp(color[0], 0.0f, maxVal);
1345 float gc = deFloatClamp(color[1], 0.0f, maxVal);
1346 float bc = deFloatClamp(color[2], 0.0f, maxVal);
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcShaderRenderCase.cpp777 float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f); in computeVertexReference()
778 float fy1 = deFloatClamp((sfy - sy0) * oosy, 0.0f, 1.0f); in computeVertexReference()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fShaderBuiltinVarTests.cpp191 float zNear = deFloatClamp(m_params.zNear, 0.0f, 1.0f); in evaluate()
192 float zFar = deFloatClamp(m_params.zFar, 0.0f, 1.0f); in evaluate()
/third_party/vk-gl-cts/modules/glshared/
H A DglsShaderRenderCase.cpp705 float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f); in computeVertexReference()
706 float fy1 = deFloatClamp((sfy - sy0) * oosy, 0.0f, 1.0f); in computeVertexReference()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRender.cpp2457 const float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f);
2458 const float fy1 = deFloatClamp((sfy - sy0) * oosy, 0.0f, 1.0f);
H A DvktShaderRenderTextureFunctionTests.cpp2874 computedLod = deFloatClamp(computedLod, 0.0f, (float)maxAccessibleLevel);
2885 return deFloatClamp(deFloatCeil(computedLod + 0.5f) - 1.0f, 0.0f, (float)maxAccessibleLevel);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRender.cpp2459 const float fx1 = deFloatClamp((sfx - sx0) * oosx, 0.0f, 1.0f);
2460 const float fy1 = deFloatClamp((sfy - sy0) * oosy, 0.0f, 1.0f);
H A DvktShaderRenderTextureFunctionTests.cpp2873 computedLod = deFloatClamp(computedLod, 0.0f, (float)maxAccessibleLevel);
2884 return deFloatClamp(deFloatCeil(computedLod + 0.5f) - 1.0f, 0.0f, (float)maxAccessibleLevel);
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl3cTextureSizePromotion.cpp934 deFloatClamp(s_source_texture_data_sn[channel], 0, 1); in checkDestinationTexture()
/third_party/vk-gl-cts/framework/randomshaders/
H A DrsgExpression.cpp380 const float value = deFloatClamp(minVal + step*(float)state.getRandom().getInt(0, numSteps), minVal, maxVal); in FloatLiteral()

Completed in 48 milliseconds