| /third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
| H A D | vkRayTracingUtil.hpp | 162 return de::clamp<T>(intVal, -range, range); in deFloat32ToSNorm()
|
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
| H A D | vktWsiPresentIdWaitTests.cpp | 283 de::clamp(desiredImageCount, capabilities.minImageCount, capabilities.maxImageCount > 0 ? capabilities.maxImageCount : capabilities.minImageCount + desiredImageCount), in getBasicSwapchainParameters()
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/ |
| H A D | Context_gl_4_autogen.h | 356 void polygonOffsetClamp(GLfloat factor, GLfloat units, GLfloat clamp); \
|
| H A D | GLES1Renderer.cpp | 511 float zNdc = 2.0f * clamp(z, 0.0f, 1.0f) - 1.0f; in drawTexture()
|
| H A D | Context_gl.cpp | 363 void Context::clampColor(GLenum target, GLenum clamp) in clampColor() argument 3710 void Context::polygonOffsetClamp(GLfloat factor, GLfloat units, GLfloat clamp) in polygonOffsetClamp() argument
|
| /third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
| H A D | PixelProcessor.cpp | 945 routineCache = new RoutineCache<State>(clamp(cacheSize, 1, 65536)); in setRoutineCacheSize()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Disassembler/ |
| H A D | AMDGPUDisassembler.cpp | 426 // VOPC - insert clamp in convertSDWAInst() 427 insertNamedMCOperand(MI, MCOperand::createImm(0), AMDGPU::OpName::clamp); in convertSDWAInst()
|
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/ |
| H A D | vktWsiPresentIdWaitTests.cpp | 283 de::clamp(desiredImageCount, capabilities.minImageCount, capabilities.maxImageCount > 0 ? capabilities.maxImageCount : capabilities.minImageCount + desiredImageCount), in getBasicSwapchainParameters()
|
| /third_party/vk-gl-cts/modules/gles2/functional/ |
| H A D | es2fTextureFilteringTests.cpp | 229 const int texNdx = de::clamp(cases[caseNdx].texNdx, 0, (int)m_textures.size()-1); in init() 632 { "clamp", GL_CLAMP_TO_EDGE }, in init()
|
| /third_party/mesa3d/src/amd/compiler/ |
| H A D | aco_instruction_selection.cpp | 994 emit_idot_instruction(isel_context* ctx, nir_alu_instr* instr, aco_opcode op, Temp dst, bool clamp) 1008 bld.vop3p(op, Definition(dst), src[0], src[1], src[2], 0x0, 0x7).instr->vop3p().clamp = clamp; 1352 add.instr->vop3().clamp = 1; 1371 sub.instr->vop3().clamp = 1; 1897 add_instr->vop3p().clamp = 1; 1918 add_instr->vop3().clamp = 1; 1960 .clamp = 1; 1980 add_instr->vop3p().clamp = 1; 2001 add_instr->vop3().clamp [all...] |
| H A D | aco_validate.cpp | 163 check(sdwa.clamp == false || program->gfx_level == GFX8, in validate_ir() 164 "SDWA VOPC clamp only supported on GFX8", instr.get()); in validate_ir()
|
| /third_party/skia/third_party/externals/swiftshader/src/Shader/ |
| H A D | ShaderCore.cpp | 280 static RValue<Float4> clamp(const Float4 &x, const Float4 &min, const Float4 &max) in clamp() function 321 sin = clamp(sin, Float4(-1.0f), Float4(1.0f)); in sine() 333 cos = clamp(cos, Float4(-1.0f), Float4(1.0f)); in cosine() 1283 // round(clamp(c, -1.0, 1.0) * 32767.0) in packSnorm2x16() 1290 // round(clamp(c, 0.0, 1.0) * 65535.0) in packUnorm2x16() 1297 // clamp(f / 32727.0, -1.0, 1.0) in unpackSnorm2x16()
|
| /third_party/vk-gl-cts/external/openglcts/modules/gl/ |
| H A D | gl3cTextureSwizzleTests.cpp | 1765 stor_output_low = de::clamp(stor_output_low, range_low, range_top); in calculate_expected_value() 1766 stor_output_top = de::clamp(stor_output_top, range_low, range_top); in calculate_expected_value()
|
| /third_party/vk-gl-cts/modules/gles3/functional/ |
| H A D | es3fIntegerStateQueryTests.cpp | 1179 de::clamp(x, deFloorFloatToInt32(viewportBoundsRange[0]), deFloorFloatToInt32(viewportBoundsRange[1])), in test() 1180 de::clamp(y, deFloorFloatToInt32(viewportBoundsRange[0]), deFloorFloatToInt32(viewportBoundsRange[1])), in test()
|
| /third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
| H A D | SymbolTable_ESSL_autogen.cpp | 1919 constexpr const ImmutableString clamp("clamp"); 5642 BuiltInName::clamp, 5651 BuiltInName::clamp, 5660 BuiltInName::clamp, 5669 BuiltInName::clamp, 5678 BuiltInName::clamp, 5687 BuiltInName::clamp, 5696 BuiltInName::clamp, 5704 BuiltInName::clamp, [all...] |
| H A D | SymbolTable_autogen.cpp | 3079 constexpr const ImmutableString clamp("clamp"); 7749 BuiltInName::clamp, 7758 BuiltInName::clamp, 7767 BuiltInName::clamp, 7776 BuiltInName::clamp, 7785 BuiltInName::clamp, 7794 BuiltInName::clamp, 7803 BuiltInName::clamp, 7812 BuiltInName::clamp, [all...] |
| /third_party/skia/third_party/externals/angle2/src/libGL/ |
| H A D | libGL_autogen.cpp | 3089 void GL_APIENTRY glClampColor(GLenum target, GLenum clamp) in glClampColor() argument 3091 return GL_ClampColor(target, clamp); in glClampColor() 6330 void GL_APIENTRY glPolygonOffsetClamp(GLfloat factor, GLfloat units, GLfloat clamp) in glPolygonOffsetClamp() argument 6332 return GL_PolygonOffsetClamp(factor, units, clamp); in glPolygonOffsetClamp()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/ |
| H A D | AMDGPUAsmParser.cpp | 1538 // Only plain immediates are inlinable (e.g. "clamp" attribute is not) in isInlinableImm() 2933 int ClampIdx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::clamp); in validateIntClampSupported() 6094 {"clamp", AMDGPUOperand::ImmTyClampSI, true, nullptr}, 6264 if (AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::clamp) != -1) { 6309 if (AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::clamp) != -1) { 6944 if (AMDGPU::getNamedOperandIdx(Inst.getOpcode(), AMDGPU::OpName::clamp) != -1)
|
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
| H A D | vktPipelineExtendedDynamicStateTests.cpp | 768 float clamp; member 2107 // Returns true if the test needs the depth bias clamp feature. 2110 return (getActiveDepthBiasParams().clamp != 0.0f); in needsDepthBiasClampFeature() 2565 // Check depth bias clamp feature. in checkSupport() 2567 TCU_THROW(NotSupportedError, "Depth bias clamp not supported"); in checkSupport() 3303 vkd.cmdSetDepthBias(cmdBuffer, bias.constantFactor, bias.clamp, 0.0f); in setDynamicStates() 4468 m_testConfig.depthBiasConfig.staticValue.clamp, // float depthBiasClamp; in iterate() 6040 // Depth clamp enable. in createExtendedDynamicStateTests() 6057 orderingGroup->addChild(new ExtendedDynamicStateTest(testCtx, "depth_clamp_enable", "Dynamically enable depth clamp", config)); in createExtendedDynamicStateTests() 6075 orderingGroup->addChild(new ExtendedDynamicStateTest(testCtx, "depth_clamp_disable", "Dynamically disable depth clamp", confi in createExtendedDynamicStateTests() [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
| H A D | vktPipelineExtendedDynamicStateTests.cpp | 1114 float clamp; member 2608 // Returns true if the test needs the depth bias clamp feature. 2611 return (getActiveDepthBiasParams().clamp != 0.0f); in needsDepthBiasClampFeature() 3112 // Check depth bias clamp feature. in checkSupport() 3114 TCU_THROW(NotSupportedError, "Depth bias clamp not supported"); in checkSupport() 3990 depthBiasInfo.depthBiasClamp = bias.clamp; in setDynamicStates() 3997 vkd.cmdSetDepthBias(cmdBuffer, bias.constantFactor, bias.clamp, 0.0f); in setDynamicStates() 5316 m_testConfig.depthBiasConfig.staticValue.clamp, // float depthBiasClamp; in iterate() 7452 // Depth clamp enable. in createExtendedDynamicStateTests() 7469 // Dynamically enable depth clamp in createExtendedDynamicStateTests() [all...] |
| /third_party/astc-encoder/Source/ |
| H A D | astcenc_ideal_endpoints_and_weights.cpp | 1025 step = clamp(-stepsize, stepsize, step);
|
| /third_party/mesa3d/src/imagination/vulkan/ |
| H A D | pvr_pipeline.c | 1783 internal_dynamic_state->depth_bias.clamp = in pvr_graphics_pipeline_init_dynamic_state()
|
| /third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
| H A D | sfn_assembler.cpp | 289 alu.dst.clamp = ai.has_alu_flag(alu_dst_clamp); in emit_alu_op()
|
| /third_party/mesa3d/src/gallium/drivers/asahi/ |
| H A D | agx_state.c | 721 cfg.clamp = rast->offset_clamp; in agx_upload_depth_bias()
|
| /third_party/mesa3d/src/panfrost/bifrost/ |
| H A D | bi_schedule.c | 552 /* +FADD.v2f16 lacks clamp modifier, use *FADD.v2f16 instead */ in bi_can_add() 553 if (ins->op == BI_OPCODE_FADD_V2F16 && ins->clamp) in bi_can_add()
|