[Nouveau] [PATCH 2/5] renouveau/nv40: describe CLEAR_VALUE_COLOR bitfields
Luca Barbieri
luca at luca-barbieri.com
Fri Feb 26 05:38:21 PST 2010
---
renouveau.xml | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/renouveau.xml b/renouveau.xml
index 2bfa1d0..2b6e8d7 100644
--- a/renouveau.xml
+++ b/renouveau.xml
@@ -4253,7 +4253,12 @@
<reg32 offset="0x1d84"/>
<reg32 offset="0x1d88"/>
<reg32 offset="0x1d8c" name="CLEAR_VALUE_DEPTH"/>
- <reg32 offset="0x1d90" name="CLEAR_VALUE_COLOR"/>
+ <reg32 offset="0x1d90" name="CLEAR_VALUE_COLOR" type="bitfield">
+ <bitfield name="B" high="7" low="0" type="int" />
+ <bitfield name="G" high="15" low="8" type="int" />
+ <bitfield name="R" high="23" low="16" type="int" />
+ <bitfield name="A" high="31" low="24" type="int" />
+ </reg32>
<reg32 offset="0x1d94" name="CLEAR_BUFFERS" type="bitfield">
<bitfield name="COLOR_A" high="7" low="7" type="boolean"/>
<bitfield name="COLOR_B" high="6" low="6" type="boolean"/>
--
1.6.6.1.476.g01ddb
More information about the Nouveau
mailing list