From: Ilia Mirkin Date: Sat, 29 Nov 2014 22:04:57 +0000 (-0500) Subject: freedreno/a3xx: add 16-bit unorm/snorm texture formats X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d95e99622332fd1cb7f2bf77bee3fdf0e0848b9;p=mesa.git freedreno/a3xx: add 16-bit unorm/snorm texture formats Signed-off-by: Ilia Mirkin --- diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_format.c b/src/gallium/drivers/freedreno/a3xx/fd3_format.c index 676084bb63f..59f5a444979 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_format.c +++ b/src/gallium/drivers/freedreno/a3xx/fd3_format.c @@ -85,8 +85,8 @@ static struct fd3_format formats[PIPE_FORMAT_COUNT] = { _T(I8_UNORM, 8_UNORM, NONE, WZYX), /* 16-bit */ - V_(R16_UNORM, 16_UNORM, NONE, WZYX), - V_(R16_SNORM, 16_SNORM, NONE, WZYX), + VT(R16_UNORM, 16_UNORM, NONE, WZYX), + VT(R16_SNORM, 16_SNORM, NONE, WZYX), VT(R16_UINT, 16_UINT, R16_UINT, WZYX), VT(R16_SINT, 16_SINT, R16_SINT, WZYX), V_(R16_USCALED, 16_UINT, NONE, WZYX), @@ -122,8 +122,8 @@ static struct fd3_format formats[PIPE_FORMAT_COUNT] = { VT(R32_FLOAT, 32_FLOAT, NONE, WZYX), V_(R32_FIXED, 32_FIXED, NONE, WZYX), - V_(R16G16_UNORM, 16_16_UNORM, NONE, WZYX), - V_(R16G16_SNORM, 16_16_SNORM, NONE, WZYX), + VT(R16G16_UNORM, 16_16_UNORM, NONE, WZYX), + VT(R16G16_SNORM, 16_16_SNORM, NONE, WZYX), VT(R16G16_UINT, 16_16_UINT, R16G16_UINT, WZYX), VT(R16G16_SINT, 16_16_SINT, R16G16_SINT, WZYX), V_(R16G16_USCALED, 16_16_UINT, NONE, WZYX), @@ -178,8 +178,8 @@ static struct fd3_format formats[PIPE_FORMAT_COUNT] = { V_(R16G16B16_FLOAT, 16_16_16_FLOAT, NONE, WZYX), /* 64-bit */ - V_(R16G16B16A16_UNORM, 16_16_16_16_UNORM, NONE, WZYX), - V_(R16G16B16A16_SNORM, 16_16_16_16_SNORM, NONE, WZYX), + VT(R16G16B16A16_UNORM, 16_16_16_16_UNORM, NONE, WZYX), + VT(R16G16B16A16_SNORM, 16_16_16_16_SNORM, NONE, WZYX), VT(R16G16B16A16_UINT, 16_16_16_16_UINT, R16G16B16A16_UINT, WZYX), _T(R16G16B16X16_UINT, 16_16_16_16_UINT, R16G16B16A16_UINT, WZYX), VT(R16G16B16A16_SINT, 16_16_16_16_SINT, R16G16B16A16_SINT, WZYX),