radv/meta: reduce vertex buffer usage in clear shaders
authorDave Airlie <airlied@redhat.com>
Tue, 18 Apr 2017 05:50:10 +0000 (15:50 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 19 Apr 2017 00:02:53 +0000 (10:02 +1000)
commitdd17e4ceb40efdd8895b24eb3940771bf64208f1
treefdf445a25e0f295c61dd6c9fb6bbe27c5ef135e9
parent84b9e3a831b7e5af047792cc9dd1bea4e07827ac
radv/meta: reduce vertex buffer usage in clear shaders

For depth clears we have to pass the depth in the 2nd
component, we can use push constants for some of this
later to drop the vertex buffer completely

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_clear.c