[Mesa-dev] [PATCH 1/3] radv: drop emit2d_dst_type.

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Sun Sep 3 21:45:32 UTC 2017


Patches 1-2 are

Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>

On Sun, Sep 3, 2017, at 12:06, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
> 
> This is completely unused now.
> 
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  src/amd/vulkan/radv_meta_blit2d.c | 16 ----------------
>  1 file changed, 16 deletions(-)
> 
> diff --git a/src/amd/vulkan/radv_meta_blit2d.c
> b/src/amd/vulkan/radv_meta_blit2d.c
> index 79e76be..6763384 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,
> -- 
> 2.9.5
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list