radv: drop emit2d_dst_type.
authorDave Airlie <airlied@redhat.com>
Sun, 3 Sep 2017 08:37:38 +0000 (18:37 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 3 Sep 2017 22:40:27 +0000 (08:40 +1000)
This is completely unused now.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuien.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_meta_blit2d.c

index 79e76be49bca39fad4afab32a2b617338bdc0c64..6763384cadaaadb243d515277167b85f6f7b45bd 100644 (file)
 #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,