Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_format.c450 return st->has_etc2 ? PIPE_FORMAT_ETC2_RGB8 : PIPE_FORMAT_R8G8B8A8_UNORM; in st_mesa_format_to_pipe_format()
452 return st->has_etc2 ? PIPE_FORMAT_ETC2_SRGB8 : PIPE_FORMAT_B8G8R8A8_SRGB; in st_mesa_format_to_pipe_format()
454 return st->has_etc2 ? PIPE_FORMAT_ETC2_RGBA8 : PIPE_FORMAT_R8G8B8A8_UNORM; in st_mesa_format_to_pipe_format()
456 return st->has_etc2 ? PIPE_FORMAT_ETC2_SRGBA8 : PIPE_FORMAT_B8G8R8A8_SRGB; in st_mesa_format_to_pipe_format()
458 return st->has_etc2 ? PIPE_FORMAT_ETC2_R11_UNORM : PIPE_FORMAT_R16_UNORM; in st_mesa_format_to_pipe_format()
460 return st->has_etc2 ? PIPE_FORMAT_ETC2_RG11_UNORM : PIPE_FORMAT_R16G16_UNORM; in st_mesa_format_to_pipe_format()
462 return st->has_etc2 ? PIPE_FORMAT_ETC2_R11_SNORM : PIPE_FORMAT_R16_SNORM; in st_mesa_format_to_pipe_format()
464 return st->has_etc2 ? PIPE_FORMAT_ETC2_RG11_SNORM : PIPE_FORMAT_R16G16_SNORM; in st_mesa_format_to_pipe_format()
466 return st->has_etc2 ? PIPE_FORMAT_ETC2_RGB8A1 : PIPE_FORMAT_R8G8B8A8_UNORM; in st_mesa_format_to_pipe_format()
468 return st->has_etc2 ? PIPE_FORMAT_ETC2_SRGB8A1 : PIPE_FORMAT_B8G8R8A8_SRGB; in st_mesa_format_to_pipe_format()
[all …]
Dst_context.h83 boolean has_etc2; member
Dst_context.c423 st->has_etc2 = screen->is_format_supported(screen, PIPE_FORMAT_ETC2_RGB8, in st_create_context_priv()
Dst_cb_texture.c208 return (_mesa_is_format_etc2(texImage->TexFormat) && !st->has_etc2) || in st_etc_fallback()