[Freedreno] [PATCH] a4xx: fix 5_5_5_1 sampler format

Ilia Mirkin imirkin at alum.mit.edu
Wed Nov 18 22:40:26 PST 2015


All the colors looked off and shifted, but white was fine. Might be
another 565 variant?
---
 rnndb/adreno/a4xx.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rnndb/adreno/a4xx.xml b/rnndb/adreno/a4xx.xml
index 5bb2112..b83bcfa 100644
--- a/rnndb/adreno/a4xx.xml
+++ b/rnndb/adreno/a4xx.xml
@@ -134,7 +134,7 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
 
 <enum name="a4xx_tex_fmt">
 	<value name="TFMT4_5_6_5_UNORM" value="0x0b"/>
-	<value name="TFMT4_5_5_5_1_UNORM" value="0x0a"/>
+	<value name="TFMT4_5_5_5_1_UNORM" value="0x09"/>
 	<value name="TFMT4_4_4_4_4_UNORM" value="0x08"/>
 	<value name="TFMT4_X8Z24_UNORM" value="0x47"/>
 
-- 
2.4.10



More information about the Freedreno mailing list