/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureFunctionTests.cpp | 212 int depth; member 221 , depth (0) in TextureSpec() 237 , depth (depth_) in TextureSpec() 981 float layerStep = 1.0f / (float)m_textureSpec.depth; in initTexture() 982 float levelStep = isAutoLod ? 0.0f : 1.0f / (float)(de::max(1, m_textureSpec.numLevels-1)*m_textureSpec.depth); in initTexture() 988 texture2DArray = de::MovePtr<tcu::Texture2DArray>(new tcu::Texture2DArray(texFmt, m_textureSpec.width, m_textureSpec.height, m_textureSpec.depth)); in initTexture() 1021 int baseCellSize = de::min(de::min(m_textureSpec.width/2, m_textureSpec.height/2), m_textureSpec.depth/2); in initTexture() 1024 texture3D = de::MovePtr<tcu::Texture3D>(new tcu::Texture3D(texFmt, m_textureSpec.width, m_textureSpec.height, m_textureSpec.depth)); in initTexture() 1040 float dwdx = (m_lookupSpec.maxCoord[2]-m_lookupSpec.minCoord[2])*0.5f*proj*(float)m_textureSpec.depth / (float)viewportSize[0]; in initTexture() 1041 float dwdy = (m_lookupSpec.maxCoord[2]-m_lookupSpec.minCoord[2])*0.5f*proj*(float)m_textureSpec.depth / (floa in initTexture() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRenderTextureFunctionTests.cpp | 209 int depth; member 218 , depth (0) in TextureSpec() 234 , depth (depth_) in TextureSpec() 978 float layerStep = 1.0f / (float)m_textureSpec.depth; in initTexture() 979 float levelStep = isAutoLod ? 0.0f : 1.0f / (float)(de::max(1, m_textureSpec.numLevels-1)*m_textureSpec.depth); in initTexture() 985 texture2DArray = de::MovePtr<tcu::Texture2DArray>(new tcu::Texture2DArray(texFmt, m_textureSpec.width, m_textureSpec.height, m_textureSpec.depth)); in initTexture() 1018 int baseCellSize = de::min(de::min(m_textureSpec.width/2, m_textureSpec.height/2), m_textureSpec.depth/2); in initTexture() 1021 texture3D = de::MovePtr<tcu::Texture3D>(new tcu::Texture3D(texFmt, m_textureSpec.width, m_textureSpec.height, m_textureSpec.depth)); in initTexture() 1037 float dwdx = (m_lookupSpec.maxCoord[2]-m_lookupSpec.minCoord[2])*0.5f*proj*(float)m_textureSpec.depth / (float)viewportSize[0]; in initTexture() 1038 float dwdy = (m_lookupSpec.maxCoord[2]-m_lookupSpec.minCoord[2])*0.5f*proj*(float)m_textureSpec.depth / (floa in initTexture() [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_importer.cpp | 1519 { subImageDesc.width, subImageDesc.height, subImageDesc.depth } // imageExtent in ImportTexture() 1683 desc.depthShader.shader = dmShaderData.depth.shader; in SelectShaders() 1685 gltfMaterial.doubleSided ? dmShaderData.depth.gfxStateDoubleSided : dmShaderData.depth.gfxState; in SelectShaders() 2216 bufferCopy.imageOffset.depth = 0; in PrepareImageData() 2219 bufferCopy.imageExtent.depth = loadedImageDesc.depth; in PrepareImageData() 2265 1, // depth in CreateCubemapFromImages() 2571 dmShaderData_.depth);
|
/kernel/linux/linux-5.10/lib/zstd/ |
H A D | compress.c | 1897 void ZSTD_compressBlock_lazy_generic(ZSTD_CCtx *ctx, const void *src, size_t srcSize, const U32 searchMethod, const U32 depth) in ZSTD_compressBlock_lazy_generic() argument 1935 if (depth == 0) in ZSTD_compressBlock_lazy_generic() 1939 /* first search (depth 0) */ in ZSTD_compressBlock_lazy_generic() 1953 if (depth >= 1) in ZSTD_compressBlock_lazy_generic() 1975 if ((depth == 2) && (ip < ilimit)) { in ZSTD_compressBlock_lazy_generic() 2058 void ZSTD_compressBlock_lazy_extDict_generic(ZSTD_CCtx *ctx, const void *src, size_t srcSize, const U32 searchMethod, const U32 depth) in ZSTD_compressBlock_lazy_extDict_generic() argument 2104 if (depth == 0) in ZSTD_compressBlock_lazy_extDict_generic() 2109 /* first search (depth 0) */ in ZSTD_compressBlock_lazy_extDict_generic() 2123 if (depth >= 1) in ZSTD_compressBlock_lazy_extDict_generic() 2146 /* search match, depth in ZSTD_compressBlock_lazy_extDict_generic() [all...] |
/kernel/linux/linux-5.10/kernel/cgroup/ |
H A D | cgroup.c | 3555 int depth = READ_ONCE(cgrp->max_depth); in cgroup_max_depth_show() local 3557 if (depth == INT_MAX) in cgroup_max_depth_show() 3560 seq_printf(seq, "%d\n", depth); in cgroup_max_depth_show() 3570 int depth; in cgroup_max_depth_write() local 3574 depth = INT_MAX; in cgroup_max_depth_write() 3576 ret = kstrtoint(buf, 0, &depth); in cgroup_max_depth_write() 3581 if (depth < 0) in cgroup_max_depth_write() 3588 cgrp->max_depth = depth; in cgroup_max_depth_write() 4980 .name = "cgroup.max.depth",
|
/kernel/linux/linux-6.6/kernel/cgroup/ |
H A D | cgroup.c | 3573 int depth = READ_ONCE(cgrp->max_depth); in cgroup_max_depth_show() local 3575 if (depth == INT_MAX) in cgroup_max_depth_show() 3578 seq_printf(seq, "%d\n", depth); in cgroup_max_depth_show() 3588 int depth; in cgroup_max_depth_write() local 3592 depth = INT_MAX; in cgroup_max_depth_write() 3594 ret = kstrtoint(buf, 0, &depth); in cgroup_max_depth_write() 3599 if (depth < 0) in cgroup_max_depth_write() 3606 cgrp->max_depth = depth; in cgroup_max_depth_write() 5235 .name = "cgroup.max.depth",
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_tex_sample.c | 1495 const int depth = u_minify(texture->depth0, args->level); in img_filter_3d_nearest() local 1503 assert(depth > 0); in img_filter_3d_nearest() 1507 sp_samp->nearest_texcoord_p(args->p, depth, args->offset[2], &z); in img_filter_3d_nearest() 1881 const int depth = u_minify(texture->depth0, args->level); in img_filter_3d_linear() local 1893 assert(depth > 0); in img_filter_3d_linear() 1897 sp_samp->linear_texcoord_p(args->p, depth, args->offset[2], &z0, &z1, &zw); in img_filter_3d_linear() 2766 * Do shadow/depth comparisons. 2791 * When we sampled the depth texture, the depth value was put into all in sample_compare() 3376 const int depth in sp_get_texels() local [all...] |
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | nine_shader.c | 2321 /* Following code is for depth */ in DECL_SPECIAL() 2792 /* replace the depth for depth testing with the result */ in DECL_SPECIAL() 2882 /* we must replace the depth by r5.g == 0 ? 1.0f : r5.r/r5.g. in DECL_SPECIAL() 2893 /* replace the depth for depth testing with the result */ in DECL_SPECIAL() 3740 struct ureg_dst fog_factor, depth; in shader_add_ps_fog_stage() local 3748 depth = tx_scratch_scalar(tx); in shader_add_ps_fog_stage() 3750 ureg_RCP(ureg, depth, ureg_scalar(nine_get_position_input(tx), TGSI_SWIZZLE_W)); in shader_add_ps_fog_stage() 3751 ureg_MUL(ureg, depth, ureg_sr in shader_add_ps_fog_stage() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_llvm.c | 175 LP_CHECK_MEMBER_OFFSET(struct draw_jit_texture, depth, in create_jit_texture_type() 282 LP_CHECK_MEMBER_OFFSET(struct draw_jit_image, depth, in create_jit_image_type() 2493 uint32_t width, uint32_t height, uint32_t depth, in draw_llvm_set_mapped_texture() 2529 jit_tex->depth = depth; in draw_llvm_set_mapped_texture() 2547 uint32_t width, uint32_t height, uint32_t depth, in draw_llvm_set_mapped_image() 2580 jit_image->depth = depth; in draw_llvm_set_mapped_image() 2490 draw_llvm_set_mapped_texture(struct draw_context *draw, enum pipe_shader_type shader_stage, unsigned sview_idx, uint32_t width, uint32_t height, uint32_t depth, uint32_t first_level, uint32_t last_level, uint32_t num_samples, uint32_t sample_stride, const void *base_ptr, uint32_t row_stride[PIPE_MAX_TEXTURE_LEVELS], uint32_t img_stride[PIPE_MAX_TEXTURE_LEVELS], uint32_t mip_offsets[PIPE_MAX_TEXTURE_LEVELS]) draw_llvm_set_mapped_texture() argument 2544 draw_llvm_set_mapped_image(struct draw_context *draw, enum pipe_shader_type shader_stage, unsigned idx, uint32_t width, uint32_t height, uint32_t depth, const void *base_ptr, uint32_t row_stride, uint32_t img_stride, uint32_t num_samples, uint32_t sample_stride) draw_llvm_set_mapped_image() argument
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureMipmapTests.cpp | 695 const int numLevels = deLog2Floor32(de::max(de::max(testParameters.width, testParameters.height), testParameters.depth))+1; in Texture3DMipmapTestInstance() 697 m_texture = TestTexture3DSp(new pipeline::TestTexture3D(vk::mapVkFormat(m_testParameters.format), m_testParameters.width, m_testParameters.height, m_testParameters.depth)); in Texture3DMipmapTestInstance() 2615 const tcu::IVec3 iColorExtent (static_cast<int>(colorExtent.width), static_cast<int>(colorExtent.height), static_cast<int>(colorExtent.depth)); in iterate() 3051 const int depth; 3454 testParameters.depth = tex3DSizes[size].depth; 3484 testParameters.depth = tex3DSizes[0].depth;
|
/third_party/skia/third_party/externals/swiftshader/src/Shader/ |
H A D | SamplerCore.cpp | 513 size.z = Insert(size.z, As<Float>(Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, depth)))), i); in textureSize() 981 UShort4 f0s = As<UShort4>(s[0][0][0]) * *Pointer<UShort4>(mipmap + OFFSET(Mipmap,depth)); in sample3D() 1227 address(w, z0, z0, fv, mipmap, offset.z, filter, OFFSET(Mipmap, depth), state.addressingModeW, function); in sampleFloat2D() 1296 address(w, z0, z1, fw, mipmap, offset.z, filter, OFFSET(Mipmap, depth), state.addressingModeW, function); in sampleFloat3D() 1687 wwww = MulHigh(As<UShort4>(wwww), *Pointer<UShort4>(mipmap + OFFSET(Mipmap, depth))); in computeIndices() 1692 UShort4 d = *Pointer<UShort4>(mipmap + OFFSET(Mipmap, depth)); in computeIndices() 1718 size *= Int(*Pointer<Short>(mipmap + OFFSET(Mipmap, depth))); in computeIndices() 2304 return Min(Max(Short4(RoundInt(uw)), Short4(0)), *Pointer<Short4>(mipmap + OFFSET(Mipmap, depth)) - Short4(1)); in address()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/ |
H A D | SparcISelLowering.cpp | 2614 static SDValue getFRAMEADDR(uint64_t depth, SDValue Op, SelectionDAG &DAG, in getFRAMEADDR() argument 2629 Chain = (depth || AlwaysFlush) ? getFLUSHW(Op, DAG) : DAG.getEntryNode(); in getFRAMEADDR() 2635 while (depth--) { in getFRAMEADDR() 2650 uint64_t depth = Op.getConstantOperandVal(0); in LowerFRAMEADDR() local 2652 return getFRAMEADDR(depth, Op, DAG, Subtarget); in LowerFRAMEADDR() 2668 uint64_t depth = Op.getConstantOperandVal(0); in LowerRETURNADDR() local 2671 if (depth == 0) { in LowerRETURNADDR() 2679 SDValue FrameAddr = getFRAMEADDR(depth - 1, Op, DAG, Subtarget, true); in LowerRETURNADDR()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktTextureMipmapTests.cpp | 695 const int numLevels = deLog2Floor32(de::max(de::max(testParameters.width, testParameters.height), testParameters.depth))+1; in Texture3DMipmapTestInstance() 697 m_texture = TestTexture3DSp(new pipeline::TestTexture3D(vk::mapVkFormat(m_testParameters.format), m_testParameters.width, m_testParameters.height, m_testParameters.depth)); in Texture3DMipmapTestInstance() 2619 const tcu::IVec3 iColorExtent (static_cast<int>(colorExtent.width), static_cast<int>(colorExtent.height), static_cast<int>(colorExtent.depth)); in iterate() 3053 const int depth; 3453 testParameters.depth = tex3DSizes[size].depth; 3483 testParameters.depth = tex3DSizes[0].depth;
|
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.c | 3819 int depth = 0; in hns3_gro_complete() local 3824 if ((depth + VLAN_HLEN) > skb_headlen(skb)) in hns3_gro_complete() 3827 vh = (struct vlan_hdr *)(skb->data + depth); in hns3_gro_complete() 3829 depth += VLAN_HLEN; in hns3_gro_complete() 3832 skb_set_network_header(skb, depth); in hns3_gro_complete() 3837 depth += sizeof(struct iphdr); in hns3_gro_complete() 3838 skb_set_transport_header(skb, depth); in hns3_gro_complete() 3840 th->check = ~tcp_v4_check(skb->len - depth, iph->saddr, in hns3_gro_complete() 3845 depth += sizeof(struct ipv6hdr); in hns3_gro_complete() 3846 skb_set_transport_header(skb, depth); in hns3_gro_complete() [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_state.c | 1677 /* hw cannot support mixed formats (except depth/stencil, since in si_translate_colorformat() 1975 /* hw cannot support mixed formats (except depth/stencil, since only in si_translate_texformat() 1976 * depth is read).*/ in si_translate_texformat() 2444 /* Color without EQAA or depth/stencil. */ in si_is_format_supported() 2835 /* Check all sampler bindings in all shaders where depth textures are bound, and update in si_set_sampler_depth_decompress_mask() 2991 /* u_blitter doesn't invoke depth decompression when it does multiple in si_set_framebuffer_state() 3001 * - depth clear in si_set_framebuffer_state() 3595 * It affects VRS and occlusion queries if depth and stencil are not bound. in si_emit_framebuffer_state() 4009 unsigned depth, uint32_t *state, uint32_t *fmask_state) in gfx10_make_texture_descriptor() 4072 depth in gfx10_make_texture_descriptor() 4005 gfx10_make_texture_descriptor( struct si_screen *screen, struct si_texture *tex, bool sampler, enum pipe_texture_target target, enum pipe_format pipe_format, const unsigned char state_swizzle[4], unsigned first_level, unsigned last_level, unsigned first_layer, unsigned last_layer, unsigned width, unsigned height, unsigned depth, uint32_t *state, uint32_t *fmask_state) gfx10_make_texture_descriptor() argument 4189 si_make_texture_descriptor(struct si_screen *screen, struct si_texture *tex, bool sampler, enum pipe_texture_target target, enum pipe_format pipe_format, const unsigned char state_swizzle[4], unsigned first_level, unsigned last_level, unsigned first_layer, unsigned last_layer, unsigned width, unsigned height, unsigned depth, uint32_t *state, uint32_t *fmask_state) si_make_texture_descriptor() argument [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/ |
H A D | navigation_branch_test_ng.cpp | 819 int32_t depth = 301; in HWTEST_F() local 821 pattern->PerformanceEventReport(nodeCount, depth, navDestinationName); in HWTEST_F() 848 int32_t depth = 3; in HWTEST_F() local 850 pattern->PerformanceEventReport(nodeCount, depth, navDestinationName); in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributeddb_nb_schema_test.cpp | 2257 std::string GenerateLargeDepth(int depth) in GenerateLargeDepth() argument 2260 for (int index = 1; index <= depth; index++) { in GenerateLargeDepth() 2262 if (index == depth) { in GenerateLargeDepth() 2268 resultStr.append(depth - 1, '}'); in GenerateLargeDepth() 2277 * @tc.desc: Verify that it can parse the Json string which nesting depth is equal to 100. 2300 * @tc.steps: step2. put the records where the depth of Json is equal to 100. in HWTEST_F()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | hist.c | 328 if (!he->depth) { in hists__decay_entry() 1520 int depth = 0; in hists__hierarchy_insert_entry() local 1536 new_he->depth = depth++; in hists__hierarchy_insert_entry()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/ |
H A D | dcn_calcs.c | 210 static int tl_lb_bpp_to_int(enum lb_pixel_depth depth) in tl_lb_bpp_to_int() argument 212 switch (depth) { in tl_lb_bpp_to_int() 412 switch (pipe->plane_res.scl_data.lb_params.depth) { in pipe_ctx_to_e2e_pipe_params() 1026 v->lb_bit_per_pixel[input_idx] = tl_lb_bpp_to_int(pipe->plane_res.scl_data.lb_params.depth); in dcn_validate_bandwidth()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calcs.c | 210 static int tl_lb_bpp_to_int(enum lb_pixel_depth depth) in tl_lb_bpp_to_int() argument 212 switch (depth) { in tl_lb_bpp_to_int() 412 switch (pipe->plane_res.scl_data.lb_params.depth) { in pipe_ctx_to_e2e_pipe_params() 1011 v->lb_bit_per_pixel[input_idx] = tl_lb_bpp_to_int(pipe->plane_res.scl_data.lb_params.depth); in dcn_validate_bandwidth()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | hist.c | 338 if (!he->depth) { in hists__decay_entry() 1553 int depth = 0; in hists__hierarchy_insert_entry() local 1569 new_he->depth = depth++; in hists__hierarchy_insert_entry()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_private.h | 490 /* Optimized compute fast HTILE clear for stencil or depth only. */ 600 } depth[MAX_SAMPLES_LOG2]; member 622 } depth[MAX_SAMPLES_LOG2]; member 2100 RADV_DEPTH_CLAMP_MODE_VIEWPORT = 0, /* Clamp to the viewport min/max depth bounds */ 2102 RADV_DEPTH_CLAMP_MODE_DISABLED = 2, /* Disable depth clamping */ 2478 * Return whether the image has HTILE metadata for depth surfaces. 2488 * Return whether the image has VRS HTILE metadata for depth surfaces 2493 /* Any depth buffer can potentially use VRS. */ 2518 * Return whether the entire HTILE buffer can be used for depth in order to 2632 /* ITERATE_256 is required for depth o [all...] |
/third_party/mesa3d/src/microsoft/vulkan/ |
H A D | dzn_device.c | 716 /* Color/depth/stencil attachment cap implies input attachement cap, and input in dzn_physical_device_get_format_properties() 752 /* depth/stencil format shouldn't advertise buffer features */ in dzn_physical_device_get_format_properties() 864 properties->imageFormatProperties.maxExtent.depth = 1; in dzn_physical_device_get_image_format_properties() 869 properties->imageFormatProperties.maxExtent.depth = 1; in dzn_physical_device_get_image_format_properties() 874 properties->imageFormatProperties.maxExtent.depth = max_extent; in dzn_physical_device_get_image_format_properties() 2545 .Depth = region->imageExtent.depth, in dzn_buffer_get_copy_loc()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_vX_meta_copy.c | 514 /* Z24S8(depth) */ 521 /* Z32S8X24(depth) */ 569 unreachable("Invalid depth format\n"); in panvk_meta_copy_img_mask() 677 unsigned nlayers = MAX2(region->dstSubresource.layerCount, region->extent.depth); in panvk_meta_copy_img2img() 1098 region->imageExtent.depth == 1); in panvk_meta_copy_buf2img() 1101 unsigned nlayers = MAX2(region->imageSubresource.layerCount, region->imageExtent.depth); in panvk_meta_copy_buf2img() 1549 MAX2(region->imageSubresource.layerCount, region->imageExtent.depth) : 1, in panvk_meta_copy_img2buf()
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | s_server.c | 1177 verify_args.depth = atoi(opt_arg()); in s_server_main() 1179 BIO_printf(bio_err, "verify depth is %d\n", verify_args.depth); in s_server_main() 1185 verify_args.depth = atoi(opt_arg()); in s_server_main() 1188 "verify depth is %d, must return a certificate\n", in s_server_main() 1189 verify_args.depth); in s_server_main()
|