anv/pipeline/gen7: Properly set 3DSTATE_PS::DualSourceBlendEnable
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 14 Nov 2016 17:17:20 +0000 (09:17 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 16 Nov 2016 18:08:59 +0000 (10:08 -0800)
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/intel/vulkan/gen7_pipeline.c

index 40e1d8130cb952c805cdd1a0ad8d18f4cc148bc8..556b2a57cae85f6fb3a18f51564df05221d8fa35 100644 (file)
@@ -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 ?