mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
radv: move radv_device_supports_etc() to radv_physical_device.c
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28519>
This commit is contained in:
parent
57dd6691df
commit
964f1ed023
2 changed files with 7 additions and 7 deletions
|
|
@ -690,13 +690,6 @@ radv_is_format_emulated(const struct radv_physical_device *pdev, VkFormat format
|
|||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
radv_device_supports_etc(const struct radv_physical_device *pdev)
|
||||
{
|
||||
return pdev->info.family == CHIP_VEGA10 || pdev->info.family == CHIP_RAVEN || pdev->info.family == CHIP_RAVEN2 ||
|
||||
pdev->info.family == CHIP_STONEY;
|
||||
}
|
||||
|
||||
static void
|
||||
radv_physical_device_get_format_properties(struct radv_physical_device *pdev, VkFormat format,
|
||||
VkFormatProperties3 *out_properties)
|
||||
|
|
|
|||
|
|
@ -133,6 +133,13 @@ radv_is_conformant(const struct radv_physical_device *pdev)
|
|||
return pdev->info.gfx_level >= GFX8;
|
||||
}
|
||||
|
||||
bool
|
||||
radv_device_supports_etc(const struct radv_physical_device *pdev)
|
||||
{
|
||||
return pdev->info.family == CHIP_VEGA10 || pdev->info.family == CHIP_RAVEN || pdev->info.family == CHIP_RAVEN2 ||
|
||||
pdev->info.family == CHIP_STONEY;
|
||||
}
|
||||
|
||||
static void
|
||||
parse_hex(char *out, const char *in, unsigned length)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue