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:
Józef Kucia 2019-02-11 13:20:52 +01:00 committed by Alexandre Julliard
parent 1164de705e
commit 92185ce594

View File

@ -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) static bool is_dual_source_blending(const D3D12_RENDER_TARGET_BLEND_DESC *desc)
{ {
return desc->BlendEnable return desc->BlendEnable
&& (is_dual_source_blending_blend(desc->SrcBlend) && (is_dual_source_blending_blend(desc->SrcBlend)
|| is_dual_source_blending_blend(desc->DestBlend) || is_dual_source_blending_blend(desc->DestBlend)
|| is_dual_source_blending_blend(desc->SrcBlendAlpha) || is_dual_source_blending_blend(desc->SrcBlendAlpha)
|| is_dual_source_blending_blend(desc->DestBlendAlpha)); || is_dual_source_blending_blend(desc->DestBlendAlpha));
} }
static HRESULT compute_input_layout_offsets(const D3D12_INPUT_LAYOUT_DESC *input_layout_desc, static HRESULT compute_input_layout_offsets(const D3D12_INPUT_LAYOUT_DESC *input_layout_desc,