Home
last modified time | relevance | path

Searched refs:do_endian_swap (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/amd/vulkan/
Dradv_formats.c762 unsigned radv_translate_colorswap(VkFormat format, bool do_endian_swap) in radv_translate_colorswap() argument
790 return (do_endian_swap ? V_028C70_SWAP_STD : V_028C70_SWAP_STD_REV); in radv_translate_colorswap()
798 return (do_endian_swap ? V_028C70_SWAP_STD_REV : V_028C70_SWAP_STD); in radv_translate_colorswap()
815 return (do_endian_swap ? V_028C70_SWAP_ALT : V_028C70_SWAP_ALT_REV); in radv_translate_colorswap()
Dradv_private.h1324 unsigned radv_translate_colorswap(VkFormat format, bool do_endian_swap);
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe.h831 bool do_endian_swap);
833 bool do_endian_swap);
834 uint32_t r600_colorformat_endian_swap(uint32_t colorformat, bool do_endian_swap);
Dr600_state.c673 bool do_endian_swap = FALSE; in r600_create_sampler_view_custom() local
695 do_endian_swap = !tmp->db_compatible; in r600_create_sampler_view_custom()
699 &word4, &yuv_format, do_endian_swap); in r600_create_sampler_view_custom()
720 endian = r600_colorformat_endian_swap(format, do_endian_swap); in r600_create_sampler_view_custom()
820 bool blend_bypass = 0, blend_clamp = 0, do_endian_swap = FALSE; in r600_init_color_surface() local
877 do_endian_swap = !rtex->db_compatible; in r600_init_color_surface()
880 do_endian_swap); in r600_init_color_surface()
883 swap = r600_translate_colorswap(surf->base.format, do_endian_swap); in r600_init_color_surface()
886 endian = r600_colorformat_endian_swap(format, do_endian_swap); in r600_init_color_surface()
Dr600_state_common.c2496 bool do_endian_swap) in r600_translate_texformat() argument
2527 if (format == PIPE_FORMAT_R4A4_UNORM && do_endian_swap) in r600_translate_texformat()
2541 if (do_endian_swap) { in r600_translate_texformat()
2890 bool do_endian_swap) in r600_translate_colorformat() argument
2950 return (do_endian_swap ? V_0280A0_COLOR_8_24 : V_0280A0_COLOR_24_8); in r600_translate_colorformat()
2992 uint32_t r600_colorformat_endian_swap(uint32_t colorformat, bool do_endian_swap) in r600_colorformat_endian_swap() argument
3014 return (do_endian_swap ? ENDIAN_8IN16 : ENDIAN_NONE); in r600_colorformat_endian_swap()
3029 return (do_endian_swap ? ENDIAN_8IN32 : ENDIAN_NONE); in r600_colorformat_endian_swap()
Dr600_texture.c1658 unsigned r600_translate_colorswap(enum pipe_format format, bool do_endian_swap) in r600_translate_colorswap() argument
1686 return (do_endian_swap ? V_0280A0_SWAP_STD : V_0280A0_SWAP_STD_REV); in r600_translate_colorswap()
1694 return (do_endian_swap ? V_0280A0_SWAP_STD_REV : V_0280A0_SWAP_STD); in r600_translate_colorswap()
1711 return (do_endian_swap ? V_0280A0_SWAP_ALT : V_0280A0_SWAP_ALT_REV); in r600_translate_colorswap()
Devergreen_state.c724 bool do_endian_swap = FALSE; in evergreen_fill_tex_resource_words() local
754 do_endian_swap = !tmp->db_compatible; in evergreen_fill_tex_resource_words()
758 &word4, &yuv_format, do_endian_swap); in evergreen_fill_tex_resource_words()
764 endian = r600_colorformat_endian_swap(format, do_endian_swap); in evergreen_fill_tex_resource_words()
1112 bool blend_clamp = 0, blend_bypass = 0, do_endian_swap = FALSE; in evergreen_set_color_surface_common() local
1207 do_endian_swap = !rtex->db_compatible; in evergreen_set_color_surface_common()
1209 format = r600_translate_colorformat(rctx->b.chip_class, pformat, do_endian_swap); in evergreen_set_color_surface_common()
1211 swap = r600_translate_colorswap(pformat, do_endian_swap); in evergreen_set_color_surface_common()
1214 endian = r600_colorformat_endian_swap(format, do_endian_swap); in evergreen_set_color_surface_common()
Dr600_pipe_common.h772 unsigned r600_translate_colorswap(enum pipe_format format, bool do_endian_swap);
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_pipe_common.h623 unsigned si_translate_colorswap(enum pipe_format format, bool do_endian_swap);
Dr600_texture.c2062 unsigned si_translate_colorswap(enum pipe_format format, bool do_endian_swap) in si_translate_colorswap() argument
2090 return (do_endian_swap ? V_028C70_SWAP_STD : V_028C70_SWAP_STD_REV); in si_translate_colorswap()
2098 return (do_endian_swap ? V_028C70_SWAP_STD_REV : V_028C70_SWAP_STD); in si_translate_colorswap()
2115 return (do_endian_swap ? V_028C70_SWAP_ALT : V_028C70_SWAP_ALT_REV); in si_translate_colorswap()