Home
last modified time | relevance | path

Searched refs:clamp (Results 201 - 225 of 371) sorted by relevance

12345678910>>...15

/third_party/mesa3d/src/compiler/glsl/
H A Dir.h1874 * | | | Lod clamp
1895 shadow_comparator(NULL), offset(NULL), clamp(NULL), in ir_texture()
1957 /** Lod clamp. */
1958 ir_rvalue *clamp; member in ir_texture
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_cs.c688 cfg.depth_bias_clamp = state->rast.depth_bias.clamp; in emit_dyn_fs_rsd()
767 cfg.depth_bias_clamp = pipeline->rast.depth_bias.clamp; in emit_base_fs_rsd()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_emit.c714 bool clamp = !ctx->rasterizer->depth_clip_near; in fd4_emit_state() local
718 COND(clamp, A4XX_RB_DEPTH_CONTROL_Z_CLAMP_ENABLE) | in fd4_emit_state()
/third_party/python/Modules/_decimal/libmpdec/
H A Dio.c234 /* prec >= 1, clamp is 0 or 1 */ in mpd_qset_string()
235 if (digits > (size_t)(ctx->prec-ctx->clamp)) in mpd_qset_string()
250 if (digits > (size_t)(ctx->prec-ctx->clamp)) in mpd_qset_string()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fFloatStateQueryTests.cpp62 return (GLint)de::clamp<GLint64>(val, std::numeric_limits<GLint>::min(), std::numeric_limits<GLint>::max()); in clampToGLint()
950 m_verifier->verifyFloat(m_testCtx, GL_SAMPLE_COVERAGE_VALUE, de::clamp(clampTests[ndx], 0.0f, 1.0f)); in test()
H A Des2fDepthStencilClearTests.cpp431 rowAccess.setPixDepth(de::clamp(clear->clearDepth, 0.0f, 1.0f), x, 0); in renderReference()
H A Des2fRandomFragmentOpTests.cpp125 dst.blendColor = tcu::clamp(src.blendColor, Vec4(0.0f), Vec4(1.0f)); in translateState()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationInternallySynchronizedObjectsTests.cpp77 using de::clamp;
773 const deUint32 numThreads = clamp(deGetNumAvailableLogicalCores(), 4u, 32u); in iterate()
902 const deUint32 numThreads = clamp(deGetNumAvailableLogicalCores(), 4u, 32u); in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DBlit11.cpp75 gl::clamp(sourceArea.y + floor(yPerc * srcHeightSubOne + 0.5f), 0, srcHeightSubOne)); in StretchedBlitNearest_RowByRow()
108 static_cast<unsigned int>(gl::clamp(sourceArea.y + yRounded, 0, sourceSize.height - 1)); in StretchedBlitNearest_PixelByPixel()
117 gl::clamp(sourceArea.x + xRounded, 0, sourceSize.width - 1)); in StretchedBlitNearest_PixelByPixel()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DR600InstrInfo.cpp1297 OPERAND_CASE(R600::OpName::clamp)
1338 R600::OpName::clamp,
1412 FlagIndex = getOperandIdx(MI, R600::OpName::clamp);
H A DGCNDPPCombine.cpp499 !hasNoImmOrEqual(OrigMI, AMDGPU::OpName::clamp, 0) || in combineDPPMov()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fShaderCommonFunctionTests.cpp602 const float v = de::clamp(float(ndx) - 10.5f, ranges[precision].x(), ranges[precision].y()); in getInputValues()
1273 const float v = de::clamp(float(ndx) - 5.5f, ranges[precision].x(), ranges[precision].y()); in getInputValues()
1506 const float v = de::clamp(float(ndx) - 5.5f, ranges[precision].x(), ranges[precision].y()); in getInputValues()
1643 // clamp in init()
H A Des3fRandomFragmentOpTests.cpp125 dst.blendColor = tcu::clamp(src.blendColor, Vec4(0.0f), Vec4(1.0f)); in translateState()
H A Des3fDepthStencilClearTests.cpp434 rowAccess.setPixDepth(de::clamp(clear->clearDepth, 0.0f, 1.0f), x, 0); in renderReference()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fShaderFramebufferFetchTests.cpp412 << " o_color = clamp(o_color + u_color, " << vecType << minStr << ", " << vecType << maxStr << ");\n" in genShaderSources()
612 tcu::clear(reference.getAccess(), tcu::clamp(fbColor.asUint() + uniformColor.asUint(), formatMinValue.asUint(), formatMaxValue.asUint())); in genReferenceTexture()
628 const tcu::Vec4 fragmentColor = tcu::clamp(tcu::sRGBToLinear(fbColor) + uniformColor, formatMinValue, formatMaxValue); in genReferenceTexture()
633 tcu::clear(reference.getAccess(), tcu::clamp(fbColor + uniformColor, formatMinValue, formatMaxValue)); in genReferenceTexture()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationInternallySynchronizedObjectsTests.cpp77 using de::clamp;
773 const deUint32 numThreads = clamp(deGetNumAvailableLogicalCores(), 4u, 32u); in iterate()
902 const deUint32 numThreads = clamp(deGetNumAvailableLogicalCores(), 4u, 32u); in iterate()
/third_party/decimal.js/
H A Ddecimal.js135 * clampedTo clamp
225 P.clampedTo = P.clamp = function (min, max) {
3951 * clamp
4179 function clamp(x, min, max) { function
4180 return new this(x).clamp(min, max);
4417 Decimal.clamp = clamp;
/third_party/mesa3d/src/amd/compiler/tests/
H A Dtest_optimizer_postRA.cpp334 //! v1: %res5:v[2] = v_add_f32 %tmp5:v[2], %b:v[1] clamp
338 res5.instr->vop3().clamp = true;
/third_party/mesa3d/src/gallium/frontends/osmesa/
H A Dosmesa.c1023 extern void GLAPIENTRY _mesa_ClampColor(GLenum target, GLenum clamp); in OSMesaColorClamp()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
H A DvktWsiFullScreenExclusiveTests.cpp277 de::clamp(desiredImageCount, capabilities.minImageCount, capabilities.maxImageCount > 0 ? capabilities.maxImageCount : capabilities.minImageCount + desiredImageCount), in getBasicSwapchainParameters()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cSampleShadingTests.cpp426 int expectedUnique = WIDTH * HEIGHT * (de::clamp(int(float(samples) * m_sampleShading), 1, samples)); in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
H A Dmtl_command_buffer.h337 RenderCommandEncoder &setDepthBias(float depthBias, float slopeScale, float clamp);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/
H A DvktWsiFullScreenExclusiveTests.cpp277 de::clamp(desiredImageCount, capabilities.minImageCount, capabilities.maxImageCount > 0 ? capabilities.maxImageCount : capabilities.minImageCount + desiredImageCount), in getBasicSwapchainParameters()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderOperatorTests.cpp45 using de::clamp;
101 res[i] = clamp(v[i], s0, s1); in clampVecScalarScalar()
1115 DECLARE_TERNARY_INT_GENTYPE_FUNCS(clamp)
1117 DECLARE_TERNARY_UINT_GENTYPE_FUNCS(clamp)
1599 << BuiltinFuncInfo("clamp", "clamp", IGT,Value(IGT, -4.0f, 4.0f), Value(IGT, -2.0f, 2.0f), Value(IGT, 2.0f, 4.0f), 0.125f, 0.5f, PRECMASK_ALL, INT_GENTYPE_FUNCS(clamp) ) in init()
1600 << BuiltinFuncInfo("clamp", "clamp", IGT,Value(IV, -4.0f, 4.0f), Value(I, -2.0f, 2.0f), Value(I, 2.0f, 4.0f), 0.125f, 0.5f, PRECMASK_ALL, INT_VEC_FUNCS(clampVecScalarScalar) ) in init()
1601 << BuiltinFuncInfo("clamp", "clam in init()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRenderOperatorTests.cpp45 using de::clamp;
101 res[i] = clamp(v[i], s0, s1); in clampVecScalarScalar()
1118 DECLARE_TERNARY_INT_GENTYPE_FUNCS(clamp)
1120 DECLARE_TERNARY_UINT_GENTYPE_FUNCS(clamp)
1602 << BuiltinFuncInfo("clamp", "clamp", IGT,Value(IGT, -4.0f, 4.0f), Value(IGT, -2.0f, 2.0f), Value(IGT, 2.0f, 4.0f), 0.125f, 0.5f, PRECMASK_ALL, INT_GENTYPE_FUNCS(clamp) ) in init()
1603 << BuiltinFuncInfo("clamp", "clamp", IGT,Value(IV, -4.0f, 4.0f), Value(I, -2.0f, 2.0f), Value(I, 2.0f, 4.0f), 0.125f, 0.5f, PRECMASK_ALL, INT_VEC_FUNCS(clampVecScalarScalar) ) in init()
1604 << BuiltinFuncInfo("clamp", "clam in init()
[all...]

Completed in 47 milliseconds

12345678910>>...15