[Mesa-dev] [PATCH] gallium: remove PIPE_BIND_TRANSFER_READ/WRITE

Eric Anholt eric at anholt.net
Thu Sep 8 00:29:41 UTC 2016


Marek Olšák <maraeo at gmail.com> writes:

> From: Marek Olšák <marek.olsak at amd.com>
>
> not used in any useful way

> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> index 0627f3d..77b38b5 100644
> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> @@ -78,23 +78,21 @@ nvc0_screen_is_format_supported(struct pipe_screen *pscreen,
>     if ((desc->layout == UTIL_FORMAT_LAYOUT_ETC ||
>          desc->layout == UTIL_FORMAT_LAYOUT_ASTC) &&
>         /* The claim is that this should work on GM107 but it doesn't. Need to
>          * test further and figure out if it's a nouveau issue or a HW one.
>         nouveau_screen(pscreen)->class_3d < GM107_3D_CLASS &&
>          */
>         nouveau_screen(pscreen)->class_3d != NVEA_3D_CLASS)
>        return false;
>  
>     /* transfers & shared are always supported */

Missed transfers & shared -> shared update on this one.

Other than that,

Reviewed-by: Eric Anholt <eric at anholt.net>

Hooray for making this interface less of a mess.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160907/8cc80579/attachment.sig>


More information about the mesa-dev mailing list