[Freedreno] [PATCH 3/3] a3xx: fix polygon offset radix

Ilia Mirkin imirkin at alum.mit.edu
Fri Apr 3 23:53:01 PDT 2015


---

Based on some left-over traces I have. This doesn't seem to fix
polygon offset tests though, so there's probably more to it.

 rnndb/adreno/a3xx.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rnndb/adreno/a3xx.xml b/rnndb/adreno/a3xx.xml
index 4fe6b27..135d863 100644
--- a/rnndb/adreno/a3xx.xml
+++ b/rnndb/adreno/a3xx.xml
@@ -555,7 +555,7 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
 		<bitfield name="VAL" low="0" high="23" type="fixed" radix="14"/>
 		<doc>range of -8.0 to 8.0</doc>
 	</reg32>
-	<reg32 offset="0x206d" name="GRAS_SU_POLY_OFFSET_OFFSET" radix="14" type="fixed">
+	<reg32 offset="0x206d" name="GRAS_SU_POLY_OFFSET_OFFSET" radix="6" type="fixed">
 		<doc>range of -512.0 to 512.0</doc>
 	</reg32>
 	<reg32 offset="0x2070" name="GRAS_SU_MODE_CONTROL">
-- 
2.0.5



More information about the Freedreno mailing list