Home
last modified time | relevance | path

Searched refs:depth (Results 1276 - 1300 of 3754) sorted by relevance

1...<<51525354555657585960>>...151

/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_screen.c1163 * This mimics hardware vendors extensions for D3D depth sampling. See also in svga_screen_create()
1175 svgascreen->depth.z16 = SVGA3D_Z_D16; in svga_screen_create()
1176 svgascreen->depth.x8z24 = SVGA3D_Z_D24X8; in svga_screen_create()
1177 svgascreen->depth.s8z24 = SVGA3D_Z_D24S8; in svga_screen_create()
1193 svgascreen->depth.z16 = SVGA3D_Z_DF16; in svga_screen_create()
1196 svgascreen->depth.x8z24 = SVGA3D_Z_DF24; in svga_screen_create()
1199 svgascreen->depth.s8z24 = SVGA3D_Z_D24S8_INT; in svga_screen_create()
H A Dsvga_resource_texture.c434 baseLevelSize.depth = tex->b.depth0; in svga_texture_transfer_map_direct()
515 st->box.d = box->depth; in svga_texture_transfer_map()
529 if (st->base.box.depth > 1) in svga_texture_transfer_map()
816 * Does format store depth values?
899 tex->key.size.depth = template->depth0; in svga_texture_create()
987 /* Also check if the format is depth/stencil renderable */ in svga_texture_create()
1047 /* For VGPU10 device, use typeless formats only for sRGB and depth resources in svga_texture_create()
1367 st->upload.box.d = st->base.box.depth; in svga_texture_transfer_map_upload()
1376 st->upload.nlayers = st->base.box.depth; in svga_texture_transfer_map_upload()
1381 st->upload.nlayers = st->base.box.depth; in svga_texture_transfer_map_upload()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dformats.c357 * \param bd returns block depth in pixels
536 * Determine if the given format represents a packed depth/stencil buffer.
814 int height, int depth) in _mesa_format_image_size()
826 const uint32_t dblocks = (depth + bd - 1) / bd; in _mesa_format_image_size()
830 sz = width * height * depth * info->BytesPerBlock; in _mesa_format_image_size()
842 int height, int depth) in _mesa_format_image_size64()
854 const uint64_t dblocks = (depth + bd - 1) / bd; in _mesa_format_image_size64()
859 (uint64_t) depth * info->BytesPerBlock); in _mesa_format_image_size64()
813 _mesa_format_image_size(mesa_format format, int width, int height, int depth) _mesa_format_image_size() argument
841 _mesa_format_image_size64(mesa_format format, int width, int height, int depth) _mesa_format_image_size64() argument
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_transfer.c42 PUSH_DATA (push, src->depth); in nvc0_m2mf_transfer_rect()
58 PUSH_DATA (push, dst->depth); in nvc0_m2mf_transfer_rect()
159 PUSH_DATA (push, dst->depth); in nve4_m2mf_transfer_rect()
173 PUSH_DATA (push, src->depth); in nve4_m2mf_transfer_rect()
418 tx->nlayers = box->depth; in nvc0_miptree_transfer_map()
451 tx->rect[1].depth = 1; in nvc0_miptree_transfer_map()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktTextureCompressedFormatTests.cpp125 const int depth; // 2D test ignore depth value member
467 , m_texture3D (TestTexture3DSp(new pipeline::TestTexture3D(m_compressedFormat, testParameters.width, testParameters.height, testParameters.depth))) in Compressed3DTestInstance()
564 sliceNdx = (m_testParameters.depth - 1) * s / (slices - 1); in iterate()
567 z = (((float)sliceNdx + 0.5f) / (float)(m_testParameters.depth >> mipLevel)); in iterate()
630 testParameters.depth = sizes[sizeNdx].depth; in populate3DTextureCompressedFormatTests()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DImage11.cpp117 sourceBox.depth, unpackFlipY, unpackPremultiplyAlpha, unpackUnmultiplyAlpha); in CopyImage()
228 if (mWidth != size.width || mHeight != size.height || mDepth != size.depth || in redefine()
238 mDepth = size.depth; in redefine()
303 loadFunction(area.width, area.height, area.depth, in loadData()
347 loadFunction(area.width, area.height, area.depth, static_cast<const uint8_t *>(input), in loadCompressedData()
472 srcBox.back = sourceArea.z + sourceArea.depth; in copyWithoutConversion()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cTextureStorageMultisampleGetTexLevelParameterifvTests.cpp211 texture_2d_array_properties.depth = 32; in iterate()
291 texture_2d_multisample_array_properties.depth = 4; /* note: test spec missed this bit */ in iterate()
331 texture_3d_properties.depth = 2; in iterate()
466 texture_ptr->height, texture_ptr->depth, in iterate()
481 texture_ptr->depth); in iterate()
526 texture_ptr->depth, 0, /* border */ in iterate()
886 * depending on hardware specific representation of depth. in iterate()
1049 16, /* depth */ in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DvalidationES3_autogen.h67 GLfloat depth,
96 GLsizei depth,
109 GLsizei depth,
413 GLsizei depth,
432 GLsizei depth);
442 GLsizei depth,
H A DvalidationESEXT_autogen.h85 GLint depth,
201 GLsizei depth,
214 GLsizei depth,
437 GLsizei depth,
452 GLsizei depth,
487 GLsizei depth,
501 GLsizei depth,
953 GLenum depth);
1269 GLsizei depth,
1279 GLsizei depth,
[all...]
/third_party/toybox/toys/posix/
H A Dfind.c35 -depth ignore contents of dir -maxdepth N at most N dirs down
73 int topdir, xdev, depth;
220 // skip . and .. below topdir, handle -xdev and -depth in do_find()
249 if (TT.depth) { in do_find()
258 if (!TT.depth) return 0; in do_find()
263 // pcount: parentheses stack depth (using toybuf bytes, 4096 max depth) in do_find()
305 // Delete forces depth first in do_find()
306 TT.depth = 1; in do_find()
310 } else if (!strcmp(s, "depth") || !strcm in do_find()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
H A DvktTextureCompressedFormatTests.cpp125 const int depth; // 2D test ignore depth value member
467 , m_texture3D (TestTexture3DSp(new pipeline::TestTexture3D(m_compressedFormat, testParameters.width, testParameters.height, testParameters.depth))) in Compressed3DTestInstance()
564 sliceNdx = (m_testParameters.depth - 1) * s / (slices - 1); in iterate()
567 z = (((float)sliceNdx + 0.5f) / (float)(m_testParameters.depth >> mipLevel)); in iterate()
630 testParameters.depth = sizes[sizeNdx].depth; in populate3DTextureCompressedFormatTests()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrStorageImageWriteTests.cpp115 const deUint32 zWorkGroupSize = std::min(std::min(planeExtent.depth, maxComputeWorkGroupSize.z()), maxComputeWorkGroupInvocations / (xWorkGroupSize*yWorkGroupSize)); in computeWorkGroupSize()
251 const deUint32 zWorkGroupCount = shaderExtent.depth / workGroupSize.z() + (shaderExtent.depth % workGroupSize.z() ? 1u : 0u);
352 VkExtent3D compatibleImageSize { imageCreateInfo.extent.width / formatDescription.blockWidth, imageCreateInfo.extent.height / formatDescription.blockHeight, imageCreateInfo.extent.depth / 1u };
357 for (deUint32 offsetZ = 0u; offsetZ < planeExtent.depth; ++offsetZ)
637 << " if( gl_GlobalInvocationID.z < " << shaderExtent.depth << " ) \n"
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Datafb.c25 * "R<x>;<y>;<depth>". (Makes sense only on Falcon)
1413 * If all these bits are 0 get display depth from st_shift in falcon_encode_var()
1627 * set st_shift 0, so we can tell the screen-depth if f_shift == 0. in falcon_vbl_switcher()
2462 * generic drawing routines; imageblit needs updating for image depth > 1
2603 if (image->depth == 1) { in atafb_imageblit()
2789 int xres, xres_virtual, yres, depth, planes; in atafb_setup_ext() local
2793 /* Format is: <xres>;<yres>;<depth>;<plane organ.>; in atafb_setup_ext()
2820 depth = simple_strtoul(p, NULL, 10); in atafb_setup_ext()
2821 if (depth != 1 && depth ! in atafb_setup_ext()
2982 int xres, yres, depth, temp; atafb_setup_user() local
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Datafb.c25 * "R<x>;<y>;<depth>". (Makes sense only on Falcon)
1394 * If all these bits are 0 get display depth from st_shift in falcon_encode_var()
1608 * set st_shift 0, so we can tell the screen-depth if f_shift == 0. in falcon_vbl_switcher()
2412 * generic drawing routines; imageblit needs updating for image depth > 1
2540 if (image->depth == 1) { in atafb_imageblit()
2721 int xres, xres_virtual, yres, depth, planes; in atafb_setup_ext() local
2725 /* Format is: <xres>;<yres>;<depth>;<plane organ.>; in atafb_setup_ext()
2752 depth = simple_strtoul(p, NULL, 10); in atafb_setup_ext()
2753 if (depth != 1 && depth ! in atafb_setup_ext()
2914 int xres, yres, depth, temp; atafb_setup_user() local
[all...]
/third_party/mesa3d/src/amd/addrlib/src/gfx11/
H A Dgfx11addrlib.cpp320 pOut->depth = PowTwoAlign(Max(pIn->numSlices, 1u), metaBlk.d); in HwlComputeDccInfo()
353 pOut->dccRamSize = pOut->dccRamSliceSize * (pOut->depth / metaBlk.d); in HwlComputeDccInfo()
377 pOut->dccRamSize = pOut->dccRamSliceSize * (pOut->depth / metaBlk.d); in HwlComputeDccInfo()
2216 const BOOL_32 zbuffer = flags.depth || flags.stencil;
2540 if (pIn->flags.depth || pIn->flags.stencil)
3082 pOut->pMipInfo[i].depth = 1;
3103 pOut->pMipInfo[0].depth = 1;
3207 const UINT_32 depth = PowTwoAlign(mipDepth, pOut->blockSlices);
3210 mipSize[i] = sliceSize * depth;
3218 pOut->pMipInfo[i].depth
[all...]
/third_party/protobuf/src/google/protobuf/
H A Ddescriptor.cc2276 int depth, const Message& options, in RetrieveOptionsAssumingRightPool()
2294 printer.SetInitialIndentLevel(depth + 1); in RetrieveOptionsAssumingRightPool()
2299 fieldval.append(depth * 2, ' '); in RetrieveOptionsAssumingRightPool()
2318 bool RetrieveOptions(int depth, const Message& options, in RetrieveOptions() argument
2326 return RetrieveOptionsAssumingRightPool(depth, options, option_entries); in RetrieveOptions()
2333 return RetrieveOptionsAssumingRightPool(depth, options, option_entries); in RetrieveOptions()
2339 return RetrieveOptionsAssumingRightPool(depth, *dynamic_options, in RetrieveOptions()
2344 return RetrieveOptionsAssumingRightPool(depth, options, option_entries); in RetrieveOptions()
2351 bool FormatBracketedOptions(int depth, const Message& options, in FormatBracketedOptions() argument
2354 if (RetrieveOptions(depth, option in FormatBracketedOptions()
2275 RetrieveOptionsAssumingRightPool( int depth, const Message& options, std::vector<std::string>* option_entries) RetrieveOptionsAssumingRightPool() argument
2361 FormatLineOptions(int depth, const Message& options, const DescriptorPool* pool, std::string* output) FormatLineOptions() argument
2550 DebugString(int depth, std::string* contents, const DebugStringOptions& debug_string_options, bool include_opening_clause) const DebugString() argument
2662 int depth = 0; DebugStringWithOptions() local
2687 DebugString( int depth, std::string* contents, const DebugStringOptions& debug_string_options) const DebugString() argument
2775 DebugString( int depth, std::string* contents, const DebugStringOptions& debug_string_options) const DebugString() argument
2812 DebugString( int depth, std::string* contents, const DebugStringOptions& debug_string_options) const DebugString() argument
2872 DebugString( int depth, std::string* contents, const DebugStringOptions& debug_string_options) const DebugString() argument
2937 DebugString( int depth, std::string* contents, const DebugStringOptions& debug_string_options) const DebugString() argument
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fTextureSpecificationTests.cpp92 static inline int maxLevelCount (int width, int height, int depth) in maxLevelCount() argument
94 return (int)deLog2Floor32(de::max(width, de::max(height, depth)))+1; in maxLevelCount()
132 // When sampling depth-stencil texture, we actually sample just in getEffectiveTextureFormatBitDepth()
133 // the depth component. in getEffectiveTextureFormatBitDepth()
198 sglr::ReferenceContextBuffers refBuffers (tcu::PixelFormat(8,8,8,renderTarget.getPixelFormat().alphaBits?8:0), 0 /* depth */, 0 /* stencil */, width, height); in iterate()
534 Texture3DSpecCase (Context& context, const char* name, const char* desc, const tcu::TextureFormat& format, int width, int height, int depth, int numLevels);
548 Texture3DSpecCase::Texture3DSpecCase (Context& context, const char* name, const char* desc, const tcu::TextureFormat& format, int width, int height, int depth, int numLevels) in Texture3DSpecCase() argument
554 , m_depth (depth) in Texture3DSpecCase()
593 for (int depth = 0; depth < level in verifyTexture()
789 BasicTexImage3DCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int width, int height, int depth) BasicTexImage3DCase() argument
1120 TexImage3DParamsCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int width, int height, int depth, int imageHeight, int rowLength, int skipImages, int skipRows, int skipPixels, int alignment) TexImage3DParamsCase() argument
1430 BasicTexSubImage3DCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int width, int height, int depth) BasicTexSubImage3DCase() argument
1763 TexSubImage3DParamsCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int width, int height, int depth, int subX, int subY, int subZ, int subW, int subH, int subD, int imageHeight, int rowLength, int skipImages, int skipRows, int skipPixels, int alignment) TexSubImage3DParamsCase() argument
2247 BasicTexStorage3DCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int width, int height, int depth, int numLevels) BasicTexStorage3DCase() argument
2440 TexImage2DArrayBufferCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int width, int height, int depth, int imageHeight, int rowLength, int skipImages, int skipRows, int skipPixels, int alignment, int offset) TexImage2DArrayBufferCase() argument
2522 TexImage3DBufferCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int width, int height, int depth, int imageHeight, int rowLength, int skipImages, int skipRows, int skipPixels, int alignment, int offset) TexImage3DBufferCase() argument
2794 TexSubImage2DArrayBufferCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int width, int height, int depth, int subX, int subY, int subZ, int subW, int subH, int subD, int imageHeight, int rowLength, int skipImages, int skipRows, int skipPixels, int alignment, int offset) TexSubImage2DArrayBufferCase() argument
3022 TexSubImage3DBufferCase(Context& context, const char* name, const char* desc, deUint32 internalFormat, int width, int height, int depth, int subX, int subY, int subZ, int subW, int subH, int subD, int imageHeight, int rowLength, int skipImages, int skipRows, int skipPixels, int alignment, int offset) TexSubImage3DBufferCase() argument
4108 int depth; init() member
4159 int depth; init() member
4276 int depth; init() member
4338 int depth; init() member
4617 int depth; init() member
4652 int depth = tex3DSizes[ndx].depth; init() local
[all...]
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
H A Dcoresight-core.c867 * @depth: search depth where current sink was found.
869 * @new_depth: search depth where new sink was found.
875 * source is used (smallest search depth).
877 * return @new_sink & update @depth if better than @sink, else return @sink.
880 coresight_select_best_sink(struct coresight_device *sink, int *depth, in coresight_select_best_sink() argument
894 (*depth > new_depth)) { in coresight_select_best_sink()
900 *depth = new_depth; in coresight_select_best_sink()
909 * @depth: [in] search depth o
921 coresight_find_sink(struct coresight_device *csdev, int *depth) coresight_find_sink() argument
979 int depth = 0; coresight_find_default_sink() local
[all...]
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/
H A Dcoresight-core.c938 * @depth: search depth where current sink was found.
940 * @new_depth: search depth where new sink was found.
946 * source is used (smallest search depth).
948 * return @new_sink & update @depth if better than @sink, else return @sink.
951 coresight_select_best_sink(struct coresight_device *sink, int *depth, in coresight_select_best_sink() argument
965 (*depth > new_depth)) { in coresight_select_best_sink()
971 *depth = new_depth; in coresight_select_best_sink()
980 * @depth: [in] search depth o
992 coresight_find_sink(struct coresight_device *csdev, int *depth) coresight_find_sink() argument
1050 int depth = 0; coresight_find_default_sink() local
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_test_image_copy_region.c563 int width, height, depth; in si_test_image_copy_region() local
577 depth = (rand() % max_depth) + 1; in si_test_image_copy_region()
578 srcz = rand() % (util_num_layers(&tsrc, src_level) - depth + 1); in si_test_image_copy_region()
579 dstz = rand() % (util_num_layers(&tdst, dst_level) - depth + 1); in si_test_image_copy_region()
604 u_box_3d(srcx, srcy, srcz, width, height, depth, &box); in si_test_image_copy_region()
614 width, height, depth, src_cpu[src_level].ptr, src_cpu[src_level].stride, in si_test_image_copy_region()
927 info.dst.box.width, info.dst.box.height, info.dst.box.depth); in si_test_blit()
930 info.src.box.width, info.src.box.height, info.src.box.depth); in si_test_blit()
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3dx_state.c106 v3dx_pack(&so->depth_offset, DEPTH_OFFSET, depth) { in v3d_create_rasterizer_state()
107 depth.depth_offset_factor = cso->offset_scale; in v3d_create_rasterizer_state()
108 depth.depth_offset_units = cso->offset_units; in v3d_create_rasterizer_state()
110 depth.limit = cso->offset_clamp; in v3d_create_rasterizer_state()
117 v3dx_pack(&so->depth_offset_z16, DEPTH_OFFSET, depth) { in v3d_create_rasterizer_state()
118 depth.depth_offset_factor = cso->offset_scale; in v3d_create_rasterizer_state()
119 depth.depth_offset_units = cso->offset_units * 256.0; in v3d_create_rasterizer_state()
121 depth.limit = cso->offset_clamp; in v3d_create_rasterizer_state()
1073 /* If we're sampling depth from depth/stenci in v3d_create_sampler_view()
[all...]
/third_party/mesa3d/src/gallium/winsys/svga/drm/
H A Dvmw_screen_ioctl.c174 cur_size->depth = mipSize.depth; in vmw_ioctl_surface_create()
177 mipSize.depth = MAX2(mipSize.depth >> 1, 1); in vmw_ioctl_surface_create()
256 req->base.base_size.depth = size.depth; in vmw_ioctl_gb_surface_create()
295 req->base_size.depth = size.depth; in vmw_ioctl_gb_surface_create()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_depth.c32 * To be done accurately/efficiently the depth/stencil test must be done with
33 * the same type/format of the depth/stencil buffer, which implies massaging
35 * type/format for depth/stencil values internally and only convert when
36 * flushing would avoid this, but it would most likely result in depth fighting
41 * place (we could avoid this by doing depth/stencil testing in linear format,
42 * which would be easy for late depth/stencil test as we could do that after
44 * for early depth test as we'd need both masks and interpolated depth in
301 * Return a type that matches the depth/stencil format.
418 * Test the depth mas
825 lp_build_depth_stencil_test(struct gallivm_state *gallivm, const struct lp_depth_state *depth, const struct pipe_stencil_state stencil[2], struct lp_type z_src_type, const struct util_format_description *format_desc, struct lp_build_mask_context *mask, LLVMValueRef *cov_mask, LLVMValueRef stencil_refs[2], LLVMValueRef z_src, LLVMValueRef z_fb, LLVMValueRef s_fb, LLVMValueRef face, LLVMValueRef *z_value, LLVMValueRef *s_value, boolean do_branch, bool restrict_depth) lp_build_depth_stencil_test() argument
[all...]
/third_party/littlefs/scripts/
H A Dperf.py392 depth=1,
438 if i+1-j > depth:
681 depth=1,
837 # adjust the name width based on the expected call depth, though
839 if not summary and not m.isinf(depth):
840 widths[0] += 4*(depth-1)
879 if not m.isinf(depth) else 0),
905 if name in table and depth > 1:
908 depth-1,
1034 # depth o
[all...]
H A Dperfbd.py299 depth=1,
374 if i+1-j > depth:
647 depth=1,
803 # adjust the name width based on the expected call depth, though
805 if not summary and not m.isinf(depth):
806 widths[0] += 4*(depth-1)
845 if not m.isinf(depth) else 0),
871 if name in table and depth > 1:
874 depth-1,
1014 # depth o
[all...]

Completed in 52 milliseconds

1...<<51525354555657585960>>...151