diff options
author | Ilia Mirkin <[email protected]> | 2014-11-29 17:04:57 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-11-30 13:00:41 -0500 |
commit | 5d95e99622332fd1cb7f2bf77bee3fdf0e0848b9 (patch) | |
tree | 13145ab8023e26f5a37d628e856d3fa39cf3e790 /src/gallium/drivers/freedreno | |
parent | 547182977f5d893334cb630b974136c05a9461ab (diff) |
freedreno/a3xx: add 16-bit unorm/snorm texture formats
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/a3xx/fd3_format.c | 12 |
1 files changed, 6 insertions, 6 deletions
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), |