radv/gfx9: emit sx_mrt_blend registers
authorDave Airlie <airlied@redhat.com>
Mon, 21 Aug 2017 06:17:27 +0000 (07:17 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 24 Aug 2017 00:14:14 +0000 (01:14 +0100)
commit9c080100d336e4f90575d5138508b519ed334eef
treedc4a07445a5999b30fa69835bf13aa356772e343
parent864eb1852778abaa6f63ca106216001c9f375f05
radv/gfx9: emit sx_mrt_blend registers

GFX9 needs the SX MRT blend registers programmed, port over
the code from radeonsi to workout the values from the blend
state, and program the registers on rbplus systems.

This fixes lots of:
dEQP-VK.pipeline.blend.*

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: "17.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h