Home
last modified time | relevance | path

Searched refs:depth_format (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_surface.c65 enum pipe_format depth_format = fb->zsbuf ? in llvmpipe_set_framebuffer_state()
68 util_format_description(depth_format); in llvmpipe_set_framebuffer_state()
98 draw_set_zs_format(lp->draw, depth_format); in llvmpipe_set_framebuffer_state()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_blit2d.c57 struct radv_image_view *iview, VkFormat depth_format, in create_iview() argument
64 if (depth_format) in create_iview()
65 format = depth_format; in create_iview()
88 struct radv_buffer_view *bview, VkFormat depth_format) in create_bview() argument
92 if (depth_format) in create_bview()
93 format = depth_format; in create_bview()
118 enum blit2d_src_type src_type, VkFormat depth_format, in blit2d_bind_src() argument
125 create_bview(cmd_buffer, src_buf, &tmp->bview, depth_format); in blit2d_bind_src()
147 create_iview(cmd_buffer, src_img, &tmp->iview, depth_format, aspects); in blit2d_bind_src()
189 VkFormat depth_format, in blit2d_bind_dst() argument
[all …]
/external/dynamic_depth/internal/dynamic_depth/
Ddepth_jpeg.cc101 auto depth_format = depth_map->GetFormat(); in ValidateAndroidDynamicDepthBuffer() local
102 if (depth_format != dynamic_depth::DepthFormat::kRangeInverse) { in ValidateAndroidDynamicDepthBuffer()
/external/mesa3d/src/intel/blorp/
Dblorp_priv.h199 uint32_t depth_format; member
Dblorp_clear.c724 params.depth_format = in blorp_clear_depth_stencil()
926 params.depth_format = in blorp_hiz_clear_depth_stencil()
979 enum isl_format depth_format, in blorp_clear_attachments() argument
1020 params.depth_format = isl_format_get_depth_format(depth_format, false); in blorp_clear_attachments()
Dblorp.h217 enum isl_format depth_format,
Dblorp.c379 params.depth_format = in blorp_hiz_op()
Dblorp_genX_exec.h754 sf.DepthBufferSurfaceFormat = params->depth_format; in blorp_emit_sf_config()
/external/angle/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.cpp1023 const VkFormat depth_format = info.depth.format; in init_depth_buffer() local
1025 vkGetPhysicalDeviceFormatProperties(info.gpus[0], depth_format, &props); in init_depth_buffer()
1037 std::cout << "depth_format " << depth_format << " Unsupported.\n"; in init_depth_buffer()
1044 image_info.format = depth_format; in init_depth_buffer()
1068 view_info.format = depth_format; in init_depth_buffer()
1081 if (depth_format == VK_FORMAT_D16_UNORM_S8_UINT || in init_depth_buffer()
1082 depth_format == VK_FORMAT_D24_UNORM_S8_UINT || depth_format == VK_FORMAT_D32_SFLOAT_S8_UINT) in init_depth_buffer()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_state.c245 uint32_t depth_format = translate_depth_format(zsbuf->base.format); in etna_set_framebuffer_state() local
247 depth_format == VIVS_PE_DEPTH_CONFIG_DEPTH_FORMAT_D16 ? 16 : 24; in etna_set_framebuffer_state()
251 depth_format | in etna_set_framebuffer_state()
/external/vulkan-validation-layers/tests/
Dvkpositivelayertests.cpp259 auto depth_format = FindSupportedDepthStencilFormat(gpu()); in TEST_F() local
260 if (!depth_format) { in TEST_F()
277 attach_desc.format = depth_format; in TEST_F()
411 auto depth_format = FindSupportedDepthStencilFormat(gpu()); in TEST_F() local
412 if (!depth_format) { in TEST_F()
417 …vkGetPhysicalDeviceImageFormatProperties(gpu(), depth_format, VK_IMAGE_TYPE_2D, VK_IMAGE_TILING_OP… in TEST_F()
425 VkFormat depth_stencil_fmt = depth_format; in TEST_F()
586 auto depth_format = FindSupportedDepthStencilFormat(gpu()); in TEST_F() local
587 if (!depth_format) { in TEST_F()
592 …vkGetPhysicalDeviceImageFormatProperties(gpu(), depth_format, VK_IMAGE_TYPE_2D, VK_IMAGE_TILING_OP… in TEST_F()
[all …]
Dvklayertests_buffer_image_memory_sampler.cpp3528 const auto depth_format = FindSupportedDepthStencilFormat(gpu()); in TEST_F() local
3529 if (!depth_format) { in TEST_F()
3535 image.Init(32, 32, 1, depth_format, VK_IMAGE_USAGE_TRANSFER_DST_BIT, VK_IMAGE_TILING_OPTIMAL); in TEST_F()
3665 auto depth_format = FindSupportedDepthStencilFormat(gpu()); in TEST_F() local
3666 if (!depth_format) { in TEST_F()
3674 image_create_info.format = depth_format; in TEST_F()
3733 auto depth_format = FindSupportedDepthStencilFormat(gpu()); in TEST_F() local
3734 if (!depth_format) { in TEST_F()
3834 ds_image.Init(m_device, 128, 128, depth_format); in TEST_F()
3916 …img_ds.Init(128, 128, 1, depth_format, VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT, VK_IMAGE_TILIN… in TEST_F()
[all …]
Dvklayertests_descriptor_renderpass_framebuffer.cpp5617 auto depth_format = FindSupportedDepthStencilFormat(gpu()); in TEST_F() local
5618 if (!depth_format) { in TEST_F()
5630 vkGetPhysicalDeviceFormatProperties(m_device->phy().handle(), depth_format, &fmt_props); in TEST_F()
5636 image_obj.Init(64, 64, 1, depth_format, VK_IMAGE_USAGE_SAMPLED_BIT); in TEST_F()
5644 image_view_ci.format = depth_format; in TEST_F()
Dvklayertests_command.cpp2999 auto depth_format = FindSupportedDepthStencilFormat(gpu()); in TEST_F() local
3000 if (!depth_format) { in TEST_F()
3016 … dstImage.Init(32, 32, 1, depth_format, VK_IMAGE_USAGE_TRANSFER_DST_BIT, VK_IMAGE_TILING_OPTIMAL); in TEST_F()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_gmem.c182 A6XX_RB_DEPTH_BUFFER_INFO(.depth_format = fmt), in emit_zs()
188 OUT_REG(ring, A6XX_GRAS_SU_DEPTH_BUFFER_INFO(.depth_format = fmt)); in emit_zs()
239 OUT_REG(ring, A6XX_GRAS_SU_DEPTH_BUFFER_INFO(.depth_format = DEPTH6_NONE)); in emit_zs()
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c1447 enum isl_format depth_format = ISL_FORMAT_UNSUPPORTED; in clear_depth_stencil_attachment() local
1449 depth_format = anv_get_isl_format(&cmd_buffer->device->info, in clear_depth_stencil_attachment()
1472 depth_format, pass_att->samples, in clear_depth_stencil_attachment()
1491 depth_format, pass_att->samples, in clear_depth_stencil_attachment()
/external/mesa3d/src/freedreno/vulkan/
Dtu_cmd_buffer.c180 A6XX_RB_DEPTH_BUFFER_INFO(.depth_format = DEPTH6_NONE), in tu6_emit_zs()
187 A6XX_GRAS_SU_DEPTH_BUFFER_INFO(.depth_format = DEPTH6_NONE)); in tu6_emit_zs()
205 tu_cs_emit(cs, A6XX_RB_DEPTH_BUFFER_INFO(.depth_format = fmt).value); in tu6_emit_zs()
210 A6XX_GRAS_SU_DEPTH_BUFFER_INFO(.depth_format = fmt)); in tu6_emit_zs()