mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 13:20:10 +01:00
turnip: make tu6_format_*_supported static
They have no external user. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21117>
This commit is contained in:
parent
f710911f2f
commit
41bf169a93
2 changed files with 4 additions and 6 deletions
|
|
@ -26,7 +26,7 @@ tu6_format_vtx(VkFormat vk_format)
|
|||
return fmt;
|
||||
}
|
||||
|
||||
bool
|
||||
static bool
|
||||
tu6_format_vtx_supported(VkFormat vk_format)
|
||||
{
|
||||
enum pipe_format format = vk_format_to_pipe_format(vk_format);
|
||||
|
|
@ -82,7 +82,7 @@ tu6_format_color_unchecked(enum pipe_format format, enum a6xx_tile_mode tile_mod
|
|||
return fmt;
|
||||
}
|
||||
|
||||
bool
|
||||
static bool
|
||||
tu6_format_color_supported(enum pipe_format format)
|
||||
{
|
||||
return tu6_format_color_unchecked(format, TILE6_LINEAR).fmt != FMT6_NONE;
|
||||
|
|
@ -129,7 +129,7 @@ tu6_format_texture(enum pipe_format format, enum a6xx_tile_mode tile_mode)
|
|||
return fmt;
|
||||
}
|
||||
|
||||
bool
|
||||
static bool
|
||||
tu6_format_texture_supported(enum pipe_format format)
|
||||
{
|
||||
return tu6_format_texture_unchecked(format, TILE6_LINEAR).fmt != FMT6_NONE;
|
||||
|
|
|
|||
|
|
@ -19,11 +19,9 @@ struct tu_native_format
|
|||
};
|
||||
|
||||
enum pipe_format tu_vk_format_to_pipe_format(VkFormat vk_format);
|
||||
bool tu6_format_vtx_supported(VkFormat format);
|
||||
|
||||
struct tu_native_format tu6_format_vtx(VkFormat format);
|
||||
bool tu6_format_color_supported(enum pipe_format format);
|
||||
struct tu_native_format tu6_format_color(enum pipe_format format, enum a6xx_tile_mode tile_mode);
|
||||
bool tu6_format_texture_supported(enum pipe_format format);
|
||||
struct tu_native_format tu6_format_texture(enum pipe_format format, enum a6xx_tile_mode tile_mode);
|
||||
|
||||
static inline enum a6xx_format
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue