radv/meta: add support for save/restore meta without vertex data.
authorDave Airlie <airlied@redhat.com>
Tue, 18 Apr 2017 05:28:04 +0000 (15:28 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 19 Apr 2017 00:02:23 +0000 (10:02 +1000)
commit0e6d532d327a70b0ec6522754b3d8bee6312335f
treec9d0ef0d31ef8aebb25725ae9292fcf9dab79567
parent60a93e11ba225a249952560499f921dffc7ff82c
radv/meta: add support for save/restore meta without vertex data.

Some of the shaders could just generate the vertex data in the
shader, so add helpers to allow us to move to doing that.

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