diff options
author | Ilia Mirkin <[email protected]> | 2015-11-20 21:49:28 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-11-21 09:08:16 -0500 |
commit | 7426d9581afaa572bbf16b9eb69214743615c42d (patch) | |
tree | a6a4bbc4178c4e80ed2081b253d68f174d946b4f /src/gallium/drivers/freedreno/a4xx | |
parent | 740eb63aa78a48bae5248b72f023d725ed82d1b3 (diff) |
freedreno/a4xx: add 11_11_10_float vertex type support
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a4xx')
-rw-r--r-- | src/gallium/drivers/freedreno/a4xx/a4xx.xml.h | 1 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/a4xx/fd4_format.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a4xx/a4xx.xml.h b/src/gallium/drivers/freedreno/a4xx/a4xx.xml.h index 1192fc3c5fe..e05b7ee0f85 100644 --- a/src/gallium/drivers/freedreno/a4xx/a4xx.xml.h +++ b/src/gallium/drivers/freedreno/a4xx/a4xx.xml.h @@ -112,6 +112,7 @@ enum a4xx_vtx_fmt { VFMT4_32_32_FIXED = 10, VFMT4_32_32_32_FIXED = 11, VFMT4_32_32_32_32_FIXED = 12, + VFMT4_11_11_10_FLOAT = 13, VFMT4_16_SINT = 16, VFMT4_16_16_SINT = 17, VFMT4_16_16_16_SINT = 18, diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_format.c b/src/gallium/drivers/freedreno/a4xx/fd4_format.c index eeaa0a2b847..dceb3b98c75 100644 --- a/src/gallium/drivers/freedreno/a4xx/fd4_format.c +++ b/src/gallium/drivers/freedreno/a4xx/fd4_format.c @@ -208,7 +208,7 @@ static struct fd4_format formats[PIPE_FORMAT_COUNT] = { V_(R10G10B10A2_SSCALED, 10_10_10_2_SINT, NONE, WZYX), V_(B10G10R10A2_SSCALED, 10_10_10_2_SINT, NONE, WXYZ), - _T(R11G11B10_FLOAT, 11_11_10_FLOAT, R11G11B10_FLOAT, WZYX), + VT(R11G11B10_FLOAT, 11_11_10_FLOAT, R11G11B10_FLOAT, WZYX), _T(R9G9B9E5_FLOAT, 9_9_9_E5_FLOAT, NONE, WZYX), _T(Z24X8_UNORM, X8Z24_UNORM, R8G8B8A8_UNORM, WZYX), |