mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d: Fix formatting in is_dual_source_blending().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1164de705e
commit
92185ce594
@ -1782,10 +1782,10 @@ static bool is_dual_source_blending_blend(D3D12_BLEND b)
|
||||
static bool is_dual_source_blending(const D3D12_RENDER_TARGET_BLEND_DESC *desc)
|
||||
{
|
||||
return desc->BlendEnable
|
||||
&& (is_dual_source_blending_blend(desc->SrcBlend)
|
||||
|| is_dual_source_blending_blend(desc->DestBlend)
|
||||
|| is_dual_source_blending_blend(desc->SrcBlendAlpha)
|
||||
|| is_dual_source_blending_blend(desc->DestBlendAlpha));
|
||||
&& (is_dual_source_blending_blend(desc->SrcBlend)
|
||||
|| is_dual_source_blending_blend(desc->DestBlend)
|
||||
|| is_dual_source_blending_blend(desc->SrcBlendAlpha)
|
||||
|| is_dual_source_blending_blend(desc->DestBlendAlpha));
|
||||
}
|
||||
|
||||
static HRESULT compute_input_layout_offsets(const D3D12_INPUT_LAYOUT_DESC *input_layout_desc,
|
||||
|
Loading…
x
Reference in New Issue
Block a user