mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
gen7/8/cmd_buffer: Inline vk_to_gen_swizzle
It's currently unused on IVB so we get compiler warnings.
This commit is contained in:
parent
9b1cb8fdbc
commit
2c77b0cd01
2 changed files with 2 additions and 2 deletions
|
|
@ -191,7 +191,7 @@ static const uint32_t vk_to_gen_swizzle_map[] = {
|
|||
[VK_COMPONENT_SWIZZLE_A] = SCS_ALPHA
|
||||
};
|
||||
|
||||
static uint32_t
|
||||
static inline uint32_t
|
||||
vk_to_gen_swizzle(VkComponentSwizzle swizzle, VkComponentSwizzle component)
|
||||
{
|
||||
if (swizzle == VK_COMPONENT_SWIZZLE_IDENTITY)
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ static const uint32_t vk_to_gen_swizzle_map[] = {
|
|||
[VK_COMPONENT_SWIZZLE_A] = SCS_ALPHA
|
||||
};
|
||||
|
||||
static uint32_t
|
||||
static inline uint32_t
|
||||
vk_to_gen_swizzle(VkComponentSwizzle swizzle, VkComponentSwizzle component)
|
||||
{
|
||||
if (swizzle == VK_COMPONENT_SWIZZLE_IDENTITY)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue