From: Dave Airlie Date: Sun, 3 Sep 2017 08:37:38 +0000 (+1000) Subject: radv: drop emit2d_dst_type. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b79bbde892a9a07149f8bb0f374fc0d34db4bd8;p=mesa.git radv: drop emit2d_dst_type. This is completely unused now. Reviewed-by: Bas Nieuwenhuizen Signed-off-by: Dave Airlie --- 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,