Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_resolve.c883 enum isl_format view_format) in iris_resource_texture_aux_usage()
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()
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()
881 iris_resource_texture_aux_usage(struct iris_context *ice, const struct iris_resource *res, enum isl_format view_format) iris_resource_texture_aux_usage() argument
1000 iris_resource_prepare_texture(struct iris_context *ice, struct iris_resource *res, enum isl_format view_format, uint32_t start_level, uint32_t num_levels, uint32_t start_layer, uint32_t num_layers) iris_resource_prepare_texture() argument
H A Diris_blit.c288 enum isl_format view_format, in tex_cache_flush_hack()
310 is_astc(surf_format) != is_astc(view_format) : in tex_cache_flush_hack()
311 view_format != surf_format; in tex_cache_flush_hack()
287 tex_cache_flush_hack(struct iris_batch *batch, enum isl_format view_format, enum isl_format surf_format) tex_cache_flush_hack() argument
H A Diris_resource.h467 enum isl_format view_format,
/third_party/mesa3d/src/vulkan/runtime/
H A 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()
H A Dvk_image.h234 VkFormat view_format; member
/third_party/mesa3d/src/intel/vulkan/
H A 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/gallium/drivers/svga/
H A 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()
H A 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/
H A 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()
H A Dv3dvx_image.c111 tex.srgb = vk_format_is_srgb(image_view->vk.view_format); in pack_texture_shader_state_helper()
H A Dv3dvx_cmd_buffer.c2335 if (vk_format_is_int(iview->vk.view_format)) in cmd_buffer_render_pass_setup_render_target()
2337 else if (vk_format_is_srgb(iview->vk.view_format)) in cmd_buffer_render_pass_setup_render_target()
/third_party/mesa3d/src/amd/vulkan/
H A 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/d3d12/
H A Dd3d12_compiler.h82 enum pipe_format view_format, emulated_format; member
H A Dd3d12_lower_image_casts.c208 enum pipe_format real_format = info[image->data.driver_location].view_format; in lower_image_cast_instr()
H A 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()
H A Dd3d12_context.cpp1672 is_valid_uav_cast(enum pipe_format resource_format, enum pipe_format view_format)
1674 if (view_format != PIPE_FORMAT_R32_UINT &&
1675 view_format != PIPE_FORMAT_R32_SINT &&
1676 view_format != PIPE_FORMAT_R32_FLOAT)
H A 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/panfrost/vulkan/
H A Dpanvk_vX_image.c107 .format = vk_format_to_pipe_format(view->vk.view_format), in CreateImageView()
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_resource.h502 enum isl_format view_format,
H A Dcrocus_blit.c313 enum isl_format view_format, in tex_cache_flush_hack()
332 bool need_flush = view_format != surf_format; in tex_cache_flush_hack()
312 tex_cache_flush_hack(struct crocus_batch *batch, enum isl_format view_format, enum isl_format surf_format) tex_cache_flush_hack() argument
H A Dcrocus_resolve.c963 enum isl_format view_format, in crocus_resource_prepare_texture()
976 if (!isl_formats_are_fast_clear_compatible(res->surf.format, view_format)) in crocus_resource_prepare_texture()
961 crocus_resource_prepare_texture(struct crocus_context *ice, struct crocus_resource *res, enum isl_format view_format, uint32_t start_level, uint32_t num_levels, uint32_t start_layer, uint32_t num_layers) crocus_resource_prepare_texture() argument
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_texture.c2065 enum pipe_format view_format) in vi_dcc_formats_are_incompatible()
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()
2080 if (vi_dcc_formats_are_incompatible(tex, level, view_format)) in vi_disable_dcc_if_incompatible_format()
2064 vi_dcc_formats_are_incompatible(struct pipe_resource *tex, unsigned level, enum pipe_format view_format) vi_dcc_formats_are_incompatible() argument
2075 vi_disable_dcc_if_incompatible_format(struct si_context *sctx, struct pipe_resource *tex, unsigned level, enum pipe_format view_format) vi_disable_dcc_if_incompatible_format() argument
H A Dsi_pipe.h1603 enum pipe_format view_format);
1605 unsigned level, enum pipe_format view_format);
/third_party/mesa3d/src/intel/isl/
H A 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/
H A Dgl4cTextureViewTests.cpp6713 } /* switch (view_format) */ in getComponentDataForByteAlignedInternalformat()
7510 _format view_format = TextureViewUtilities::getFormatOfInternalformat(view_internalformat); in verifyResultData() local
7760 view_format, result_data); in verifyResultData()

Completed in 75 milliseconds