radv: move spi_baryc_cntl to pipeline
authorDave Airlie <airlied@redhat.com>
Wed, 24 Jan 2018 02:53:26 +0000 (12:53 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 24 Jan 2018 20:47:28 +0000 (06:47 +1000)
commit298554541da220ebdcd9aa9b9055ede2481d5817
treecff794b944778b29b60e5a8f6e4737f7edd396be
parent125c0529f3bb9607e2962acb95b2d4b97639b864
radv: move spi_baryc_cntl to pipeline

We need to enable the pos float location 2 mode anytime we have
persample not just when forced by the frag shader.

This fixes:
dEQP-VK.pipeline.multisample.min_sample_shading*

Fixes: 58c97a079 (radv: enable location at sample when persample is forced.)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
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