radv: fix setting CB_SHADER_MASK for dual source blending
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 6 Jun 2019 12:46:47 +0000 (14:46 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 10 Jun 2019 15:21:56 +0000 (17:21 +0200)
commite9316fdfd4899c269a19e106a6ffa4309ae48b27
tree5039911ef8ee0715db55d0e590aa05b83a9c7fb7
parent50ffaaff3b1fbd43688747ad2c50da97334d8808
radv: fix setting CB_SHADER_MASK for dual source blending

CB_SHADER_MASK was computed without the second color buffer
format which looks totally wrong to me.

While we are at it, copy a comment from RadeonSI.

Cc: 19.0 19.1 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-By: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_pipeline.c