From f989d04f3902ed5e568c274a6b5960123dd40b54 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 14 Nov 2016 09:17:20 -0800 Subject: [PATCH] anv/pipeline/gen7: Properly set 3DSTATE_PS::DualSourceBlendEnable Reviewed-by: Kristian H. Kristensen Reviewed-by: Timothy Arceri --- src/intel/vulkan/gen7_pipeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ? -- 2.30.2