Home
last modified time | relevance | path

Searched refs:view_format (Results 1 – 25 of 27) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/iris/
Diris_resolve.c883 enum isl_format view_format) in iris_resource_texture_aux_usage() argument
892 assert(res->surf.format == view_format); in iris_resource_texture_aux_usage()
924 view_format)) in iris_resource_texture_aux_usage()
947 enum isl_format view_format = iris_image_view_get_format(ice, pview); in iris_image_view_aux_usage() local
949 iris_resource_texture_aux_usage(ice, res, view_format); in iris_image_view_aux_usage()
1002 enum isl_format view_format, in iris_resource_prepare_texture() argument
1010 iris_resource_texture_aux_usage(ice, res, view_format); in iris_resource_prepare_texture()
1018 if (!isl_formats_are_fast_clear_compatible(res->surf.format, view_format)) in iris_resource_prepare_texture()
Diris_blit.c288 enum isl_format view_format, in tex_cache_flush_hack() argument
310 is_astc(surf_format) != is_astc(view_format) : in tex_cache_flush_hack()
311 view_format != surf_format; in tex_cache_flush_hack()
Diris_resource.h467 enum isl_format view_format,
/third_party/mesa3d/src/intel/vulkan/
Danv_image.c412 enum isl_format view_format = view_format_plane.isl_format; in can_fast_clear_with_non_zero_color() local
414 if (!isl_formats_have_same_bits_per_channel(img_format, view_format)) in can_fast_clear_with_non_zero_color()
422 !isl_format_has_float_channel(view_format)) in can_fast_clear_with_non_zero_color()
426 !isl_format_has_int_channel(view_format)) in can_fast_clear_with_non_zero_color()
430 !isl_format_has_unorm_channel(view_format)) in can_fast_clear_with_non_zero_color()
434 !isl_format_has_snorm_channel(view_format)) in can_fast_clear_with_non_zero_color()
466 enum isl_format view_format = in storage_image_format_supports_atomic() local
470 if (isl_format_supports_typed_atomics(devinfo, view_format)) in storage_image_format_supports_atomic()
534 enum isl_format view_format = in formats_ccs_e_compatible() local
539 if (!isl_formats_are_ccs_e_compatible(devinfo, format, view_format)) in formats_ccs_e_compatible()
[all …]
/third_party/mesa3d/src/vulkan/runtime/
Dvk_image.c383 image_view->view_format = pCreateInfo->format; in vk_image_view_init()
441 image_view->view_format = vk_format_stencil_only(pCreateInfo->format); in vk_image_view_init()
443 image_view->view_format = vk_format_depth_only(pCreateInfo->format); in vk_image_view_init()
445 image_view->view_format = pCreateInfo->format; in vk_image_view_init()
Dvk_image.h234 VkFormat view_format; member
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_surface.c624 SVGA3dSurfaceFormat view_format = s->key.format; in svga_validate_surface_view() local
630 if (view_format == SVGA3D_B8G8R8A8_UNORM && in svga_validate_surface_view()
633 view_format = SVGA3D_B8G8R8X8_UNORM; in svga_validate_surface_view()
640 view_format, in svga_validate_surface_view()
Dsvga_format.c42 SVGA3dSurfaceFormat view_format; /* view format for texture buffer */ member
259 *svga_format = entry->view_format; in svga_translate_texture_buffer_view_format()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_image.c540 iview->vk.view_format = format; in create_image_view()
544 if (vk_format_is_depth_or_stencil(iview->vk.view_format)) { in create_image_view()
546 v3dv_X(device, get_internal_depth_type)(iview->vk.view_format); in create_image_view()
Dv3dvx_image.c111 tex.srgb = vk_format_is_srgb(image_view->vk.view_format); in pack_texture_shader_state_helper()
Dv3dvx_cmd_buffer.c2335 if (vk_format_is_int(iview->vk.view_format)) in v3dX()
2337 else if (vk_format_is_srgb(iview->vk.view_format)) in v3dX()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_compiler.h82 enum pipe_format view_format, emulated_format; member
Dd3d12_draw.cpp267 enum pipe_format view_format = ctx->image_view_emulation_formats[stage][i]; in fill_image_descriptors() local
268 if (view_format == PIPE_FORMAT_NONE) in fill_image_descriptors()
269 view_format = view->format; in fill_image_descriptors()
270 uav_desc.Format = d3d12_get_format(view_format); in fill_image_descriptors()
Dd3d12_lower_image_casts.c208 enum pipe_format real_format = info[image->data.driver_location].view_format; in lower_image_cast_instr()
Dd3d12_context.cpp1672 is_valid_uav_cast(enum pipe_format resource_format, enum pipe_format view_format) in is_valid_uav_cast() argument
1674 if (view_format != PIPE_FORMAT_R32_UINT && in is_valid_uav_cast()
1675 view_format != PIPE_FORMAT_R32_SINT && in is_valid_uav_cast()
1676 view_format != PIPE_FORMAT_R32_FLOAT) in is_valid_uav_cast()
Dd3d12_compiler.cpp1056 key->image_format_conversion[i].view_format = sel_ctx->ctx->image_views[stage][i].format; in d3d12_fill_shader_key()
/third_party/mesa3d/src/amd/vulkan/
Dradv_image.c2094 iview->vk.view_format = image->vk.format; in radv_image_view_init()
2101 if (vk_format_has_stencil(iview->vk.view_format)) in radv_image_view_init()
2102 iview->vk.view_format = vk_format_stencil_only(iview->vk.view_format); in radv_image_view_init()
2104 if (vk_format_has_depth(iview->vk.view_format)) in radv_image_view_init()
2105 iview->vk.view_format = vk_format_depth_only(iview->vk.view_format); in radv_image_view_init()
2119 iview->vk.view_format = etc2_emulation_format(iview->vk.format); in radv_image_view_init()
2202 VkFormat format = vk_format_get_plane_format(iview->vk.view_format, i); in radv_image_view_init()
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_resource.h502 enum isl_format view_format,
Dcrocus_blit.c313 enum isl_format view_format, in tex_cache_flush_hack() argument
332 bool need_flush = view_format != surf_format; in tex_cache_flush_hack()
Dcrocus_resolve.c963 enum isl_format view_format, in crocus_resource_prepare_texture() argument
976 if (!isl_formats_are_fast_clear_compatible(res->surf.format, view_format)) in crocus_resource_prepare_texture()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_image.c107 .format = vk_format_to_pipe_format(view->vk.view_format), in panvk_per_arch()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_texture.c2065 enum pipe_format view_format) in vi_dcc_formats_are_incompatible() argument
2070 !vi_dcc_formats_compatible((struct si_screen *)tex->screen, tex->format, view_format); in vi_dcc_formats_are_incompatible()
2076 unsigned level, enum pipe_format view_format) in vi_disable_dcc_if_incompatible_format() argument
2080 if (vi_dcc_formats_are_incompatible(tex, level, view_format)) in vi_disable_dcc_if_incompatible_format()
Dsi_pipe.h1603 enum pipe_format view_format);
1605 unsigned level, enum pipe_format view_format);
/third_party/mesa3d/src/intel/isl/
Disl.c2979 const enum isl_format view_format = view->format; in isl_surf_get_uncompressed_surf() local
3031 ucompr_surf->format = view_format; in isl_surf_get_uncompressed_surf()
3074 .format = view_format, in isl_surf_get_uncompressed_surf()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cTextureViewTests.cpp7510 _format view_format = TextureViewUtilities::getFormatOfInternalformat(view_internalformat); in verifyResultData() local
7760 view_format, result_data); in verifyResultData()

12