/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
H A D | vktSynchronizationSmokeTests.cpp | 589 copyState.imageExtent.depth = 1; in copyToCPU() 777 extent.depth = 1; in generateWork()
|
H A D | vktSynchronizationOperation.cpp | 320 return (pixelSize * extent.width * extent.height * extent.depth); in getPixelBufferSize() 359 pixels.setPixDepth(clearValue.depthStencil.depth, x, y, z); in clearPixelBuffer() 374 pixels.setPixDepth(clearValue.depthStencil.depth, x, y, z); in clearPixelBuffer() 1076 case VK_IMAGE_TYPE_3D: return makeOffset3D(extent.width, extent.height, extent.depth); in makeExtentOffset() 1235 // Don't blit depth/stencil images. in Support() 1457 // Don't blit depth/stencil images. in CopySupport() 3228 // Because depth or stencil aspect buffer to image copies may require format conversions on some implementations, in Support() 3766 tcu::PixelBufferAccess imagePixels(texFormat, extent.width, extent.height, extent.depth, &m_data[0]); in Implementation() 3902 //! \todo Add support for depth/stencil too? 3976 tcu::PixelBufferAccess imagePixels(mapVkFormat(m_colorFormat), m_attachmentExtent.width, m_attachmentExtent.height, m_attachmentExtent.depth, in Implementation() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktTextureTestUtil.cpp | 392 imageFormatProperties.maxExtent.depth < textureDimension.z()) in updateTextureData() 1859 , depth (64) in Texture3DTestCaseParameters()
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | verifier.c | 48 * The first pass is depth-first-search to check that the program is a DAG. 1212 st->iter.depth = 0; in mark_stack_slots_iter() 1498 verbose(env, "=iter_%s(ref_id=%d,state=%s,depth=%u)", in print_verifier_state() 1501 reg->iter.depth); in print_verifier_state() 1854 * depth first search starting from initial state. The goal of the loop 1928 * def dfs(n, depth): 1931 * depths[n] = depth 1936 * dfs(succ, depth + 1) 5833 int depth = 0, frame = 0, i, subprog_end; in check_max_stack_depth_subprog() local 5843 * depth fo in check_max_stack_depth_subprog() 18672 int i, depth; fixup_call_args() local 19691 u32 depth = env->subprog_info[i].stack_depth; print_verification_stats() local [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/sis/ |
H A D | sis_main.c | 185 unsigned int j = 0, xres = 0, yres = 0, depth = 0, rate = 0; in sisfb_search_mode() local 215 if(sscanf(strbuf1, "%u %u %u %u", &xres, &yres, &depth, &rate) == 4) { in sisfb_search_mode() 216 if((rate <= 32) || (depth > 32)) { in sisfb_search_mode() 217 swap(rate, depth); in sisfb_search_mode() 219 sprintf(strbuf, "%ux%ux%u", xres, yres, depth); in sisfb_search_mode() 222 } else if(sscanf(strbuf1, "%u %u %u", &xres, &yres, &depth) == 3) { in sisfb_search_mode() 223 sprintf(strbuf, "%ux%ux%u", xres, yres, depth); in sisfb_search_mode() 1109 printk(KERN_ERR "sisfb: Unsupported depth %d", ivideo->video_bpp); in sisfb_set_vparms() 1555 /* x=x & y=y & c=c -> assume depth change */ in sisfb_check_var()
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | genX_cmd_buffer.c | 126 * clear depth, reset state base address, and then go render stuff. in cmd_buffer_emit_state_base_address() 476 /* We don't do any HiZ or depth fast-clears on gfx7 yet */ in anv_can_hiz_clear_ds_view() 484 /* We must have depth in order to have HiZ */ in anv_can_hiz_clear_ds_view() 567 assert(layer < image->vk.extent.depth); in anv_image_init_aux_tt() 568 if (layer >= anv_minify(image->vk.extent.depth, level)) in anv_image_init_aux_tt() 623 /* Transitions a HiZ-enabled depth buffer from one layout to another. Unless 624 * the initial layout is undefined, the HiZ buffer and depth buffer will 651 * largest portion of the specified range as it can. For depth images, in transition_depth_buffer() 703 /* Transitions a HiZ-enabled depth buffer from one layout to another. Unless 704 * the initial layout is undefined, the HiZ buffer and depth buffe 5859 CmdTraceRaysKHR( VkCommandBuffer commandBuffer, const VkStridedDeviceAddressRegionKHR* pRaygenShaderBindingTable, const VkStridedDeviceAddressRegionKHR* pMissShaderBindingTable, const VkStridedDeviceAddressRegionKHR* pHitShaderBindingTable, const VkStridedDeviceAddressRegionKHR* pCallableShaderBindingTable, uint32_t width, uint32_t height, uint32_t depth) CmdTraceRaysKHR() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationOperation.cpp | 321 return (pixelSize * extent.width * extent.height * extent.depth); in getPixelBufferSize() 360 pixels.setPixDepth(clearValue.depthStencil.depth, x, y, z); in clearPixelBuffer() 375 pixels.setPixDepth(clearValue.depthStencil.depth, x, y, z); in clearPixelBuffer() 1077 case VK_IMAGE_TYPE_3D: return makeOffset3D(extent.width, extent.height, extent.depth); in makeExtentOffset() 1236 // Don't blit depth/stencil images. in Support() 1458 // Don't blit depth/stencil images. in CopySupport() 3365 // Because depth or stencil aspect buffer to image copies may require format conversions on some implementations, in Support() 3903 tcu::PixelBufferAccess imagePixels(texFormat, extent.width, extent.height, extent.depth, &m_data[0]); in Implementation() 4039 //! \todo Add support for depth/stencil too? 4113 tcu::PixelBufferAccess imagePixels(mapVkFormat(m_colorFormat), m_attachmentExtent.width, m_attachmentExtent.height, m_attachmentExtent.depth, in Implementation() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | FrameCapture.cpp | 2158 desc.size.width, desc.size.height, desc.size.depth)); in CaptureTextureStorage() 2217 desc.size.width, desc.size.height, desc.size.depth, in CaptureTextureContents() 2226 desc.size.depth, 0, size, data)); in CaptureTextureContents() 2256 desc.size.height, desc.size.depth, format.format, in CaptureTextureContents() 2265 desc.size.depth, 0, format.format, format.type, data)); in CaptureTextureContents() 2898 const gl::Extents size(desc.size.width, desc.size.height, desc.size.depth); in CaptureShareGroupMidExecutionSetup() 4513 call.params.getParam("depth", ParamType::TGLsizei, depthParamOffset).value.GLsizeiVal; in captureCompressedTextureData() 6540 srcExtents.depth == srcDepth); in copyCachedTextureLevel()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cShadingLanguage420PackTests.cpp | 2967 texture.update(width, height, 0 /* depth */, GL_RGBA, GL_UNSIGNED_BYTE, &data[0]); in prepareSourceTexture() 3981 texture.update(width, height, 0 /* depth */, GL_RGBA, GL_UNSIGNED_BYTE, &data[0]); in prepareSourceTexture() 10215 static const GLuint depth = 1; in prepareTexture() local 10227 texture.create(width, height, depth, GL_RGBA8, m_test_case); in prepareTexture() 10229 texture.update(width, height, depth, GL_RGBA, GL_UNSIGNED_BYTE, &texture_data[0]); in prepareTexture() 10516 m_goku_texture.update(16, 16, 0 /* depth */, GL_RGBA, GL_UNSIGNED_BYTE, &texture_data[0]); in prepareUniforms() 10802 textures[i]->update(16, 16, 0 /* depth */, GL_RGBA, GL_UNSIGNED_BYTE, &texture_data[0]); in prepareUniforms() 11307 m_goku_texture.update(16, 16, 0 /* depth */, GL_RGBA, GL_UNSIGNED_BYTE, &texture_data[0]); in prepareUniforms() 18556 * @param depth Depth of texture 18560 void Utils::texture::create(GLuint width, GLuint height, GLuint depth, GLenu argument 18710 update(glw::GLuint width, glw::GLuint height, glw::GLuint depth, glw::GLenum format, glw::GLenum type, glw::GLvoid* data) update() argument [all...] |
H A D | gl4cEnhancedLayoutsTests.hpp | 872 void Init(TYPES tex_type, glw::GLuint width, glw::GLuint height, glw::GLuint depth, glw::GLenum internal_format, 893 glw::GLuint depth, glw::GLenum internal_format); 898 glw::GLuint depth, glw::GLenum format, glw::GLenum type, glw::GLvoid* data);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 2815 if ((rmem->nr_pages > 1 || rmem->depth > 0) && !rmem->pg_tbl) { in bnxt_alloc_ring() 2840 if (rmem->nr_pages > 1 || rmem->depth > 0) { in bnxt_alloc_ring() 6919 if (rmem->depth >= 1) { in bnxt_hwrm_set_pg_attr() 6920 if (rmem->depth == 2) in bnxt_hwrm_set_pg_attr() 7047 if (rmem->depth >= 1) in bnxt_alloc_ctx_mem_blk() 7054 u8 depth, bool use_init_val) in bnxt_alloc_ctx_pg_tbls() 7067 if (ctx_pg->nr_pages > MAX_CTX_PAGES || depth > 1) { in bnxt_alloc_ctx_pg_tbls() 7070 rmem->depth = 2; in bnxt_alloc_ctx_pg_tbls() 7090 rmem->depth = 1; in bnxt_alloc_ctx_pg_tbls() 7106 if (rmem->nr_pages > 1 || depth) in bnxt_alloc_ctx_pg_tbls() 7052 bnxt_alloc_ctx_pg_tbls(struct bnxt *bp, struct bnxt_ctx_pg_info *ctx_pg, u32 mem_size, u8 depth, bool use_init_val) bnxt_alloc_ctx_pg_tbls() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 3070 if ((rmem->nr_pages > 1 || rmem->depth > 0) && !rmem->pg_tbl) { in bnxt_alloc_ring() 3095 if (rmem->nr_pages > 1 || rmem->depth > 0) { in bnxt_alloc_ring() 7144 if (rmem->depth >= 1) { in bnxt_hwrm_set_pg_attr() 7145 if (rmem->depth == 2) in bnxt_hwrm_set_pg_attr() 7280 if (rmem->depth >= 1) in bnxt_alloc_ctx_mem_blk() 7287 u8 depth, struct bnxt_mem_init *mem_init) in bnxt_alloc_ctx_pg_tbls() 7300 if (ctx_pg->nr_pages > MAX_CTX_PAGES || depth > 1) { in bnxt_alloc_ctx_pg_tbls() 7303 rmem->depth = 2; in bnxt_alloc_ctx_pg_tbls() 7323 rmem->depth = 1; in bnxt_alloc_ctx_pg_tbls() 7338 if (rmem->nr_pages > 1 || depth) in bnxt_alloc_ctx_pg_tbls() 7285 bnxt_alloc_ctx_pg_tbls(struct bnxt *bp, struct bnxt_ctx_pg_info *ctx_pg, u32 mem_size, u8 depth, struct bnxt_mem_init *mem_init) bnxt_alloc_ctx_pg_tbls() argument [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_cmd_buffer.c | 2249 * Update the fast clear depth/stencil values if the image is bound as a 2250 * depth/stencil buffer. 2275 radeon_emit(cs, fui(ds_clear_value.depth)); in radv_update_bound_fast_clear_ds() 2277 radeon_set_context_reg(cs, R_02802C_DB_DEPTH_CLEAR, fui(ds_clear_value.depth)); in radv_update_bound_fast_clear_ds() 2286 if ((aspects & VK_IMAGE_ASPECT_DEPTH_BIT) && ds_clear_value.depth == 0.0) { in radv_update_bound_fast_clear_ds() 2298 * Set the clear depth/stencil values to the image's metadata. 2319 radeon_emit(cs, fui(ds_clear_value.depth)); in radv_set_ds_clear_metadata() 2328 value = fui(ds_clear_value.depth); in radv_set_ds_clear_metadata() 2384 * depth clear value is 0.0f. in radv_update_tc_compat_zrange_metadata() 2386 cond_val = ds_clear_value.depth in radv_update_tc_compat_zrange_metadata() 8771 radv_CmdTraceRaysKHR(VkCommandBuffer commandBuffer, const VkStridedDeviceAddressRegionKHR *pRaygenShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pMissShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pHitShaderBindingTable, const VkStridedDeviceAddressRegionKHR *pCallableShaderBindingTable, uint32_t width, uint32_t height, uint32_t depth) radv_CmdTraceRaysKHR() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 1436 * Setting line buffer pixel depth to 24bpp yields banding in resource_build_scaling_params() 1442 * problems: Carrizo with DCE_VERSION_11_0 does not like 36 bpp lb depth, in resource_build_scaling_params() 1447 pipe_ctx->plane_res.scl_data.lb_params.depth = LB_PIXEL_DEPTH_36BPP; in resource_build_scaling_params() 1449 pipe_ctx->plane_res.scl_data.lb_params.depth = LB_PIXEL_DEPTH_30BPP; in resource_build_scaling_params() 1464 pipe_ctx->plane_res.scl_data.lb_params.depth = LB_PIXEL_DEPTH_24BPP; in resource_build_scaling_params()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_debugfs.c | 3016 for (i = 0; i < table->mem_table.depth; i++) { in rvu_dbg_npc_exact_show_entries() 3091 seq_printf(s, "Depth : %d\n", table->mem_table.depth); in rvu_dbg_npc_exact_show_info() 3097 seq_printf(s, "Depth : %d\n", table->cam_table.depth); in rvu_dbg_npc_exact_show_info()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | machine.c | 1554 static int maps__set_modules_path_dir(struct maps *maps, const char *dir_name, int depth) in maps__set_modules_path_dir() argument 1580 if (depth == 0) { in maps__set_modules_path_dir() 1586 ret = maps__set_modules_path_dir(maps, path, depth + 1); in maps__set_modules_path_dir()
|
/third_party/json/tools/cpplint/ |
H A D | cpplint.py | 2784 depth = 0 2787 depth += line.count('{') - line.count('}') 2788 if not depth:
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineMultisampleSampleLocationsExtTests.cpp | 385 int depth = reference.getDepth(); in intThresholdCompare() local 388 TCU_CHECK_INTERNAL(result.getWidth() == width && result.getHeight() == height && result.getDepth() == depth); in intThresholdCompare() 390 for (int z = 0; z < depth; z++) in intThresholdCompare() 530 VK_STENCIL_OP_ZERO, // depth & stencil pass in stencilOpStateDrawOnce() 531 VK_STENCIL_OP_KEEP, // depth only fail in stencilOpStateDrawOnce() 543 VK_STENCIL_OP_INCREMENT_AND_CLAMP, // depth & stencil pass in stencilOpStateIncrement() 544 VK_STENCIL_OP_KEEP, // depth only fail in stencilOpStateIncrement() 732 /*depth test*/ false, /*stencil test*/ false, vertexInputConfig, topology, stencilOpStateIncrement(), useFragmentShadingRate); in preparePipelineWrapperSinglePassColor() 1959 case TEST_IMAGE_ASPECT_DEPTH: return "depth"; in getString() 2135 append(vertices, genVerticesFullQuad(RGBA::white().toVec(), DEPTH_REFERENCE)); // fill below the mask, using the depth tes in iterate() [all...] |
/third_party/python/Lib/test/ |
H A D | test_ast.py | 847 for depth in (fail_depth, crash_depth): 848 broken = prefix + repeated * depth 850 prefix, repeated, depth)
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineMultisampleSampleLocationsExtTests.cpp | 384 int depth = reference.getDepth(); in intThresholdCompare() local 387 TCU_CHECK_INTERNAL(result.getWidth() == width && result.getHeight() == height && result.getDepth() == depth); in intThresholdCompare() 389 for (int z = 0; z < depth; z++) in intThresholdCompare() 529 VK_STENCIL_OP_ZERO, // depth & stencil pass in stencilOpStateDrawOnce() 530 VK_STENCIL_OP_KEEP, // depth only fail in stencilOpStateDrawOnce() 542 VK_STENCIL_OP_INCREMENT_AND_CLAMP, // depth & stencil pass in stencilOpStateIncrement() 543 VK_STENCIL_OP_KEEP, // depth only fail in stencilOpStateIncrement() 731 /*depth test*/ false, /*stencil test*/ false, vertexInputConfig, topology, stencilOpStateIncrement(), useFragmentShadingRate); in preparePipelineWrapperSinglePassColor() 1935 case TEST_IMAGE_ASPECT_DEPTH: return "depth"; in getString() 2111 append(vertices, genVerticesFullQuad(RGBA::white().toVec(), DEPTH_REFERENCE)); // fill below the mask, using the depth tes in iterate() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | pmcraid.c | 204 * and max_sectors value will be over-written to 512. It also sets queue depth 271 * pmcraid_change_queue_depth - Change the device's queue depth 273 * @depth: depth to set 276 * actual depth set 278 static int pmcraid_change_queue_depth(struct scsi_device *scsi_dev, int depth) in pmcraid_change_queue_depth() argument 280 if (depth > PMCRAID_MAX_CMD_PER_LUN) in pmcraid_change_queue_depth() 281 depth = PMCRAID_MAX_CMD_PER_LUN; in pmcraid_change_queue_depth() 282 return scsi_change_queue_depth(scsi_dev, depth); in pmcraid_change_queue_depth()
|
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/ |
H A D | qm.c | 799 u32 depth; in qm_get_xqc_depth() local 801 depth = hisi_qm_get_hw_info(qm, qm_basic_info, type, qm->cap_ver); in qm_get_xqc_depth() 802 *low_bits = depth & QM_XQ_DEPTH_MASK; in qm_get_xqc_depth() 803 *high_bits = (depth >> QM_XQ_DEPTH_SHIFT) & QM_XQ_DEPTH_MASK; in qm_get_xqc_depth()
|
/third_party/backends/backend/ |
H A D | epjitsu.c | 2373 params->depth = 8; in sane_get_parameters() 2377 params->depth = 8; in sane_get_parameters() 2381 params->depth = 1; in sane_get_parameters() 2384 DBG (15, "\tdepth %d\n", params->depth); in sane_get_parameters()
|
H A D | microtek.c | 1852 "Gamma Table Size: %d entries of %d bytes (max. depth: %d)\n", in dump_inquiry() 3798 s->params.depth = 1; in sane_get_parameters() 3805 s->params.depth = s->bits_per_color; in sane_get_parameters() 3813 s->params.depth = s->bits_per_color; in sane_get_parameters() 3817 s->params.depth = s->bits_per_color; in sane_get_parameters()
|
H A D | sharp.c | 3111 s->params.depth = 1; in sane_get_parameters() 3118 s->params.depth = 8; in sane_get_parameters() 3125 s->params.depth = 8; in sane_get_parameters() 3463 s->bpp = s->params.depth; in sane_start()
|