radv: fix VK_BLEND_FACTOR_CONSTANT_COLOR translation on GFX11
This one was missing. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16557>
This commit is contained in:
parent
97dc28b177
commit
00c649339b
|
@ -362,7 +362,8 @@ si_translate_blend_factor(enum amd_gfx_level gfx_level, VkBlendFactor factor)
|
|||
case VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA:
|
||||
return V_028780_BLEND_ONE_MINUS_DST_ALPHA;
|
||||
case VK_BLEND_FACTOR_CONSTANT_COLOR:
|
||||
return V_028780_BLEND_CONSTANT_COLOR_GFX6;
|
||||
return gfx_level >= GFX11 ? V_028780_BLEND_CONSTANT_COLOR_GFX11
|
||||
: V_028780_BLEND_CONSTANT_COLOR_GFX6;
|
||||
case VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR:
|
||||
return gfx_level >= GFX11 ? V_028780_BLEND_ONE_MINUS_CONSTANT_COLOR_GFX11
|
||||
: V_028780_BLEND_ONE_MINUS_CONSTANT_COLOR_GFX6;
|
||||
|
|
Loading…
Reference in New Issue