From: Jason Ekstrand Date: Mon, 14 Nov 2016 17:17:20 +0000 (-0800) Subject: anv/pipeline/gen7: Properly set 3DSTATE_PS::DualSourceBlendEnable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f989d04f3902ed5e568c274a6b5960123dd40b54;p=mesa.git anv/pipeline/gen7: Properly set 3DSTATE_PS::DualSourceBlendEnable Reviewed-by: Kristian H. Kristensen Reviewed-by: Timothy Arceri --- diff --git a/src/intel/vulkan/gen7_pipeline.c b/src/intel/vulkan/gen7_pipeline.c index 40e1d8130cb..556b2a57cae 100644 --- a/src/intel/vulkan/gen7_pipeline.c +++ b/src/intel/vulkan/gen7_pipeline.c @@ -158,7 +158,7 @@ genX(graphics_pipeline_create)( ps.oMaskPresenttoRenderTarget = wm_prog_data->uses_omask; ps.RenderTargetFastClearEnable = false; - ps.DualSourceBlendEnable = false; + ps.DualSourceBlendEnable = wm_prog_data->dual_src_blend; ps.RenderTargetResolveEnable = false; ps.PositionXYOffsetSelect = wm_prog_data->uses_pos_offset ?