Home
last modified time | relevance | path

Searched refs:hw_fmt (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/
Dradv_sdma_copy_image.c31 radv_translate_format_to_hw(struct radeon_info *info, VkFormat format, unsigned *hw_fmt, in radv_translate_format_to_hw() argument
35 *hw_fmt = radv_translate_colorformat(format); in radv_translate_format_to_hw()
163 unsigned hw_fmt, hw_type; in radv_sdma_v4_v5_copy_image_to_buffer() local
166 radv_translate_format_to_hw(&device->physical_device->rad_info, image->vk.format, &hw_fmt, in radv_sdma_v4_v5_copy_image_to_buffer()
173 hw_fmt | vi_alpha_is_on_msb(device, image->vk.format) << 8 | hw_type << 9 | in radv_sdma_v4_v5_copy_image_to_buffer()
Dradv_private.h1571 uint8_t hw_fmt; member
Dradv_cmd_buffer.c6105 found->hw_fmt = dfmt | (nfmt << 4); in radv_CmdSetVertexInputEXT()
6115 state->formats[loc] = found->hw_fmt; in radv_CmdSetVertexInputEXT()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_sdma_copy_image.c74 bool si_translate_format_to_hw(struct si_context *sctx, enum pipe_format format, unsigned *hw_fmt, … in si_translate_format_to_hw() argument
77 *hw_fmt = si_translate_colorformat(sctx->gfx_level, format); in si_translate_format_to_hw()
201 unsigned hw_fmt, hw_type; in si_sdma_v4_v5_copy_texture() local
204 si_translate_format_to_hw(sctx, tiled->buffer.b.b.format, &hw_fmt, &hw_type); in si_sdma_v4_v5_copy_texture()
209 radeon_emit(hw_fmt | in si_sdma_v4_v5_copy_texture()