[Freedreno] [PATCH] a3xx: add RGTC formats

Ilia Mirkin imirkin at alum.mit.edu
Tue Dec 2 22:21:30 PST 2014


Found through brute force. There were a few other id's that matched
RGTC1_UNORM, but this one made the most sense due to its numerical
proximity.
---
 rnndb/adreno/a3xx.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/rnndb/adreno/a3xx.xml b/rnndb/adreno/a3xx.xml
index 9328b9c..e27daf0 100644
--- a/rnndb/adreno/a3xx.xml
+++ b/rnndb/adreno/a3xx.xml
@@ -180,6 +180,12 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
 	<value name="TFMT_32_SINT" value="0x5c"/>
 	<value name="TFMT_32_32_SINT" value="0x5d"/>
 	<value name="TFMT_32_32_32_32_SINT" value="0x5f"/>
+
+        <!-- These pass some but not all tests -->
+        <value name="TFMT_RGTC2_SNORM" value="0x70"/>
+        <value name="TFMT_RGTC2_UNORM" value="0x71"/>
+        <value name="TFMT_RGTC1_SNORM" value="0x72"/>
+        <value name="TFMT_RGTC1_UNORM" value="0x73"/>
 </enum>
 
 <enum name="a3xx_tex_fetchsize">
-- 
2.0.4



More information about the Freedreno mailing list