summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a4xx/a4xx.xml.h
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-11-20 18:34:03 -0500
committerIlia Mirkin <[email protected]>2015-11-20 19:46:21 -0500
commitfe29330406f8ea277b2c02f9c6dd2da78796ea84 (patch)
tree1ba00808c30fdf4bed22e82219eae0ef408e289b /src/gallium/drivers/freedreno/a4xx/a4xx.xml.h
parent39fa5c8419076f6ec84de0252905617feb70f279 (diff)
freedreno/a4xx: use hardware RGTC texture samplers
a4xx hardware has real support for RGTC so there's no need to fake it like we do on a3xx. Undo the hacks, and keep track of an "internal format" of a resource, which on a3xx will be different, triggering the transfer-time conversions to take place. Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a4xx/a4xx.xml.h')
-rw-r--r--src/gallium/drivers/freedreno/a4xx/a4xx.xml.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a4xx/a4xx.xml.h b/src/gallium/drivers/freedreno/a4xx/a4xx.xml.h
index e46a11e94fe..4436697aad4 100644
--- a/src/gallium/drivers/freedreno/a4xx/a4xx.xml.h
+++ b/src/gallium/drivers/freedreno/a4xx/a4xx.xml.h
@@ -207,6 +207,10 @@ enum a4xx_tex_fmt {
TFMT4_DXT1 = 86,
TFMT4_DXT3 = 87,
TFMT4_DXT5 = 88,
+ TFMT4_RGTC1_UNORM = 90,
+ TFMT4_RGTC1_SNORM = 91,
+ TFMT4_RGTC2_UNORM = 94,
+ TFMT4_RGTC2_SNORM = 95,
TFMT4_BPTC_UFLOAT = 97,
TFMT4_BPTC_FLOAT = 98,
TFMT4_BPTC = 99,