radv/meta: refactor out some common shaders.
authorDave Airlie <airlied@redhat.com>
Tue, 18 Apr 2017 23:13:06 +0000 (09:13 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 19 Apr 2017 00:03:05 +0000 (10:03 +1000)
commit03a2ca63562b73d36658e43c0d7d77150421be60
treeaea603afee4b7211f294b88f61dac4953cf7f4ae
parentbdd98d950fd7138b4625571964ad0cc76905d4f7
radv/meta: refactor out some common shaders.

The vs vertex generate and fs noop shaders are used in a few places,
so refactor them out.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_meta.c
src/amd/vulkan/radv_meta.h
src/amd/vulkan/radv_meta_decompress.c
src/amd/vulkan/radv_meta_fast_clear.c
src/amd/vulkan/radv_meta_resolve.c