Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/vulkan/
Dradv_formats.c741 unsigned radv_translate_colorswap(VkFormat format, bool do_endian_swap) in radv_translate_colorswap() argument
769 return (do_endian_swap ? V_0280A0_SWAP_STD : V_0280A0_SWAP_STD_REV); in radv_translate_colorswap()
777 return (do_endian_swap ? V_0280A0_SWAP_STD_REV : V_0280A0_SWAP_STD); in radv_translate_colorswap()
794 return (do_endian_swap ? V_0280A0_SWAP_ALT : V_0280A0_SWAP_ALT_REV); in radv_translate_colorswap()
Dradv_private.h966 unsigned radv_translate_colorswap(VkFormat format, bool do_endian_swap);
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe.h749 bool do_endian_swap);
751 bool do_endian_swap);
752 uint32_t r600_colorformat_endian_swap(uint32_t colorformat, bool do_endian_swap);
Dr600_state_common.c2220 bool do_endian_swap) in r600_translate_texformat() argument
2251 if (format == PIPE_FORMAT_R4A4_UNORM && do_endian_swap) in r600_translate_texformat()
2263 if (do_endian_swap) { in r600_translate_texformat()
2616 bool do_endian_swap) in r600_translate_colorformat() argument
2674 return (do_endian_swap ? V_0280A0_COLOR_8_24 : V_0280A0_COLOR_24_8); in r600_translate_colorformat()
2716 uint32_t r600_colorformat_endian_swap(uint32_t colorformat, bool do_endian_swap) in r600_colorformat_endian_swap() argument
2738 return (do_endian_swap ? ENDIAN_8IN16 : ENDIAN_NONE); in r600_colorformat_endian_swap()
2753 return (do_endian_swap ? ENDIAN_8IN32 : ENDIAN_NONE); in r600_colorformat_endian_swap()
Dr600_state.c672 bool do_endian_swap = FALSE; in r600_create_sampler_view_custom() local
694 do_endian_swap = !tmp->db_compatible; in r600_create_sampler_view_custom()
698 &word4, &yuv_format, do_endian_swap); in r600_create_sampler_view_custom()
719 endian = r600_colorformat_endian_swap(format, do_endian_swap); in r600_create_sampler_view_custom()
819 bool blend_bypass = 0, blend_clamp = 1, do_endian_swap = FALSE; in r600_init_color_surface() local
874 do_endian_swap = !rtex->db_compatible; in r600_init_color_surface()
877 do_endian_swap); in r600_init_color_surface()
880 swap = r600_translate_colorswap(surf->base.format, do_endian_swap); in r600_init_color_surface()
883 endian = r600_colorformat_endian_swap(format, do_endian_swap); in r600_init_color_surface()
Devergreen_state.c676 bool do_endian_swap = FALSE; in evergreen_create_sampler_view_custom() local
725 do_endian_swap = !tmp->db_compatible; in evergreen_create_sampler_view_custom()
729 &word4, &yuv_format, do_endian_swap); in evergreen_create_sampler_view_custom()
736 endian = r600_colorformat_endian_swap(format, do_endian_swap); in evergreen_create_sampler_view_custom()
1000 bool blend_clamp = 0, blend_bypass = 0, do_endian_swap = FALSE; in evergreen_init_color_surface() local
1089 do_endian_swap = !rtex->db_compatible; in evergreen_init_color_surface()
1092 do_endian_swap); in evergreen_init_color_surface()
1095 swap = r600_translate_colorswap(surf->base.format, do_endian_swap); in evergreen_init_color_surface()
1098 endian = r600_colorformat_endian_swap(format, do_endian_swap); in evergreen_init_color_surface()
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_texture.c1891 unsigned r600_translate_colorswap(enum pipe_format format, bool do_endian_swap) in r600_translate_colorswap() argument
1919 return (do_endian_swap ? V_0280A0_SWAP_STD : V_0280A0_SWAP_STD_REV); in r600_translate_colorswap()
1927 return (do_endian_swap ? V_0280A0_SWAP_STD_REV : V_0280A0_SWAP_STD); in r600_translate_colorswap()
1944 return (do_endian_swap ? V_0280A0_SWAP_ALT : V_0280A0_SWAP_ALT_REV); in r600_translate_colorswap()
Dr600_pipe_common.h812 unsigned r600_translate_colorswap(enum pipe_format format, bool do_endian_swap);