| /third_party/mesa3d/src/imgui/ |
| H A D | imgui_internal.h | 1501 IMGUI_API void ShadeVertsLinearUV(ImDrawList* draw_list, int vert_start_idx, int vert_end_idx, const ImVec2& a, const ImVec2& b, const ImVec2& uv_a, const ImVec2& uv_b, bool clamp);
|
| H A D | imgui_draw.cpp | 1329 void ImGui::ShadeVertsLinearUV(ImDrawList* draw_list, int vert_start_idx, int vert_end_idx, const ImVec2& a, const ImVec2& b, const ImVec2& uv_a, const ImVec2& uv_b, bool clamp) in ShadeVertsLinearUV() argument 1339 if (clamp) in ShadeVertsLinearUV()
|
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
| H A D | vktPipelineImageSamplingInstance.cpp | 1507 const float referenceLod = de::clamp(m_samplerParams.mipLodBias + m_samplerLod, m_samplerParams.minLod, m_samplerParams.maxLod); in verifyImage()
|
| /third_party/skia/third_party/externals/angle2/src/libGL/ |
| H A D | entry_points_gl_4_autogen.h | 1157 ANGLE_EXPORT void GL_APIENTRY GL_PolygonOffsetClamp(GLfloat factor, GLfloat units, GLfloat clamp);
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/ |
| H A D | validationGL4.cpp | 2207 GLfloat clamp) in ValidatePolygonOffsetClamp() 2203 ValidatePolygonOffsetClamp(const Context *context, angle::EntryPoint entryPoint, GLfloat factor, GLfloat units, GLfloat clamp) ValidatePolygonOffsetClamp() argument
|
| H A D | validationGL4_autogen.h | 1365 GLfloat clamp);
|
| /third_party/python/Modules/_decimal/libmpdec/ |
| H A D | mpdecimal.h | 250 int clamp; /* clamp mode */ member
|
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
| H A D | vktPipelineImageSamplingInstance.cpp | 1501 const float referenceLod = de::clamp(m_samplerParams.mipLodBias + m_samplerLod, m_samplerParams.minLod, m_samplerParams.maxLod); in verifyImage()
|
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
| H A D | vktApiCopiesAndBlittingTests.cpp | 639 // The tcu::Vectors we use as pixels are 32-bit, so clamp to that. in generateBuffer() 3863 const int clampedBits = de::clamp<int>(srcBits, 0, 32); in calculateFloatConversionError() 3867 return de::clamp<float>(error, 0.0f, 1.0f); in calculateFloatConversionError() 4098 deUint64 threshold64 = 1 + de::max( ( ( UINT64_C(1) << dstBitDepth[i] ) - 1 ) / de::clamp((UINT64_C(1) << srcBitDepth[i]) - 1, UINT64_C(1), UINT64_C(256)), UINT64_C(1)); in checkNonNearestFilteredResult() 4159 // we need to clamp some formats to <0;1> range as it has 4187 resultTexel = tcu::clamp(resultTexel, filteredResultMinValue, filteredResultMaxValue); 4188 clampedReferenceTexel = tcu::clamp(clampedReferenceTexel, filteredResultMinValue, filteredResultMaxValue); 4189 unclampedReferenceTexel = tcu::clamp(unclampedReferenceTexel, filteredResultMinValue, filteredResultMaxValue); 4513 // format we need to clamp source to <-1;1> range as this will be done on 4516 // for this format we also need to clamp th [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
| H A D | vktApiCopiesAndBlittingTests.cpp | 553 // The tcu::Vectors we use as pixels are 32-bit, so clamp to that. in generateBuffer() 3425 const int clampedBits = de::clamp<int>(srcBits, 0, 32); in calculateFloatConversionError() 3429 return de::clamp<float>(error, 0.0f, 1.0f); in calculateFloatConversionError() 3657 threshold[i] = 1 + de::max( ( ( 1 << dstBitDepth[i] ) - 1 ) / de::clamp((1 << srcBitDepth[i]) - 1, 1, 256), 1); in checkNonNearestFilteredResult() 3715 // we need to clamp some formats to <0;1> range as it has in checkCompressedNonNearestFilteredResult() 3743 resultTexel = tcu::clamp(resultTexel, filteredResultMinValue, filteredResultMaxValue); in checkCompressedNonNearestFilteredResult() 3744 clampedReferenceTexel = tcu::clamp(clampedReferenceTexel, filteredResultMinValue, filteredResultMaxValue); in checkCompressedNonNearestFilteredResult() 3745 unclampedReferenceTexel = tcu::clamp(unclampedReferenceTexel, filteredResultMinValue, filteredResultMaxValue); in checkCompressedNonNearestFilteredResult() 4069 // format we need to clamp source to <-1;1> range as this will be done on in checkCompressedNearestFilteredResult() 4072 // for this format we also need to clamp th in checkCompressedNearestFilteredResult() [all...] |
| /third_party/mesa3d/src/freedreno/vulkan/ |
| H A D | tu_pipeline.c | 2115 float clamp, in tu6_emit_depth_bias() 2121 tu_cs_emit(cs, A6XX_GRAS_SU_POLY_OFFSET_OFFSET_CLAMP(clamp).value); in tu6_emit_depth_bias() 2113 tu6_emit_depth_bias(struct tu_cs *cs, float constant_factor, float clamp, float slope_factor) tu6_emit_depth_bias() argument
|
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
| H A D | vktSpvAsmTypeTests.cpp | 3960 MAKE_TEST_SV_I_8136("clamp", GLSLstd450SClamp, clamp, FILTER_MIN_GT_MAX, RANGE_FULL, "GLSL.std.450") 3961 MAKE_TEST_SV_U_8136("clamp", GLSLstd450UClamp, clamp, FILTER_MIN_GT_MAX, RANGE_FULL, "GLSL.std.450")
|
| /third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
| H A D | SamplerCore.cpp | 90 // Add SPIR-V Bias operand to the sampler provided bias and clamp to maxSamplerLodBias limit. in sampleTexture() 2037 // D16_UNORM: clamp reference, normalize texel value in sampleTexel() 2192 Float4 clamp = Min(Max(uw, Float4(0.0f)), Float4(65535.0f / 65536.0f)); in address() local 2194 return Short4(Int4(clamp * Float4(1 << 16))); in address() 2335 // range normalization for Inf and NaN values. So we always clamp. in address()
|
| /third_party/skia/third_party/externals/swiftshader/src/Shader/ |
| H A D | SamplerCore.cpp | 2308 Float4 clamp = Min(Max(uw, Float4(0.0f)), Float4(65535.0f / 65536.0f)); in address() local 2310 return Short4(Int4(clamp * Float4(1 << 16))); in address() 2385 // values. So we always clamp. in address()
|
| /third_party/skia/third_party/externals/imgui/ |
| H A D | imgui_draw.cpp | 1490 // Explicit segment count (still clamp to avoid drawing insanely tessellated shapes) in AddCircle() 1514 // Explicit segment count (still clamp to avoid drawing insanely tessellated shapes) in AddCircleFilled() 1877 void ImGui::ShadeVertsLinearUV(ImDrawList* draw_list, int vert_start_idx, int vert_end_idx, const ImVec2& a, const ImVec2& b, const ImVec2& uv_a, const ImVec2& uv_b, bool clamp) in ShadeVertsLinearUV() argument 1887 if (clamp) in ShadeVertsLinearUV()
|
| /third_party/vk-gl-cts/modules/glshared/ |
| H A D | glsBuiltinPrecisionTests.cpp | 3414 string getName (void) const { return "clamp"; } in getName() 3453 ExprP<float> clamp(const ExprP<float>& x, const ExprP<float>& minVal, const ExprP<float>& maxVal) in clamp() function 3483 const ExprP<float> tExpr = clamp((x - edge0) / (edge1 - edge0), in doExpand()
|
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
| H A D | vktSpvAsmTypeTests.cpp | 3962 MAKE_TEST_SV_I_8136("clamp", GLSLstd450SClamp, clamp, FILTER_MIN_GT_MAX, RANGE_FULL, "GLSL.std.450") 3963 MAKE_TEST_SV_U_8136("clamp", GLSLstd450UClamp, clamp, FILTER_MIN_GT_MAX, RANGE_FULL, "GLSL.std.450")
|
| /third_party/vk-gl-cts/external/openglcts/modules/gl/ |
| H A D | gl4cGPUShaderFP64Tests.cpp | 12142 static T clamp(T x, T minVal, T maxVal); 12261 static T clamp(T x, T minVal, T maxVal) in clamp() function 12765 * - clamp(); 13929 return new FunctionObject::tenaryByComponent(function, "clamp", Math::clamp, variable_type /* res_type */, in getFunctionObject() 13935 return new FunctionObject::tenaryByComponent(function, "clamp", Math::clamp, variable_type /* res_type */, in getFunctionObject() 15456 { "clamp", FUNCTION_CLAMP }, in init()
|
| /third_party/mesa3d/src/gallium/drivers/zink/ |
| H A D | zink_context.c | 798 /* clamp out partial texels */ in create_bvci() 803 uint64_t clamp = blocksize * screen->info.props.limits.maxTexelBufferElements; in create_bvci() local 804 if (bvci.range == VK_WHOLE_SIZE && res->base.b.width0 > clamp) in create_bvci() 805 bvci.range = clamp; in create_bvci()
|
| /third_party/skia/src/opts/ |
| H A D | SkRasterPipeline_opts.h | 1247 // clamp v to [0,limit). 1248 SI F clamp(F v, F limit) { 1256 x = clamp(x, ctx->width); 1257 y = clamp(y, ctx->height); 1267 // [0,1] float may be out of [0,1] range. Unorms cannot represent that, so we must clamp. 1419 BLEND_MODE(plus_) { return min(s + d, 1.0f); } // We can clamp to either 1 or sa. 1697 // Even repeat and mirror funnel through a clamp to handle bad inputs like +Inf, NaN. 2312 // The gather stages will hard clamp the output of these stages to [0,limit)... 2709 // The ix_and_ptr() calls in sample() will clamp tile()'s output, so no need to clamp her [all...] |
| /third_party/vk-gl-cts/modules/gles3/performance/ |
| H A D | es3pBufferDataUploadTests.cpp | 1016 return de::clamp(1.0f - errorAreaRatio, 0.0f, 1.0f); in calculateSampleFitLinearity() 1052 return de::clamp(1.0f - errorAreaRatio, 0.0f, 1.0f); in calculateSampleTemporalStability() 1086 const int bucketNdx = de::clamp((int)deFloatFloor(bucketNdxFloat), 0, numBuckets-1); in bucketizeSamplesUniformly()
|
| /third_party/mesa3d/src/amd/vulkan/ |
| H A D | radv_private.h | 1251 float clamp;
|
| /third_party/mesa3d/src/microsoft/vulkan/ |
| H A D | dzn_pipeline.c | 1827 rast->DepthBiasClamp = masked_key.depth_bias.clamp; in dzn_graphics_pipeline_get_state()
|
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
| H A D | vktImageMutableTests.cpp | 2033 de::clamp(desiredImageCount, capabilities.minImageCount, capabilities.maxImageCount > 0 ? capabilities.maxImageCount : capabilities.minImageCount + desiredImageCount), // deUint32 minImageCount; in makeSwapchain()
|
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
| H A D | vktTextureFilteringTests.cpp | 308 const int texNdx = de::clamp(cases[caseNdx].texNdx, 0, (int)m_textures.size()-1); in Texture2DFilteringTestInstance()
|