[Freedreno] [PATCH] a3xx, a4xx: fix Z_CLAMP_ENABLE name in RB_DEPTH_CONTROL

Ilia Mirkin imirkin at alum.mit.edu
Mon Aug 15 03:38:58 UTC 2016


This bit appears in the original revision of the db410c docs, and is
tested on a4xx to work.
---
 rnndb/adreno/a3xx.xml | 2 +-
 rnndb/adreno/a4xx.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rnndb/adreno/a3xx.xml b/rnndb/adreno/a3xx.xml
index 6228804..980f711 100644
--- a/rnndb/adreno/a3xx.xml
+++ b/rnndb/adreno/a3xx.xml
@@ -979,7 +979,7 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
 		<bitfield name="Z_WRITE_ENABLE" pos="2" type="boolean"/>
 		<bitfield name="EARLY_Z_DISABLE" pos="3" type="boolean"/>
 		<bitfield name="ZFUNC" low="4" high="6" type="adreno_compare_func"/>
-		<bitfield name="BF_ENABLE" pos="7" type="boolean"/>
+		<bitfield name="Z_CLAMP_ENABLE" pos="7" type="boolean"/>
 		<doc>Z_TEST_ENABLE bit is set for zfunc other than GL_ALWAYS or GL_NEVER</doc>
 		<bitfield name="Z_TEST_ENABLE" pos="31" type="boolean"/>
 	</reg32>
diff --git a/rnndb/adreno/a4xx.xml b/rnndb/adreno/a4xx.xml
index d8e88c1..9f4c3d2 100644
--- a/rnndb/adreno/a4xx.xml
+++ b/rnndb/adreno/a4xx.xml
@@ -1065,7 +1065,7 @@ perhaps they should be taken with a grain of salt
 		<bitfield name="Z_ENABLE" pos="1" type="boolean"/>
 		<bitfield name="Z_WRITE_ENABLE" pos="2" type="boolean"/>
 		<bitfield name="ZFUNC" low="4" high="6" type="adreno_compare_func"/>
-		<bitfield name="BF_ENABLE" pos="7" type="boolean"/>
+		<bitfield name="Z_CLAMP_ENABLE" pos="7" type="boolean"/>
 		<bitfield name="EARLY_Z_DISABLE" pos="16" type="boolean"/>
 		<bitfield name="FORCE_FRAGZ_TO_FS" pos="17" type="boolean"/>
 		<doc>Z_TEST_ENABLE bit is set for zfunc other than GL_ALWAYS or GL_NEVER</doc>
-- 
2.7.3



More information about the Freedreno mailing list