diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/freedreno/a5xx/a5xx.xml.h | 4 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/a5xx/fd5_format.c | 16 |
2 files changed, 12 insertions, 8 deletions
diff --git a/src/gallium/drivers/freedreno/a5xx/a5xx.xml.h b/src/gallium/drivers/freedreno/a5xx/a5xx.xml.h index 929990f5197..44179ed9af8 100644 --- a/src/gallium/drivers/freedreno/a5xx/a5xx.xml.h +++ b/src/gallium/drivers/freedreno/a5xx/a5xx.xml.h @@ -200,6 +200,10 @@ enum a5xx_tex_fmt { TFMT5_32_32_32_32_UINT = 131, TFMT5_32_32_32_32_SINT = 132, TFMT5_X8Z24_UNORM = 160, + TFMT5_RGTC1_UNORM = 183, + TFMT5_RGTC1_SNORM = 184, + TFMT5_RGTC2_UNORM = 187, + TFMT5_RGTC2_SNORM = 188, }; enum a5xx_tex_fetchsize { diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_format.c b/src/gallium/drivers/freedreno/a5xx/fd5_format.c index 4e3c834c517..e6593a24ca4 100644 --- a/src/gallium/drivers/freedreno/a5xx/fd5_format.c +++ b/src/gallium/drivers/freedreno/a5xx/fd5_format.c @@ -293,14 +293,14 @@ static struct fd5_format formats[PIPE_FORMAT_COUNT] = { // _T(BPTC_RGB_FLOAT, BPTC_FLOAT, NONE, WZYX), // _T(BPTC_RGB_UFLOAT, BPTC_UFLOAT, NONE, WZYX), -// _T(RGTC1_UNORM, RGTC1_UNORM, NONE, WZYX), -// _T(RGTC1_SNORM, RGTC1_SNORM, NONE, WZYX), -// _T(RGTC2_UNORM, RGTC2_UNORM, NONE, WZYX), -// _T(RGTC2_SNORM, RGTC2_SNORM, NONE, WZYX), -// _T(LATC1_UNORM, RGTC1_UNORM, NONE, WZYX), -// _T(LATC1_SNORM, RGTC1_SNORM, NONE, WZYX), -// _T(LATC2_UNORM, RGTC2_UNORM, NONE, WZYX), -// _T(LATC2_SNORM, RGTC2_SNORM, NONE, WZYX), + _T(RGTC1_UNORM, RGTC1_UNORM, NONE, WZYX), + _T(RGTC1_SNORM, RGTC1_SNORM, NONE, WZYX), + _T(RGTC2_UNORM, RGTC2_UNORM, NONE, WZYX), + _T(RGTC2_SNORM, RGTC2_SNORM, NONE, WZYX), + _T(LATC1_UNORM, RGTC1_UNORM, NONE, WZYX), + _T(LATC1_SNORM, RGTC1_SNORM, NONE, WZYX), + _T(LATC2_UNORM, RGTC2_UNORM, NONE, WZYX), + _T(LATC2_SNORM, RGTC2_SNORM, NONE, WZYX), // _T(ASTC_4x4, ASTC_4x4, NONE, WZYX), // _T(ASTC_5x4, ASTC_5x4, NONE, WZYX), |