[Freedreno] [PATCH] a3xx: document dual-source blend

Ilia Mirkin imirkin at alum.mit.edu
Sun Sep 13 16:40:33 PDT 2015


Also take this opportunity to fill in the rest of RB_RENDER_CONTROL from
the db410c docs.
---
 rnndb/adreno/a3xx.xml          | 7 +++++++
 rnndb/adreno/adreno_common.xml | 4 ++++
 2 files changed, 11 insertions(+)

diff --git a/rnndb/adreno/a3xx.xml b/rnndb/adreno/a3xx.xml
index e90d6fe..b15db80 100644
--- a/rnndb/adreno/a3xx.xml
+++ b/rnndb/adreno/a3xx.xml
@@ -607,6 +607,9 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
 		<bitfield name="PACKER_TIMER_ENABLE" pos="16" type="boolean"/>
 	</reg32>
 	<reg32 offset="0x20c1" name="RB_RENDER_CONTROL">
+		<bitfield name="DUAL_COLOR_IN_ENABLE" pos="0" type="boolean"/>
+		<bitfield name="YUV_IN_ENABLE" pos="1" type="boolean"/>
+		<bitfield name="COV_VALUE_INPUT_ENABLE" pos="2" type="boolean"/>
 		<!-- set when gl_FrontFacing is accessed in frag shader: -->
 		<bitfield name="FACENESS" pos="3" type="boolean"/>
 		<bitfield name="BIN_WIDTH" low="4" high="11" shr="5" type="uint"/>
@@ -620,8 +623,12 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
 		<bitfield name="YCOORD" pos="15" type="boolean"/>
 		<bitfield name="ZCOORD" pos="16" type="boolean"/>
 		<bitfield name="WCOORD" pos="17" type="boolean"/>
+		<bitfield name="I_CLAMP_ENABLE" pos="19" type="boolean"/>
+		<bitfield name="COV_VALUE_OUTPUT_ENABLE" pos="20" type="boolean"/>
 		<bitfield name="ALPHA_TEST" pos="22" type="boolean"/>
 		<bitfield name="ALPHA_TEST_FUNC" low="24" high="26" type="adreno_compare_func"/>
+		<bitfield name="ALPHA_TO_COVERAGE" pos="30" type="boolean"/>
+		<bitfield name="ALPHA_TO_ONE" pos="31" type="boolean"/>
 	</reg32>
 	<reg32 offset="0x20c2" name="RB_MSAA_CONTROL">
 		<bitfield name="DISABLE" pos="10" type="boolean"/>
diff --git a/rnndb/adreno/adreno_common.xml b/rnndb/adreno/adreno_common.xml
index da4f340..068beac 100644
--- a/rnndb/adreno/adreno_common.xml
+++ b/rnndb/adreno/adreno_common.xml
@@ -47,6 +47,10 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
 	<value name="FACTOR_CONSTANT_ALPHA" value="14"/>
 	<value name="FACTOR_ONE_MINUS_CONSTANT_ALPHA" value="15"/>
 	<value name="FACTOR_SRC_ALPHA_SATURATE" value="16"/>
+	<value name="FACTOR_SRC1_COLOR" value="20"/>
+	<value name="FACTOR_ONE_MINUS_SRC1_COLOR" value="21"/>
+	<value name="FACTOR_SRC1_ALPHA" value="22"/>
+	<value name="FACTOR_ONE_MINUS_SRC1_ALPHA" value="23"/>
 </enum>
 
 <bitset name="adreno_rb_stencilrefmask" inline="yes">
-- 
2.4.6



More information about the Freedreno mailing list