radv: add sample mask output support
authorDave Airlie <airlied@redhat.com>
Thu, 23 Feb 2017 06:06:22 +0000 (16:06 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 24 Feb 2017 00:31:53 +0000 (10:31 +1000)
commitccb70d6f53464171639ee7809c9fe5ee3a86e54d
tree58d39b492985540193b65e5ae22464986accc3a7
parent8282c5c7710fb56231ea0e1b9d7b0f9295230e15
radv: add sample mask output support

This adds support to write to sample mask from the fragment shader.

We can optimise this later like radeonsi.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_nir_to_llvm.h
src/amd/vulkan/radv_cmd_buffer.c