[Mesa-dev] [PATCH 3/4] etnaviv: add R8G8 texture support
Wladimir J. van der Laan
laanwj at gmail.com
Thu Jun 22 12:40:22 UTC 2017
On Wed, Jun 21, 2017 at 10:36:47PM +0200, Christian Gmeiner wrote:
> Passes texwrap GL_ARB_texture_rg piglit (with faked full texture rg support).
Reviewed-by: Wladimir J. van der Laan <laanwj at gmail.com>
>
> Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
> ---
> src/gallium/drivers/etnaviv/etnaviv_format.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/etnaviv/etnaviv_format.c b/src/gallium/drivers/etnaviv/etnaviv_format.c
> index 02b8d52..c9a8ce2 100644
> --- a/src/gallium/drivers/etnaviv/etnaviv_format.c
> +++ b/src/gallium/drivers/etnaviv/etnaviv_format.c
> @@ -120,7 +120,7 @@ static struct etna_format formats[PIPE_FORMAT_COUNT] = {
> _T(B5G5R5A1_UNORM, A1R5G5B5, SWIZ(X, Y, Z, W), A1R5G5B5),
> _T(B5G5R5X1_UNORM, X1R5G5B5, SWIZ(X, Y, Z, W), X1R5G5B5),
>
> - V_(R8G8_UNORM, UNSIGNED_BYTE, NONE),
> + VT(R8G8_UNORM, UNSIGNED_BYTE, EXT_G8R8 | EXT_FORMAT, SWIZ(X, Y, 0, 1), NONE),
> V_(R8G8_SNORM, BYTE, NONE),
> V_(R8G8_UINT, UNSIGNED_BYTE, NONE),
> V_(R8G8_SINT, BYTE, NONE),
> --
> 2.9.4
>
More information about the mesa-dev
mailing list