From 2b79bbde892a9a07149f8bb0f374fc0d34db4bd8 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sun, 3 Sep 2017 18:37:38 +1000 Subject: radv: drop emit2d_dst_type. This is completely unused now. Reviewed-by: Bas Nieuwenhuizen Signed-off-by: Dave Airlie --- src/amd/vulkan/radv_meta_blit2d.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src') diff --git a/src/amd/vulkan/radv_meta_blit2d.c b/src/amd/vulkan/radv_meta_blit2d.c index 79e76be49bc..6763384cada 100644 --- a/src/amd/vulkan/radv_meta_blit2d.c +++ b/src/amd/vulkan/radv_meta_blit2d.c @@ -28,22 +28,6 @@ #include "nir/nir_builder.h" #include "vk_format.h" -enum blit2d_dst_type { - /* We can bind this destination as a "normal" render target and render - * to it just like you would anywhere else. - */ - BLIT2D_DST_TYPE_NORMAL, - - /* The destination has a 3-channel RGB format. Since we can't render to - * non-power-of-two textures, we have to bind it as a red texture and - * select the correct component for the given red pixel in the shader. - */ - BLIT2D_DST_TYPE_RGB, - - BLIT2D_NUM_DST_TYPES, -}; - - enum blit2d_src_type { BLIT2D_SRC_TYPE_IMAGE, BLIT2D_SRC_TYPE_BUFFER, -- cgit v1.2.3