[Mesa-dev] [PATCH 03/18] intel/genxml: Fix type of UserClipFlags ClipTest Enable Bitmask.
Rafael Antognolli
rafael.antognolli at intel.com
Fri Jun 16 23:31:16 UTC 2017
This is a bitmask, so it can't be a boolean. Also rename it so it matches
gen6+.
Signed-off-by: Rafael Antognolli <rafael.antognolli at intel.com>
---
src/intel/genxml/gen4.xml | 2 +-
src/intel/genxml/gen45.xml | 2 +-
src/intel/genxml/gen5.xml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/intel/genxml/gen4.xml b/src/intel/genxml/gen4.xml
index d873422..e327bf4 100644
--- a/src/intel/genxml/gen4.xml
+++ b/src/intel/genxml/gen4.xml
@@ -379,7 +379,7 @@
<field name="Viewport Z ClipTest Enable" start="187" end="187" type="bool"/>
<field name="Guardband ClipTest Enable" start="186" end="186" type="bool"/>
<field name="UserClipFlags MustClip Enable" start="184" end="184" type="bool"/>
- <field name="UserClipFlags ClipTest Enable Bitmask" start="176" end="183" type="bool"/>
+ <field name="UserClipDistance ClipTest Enable Bitmask" start="176" end="183" type="uint"/>
<field name="Clip Mode" start="173" end="175" type="uint" prefix="CLIPMODE">
<value name="NORMAL" value="0"/>
<value name="ALL" value="1"/>
diff --git a/src/intel/genxml/gen45.xml b/src/intel/genxml/gen45.xml
index 4064278..864946a 100644
--- a/src/intel/genxml/gen45.xml
+++ b/src/intel/genxml/gen45.xml
@@ -381,7 +381,7 @@
<field name="Guardband ClipTest Enable" start="186" end="186" type="bool"/>
<field name="Negative W ClipTest Enable" start="185" end="185" type="bool"/>
<field name="UserClipFlags MustClip Enable" start="184" end="184" type="bool"/>
- <field name="UserClipFlags ClipTest Enable Bitmask" start="176" end="183" type="bool"/>
+ <field name="UserClipDistance ClipTest Enable Bitmask" start="176" end="183" type="uint"/>
<field name="Clip Mode" start="173" end="175" type="uint" prefix="CLIPMODE">
<value name="NORMAL" value="0"/>
<value name="ALL" value="1"/>
diff --git a/src/intel/genxml/gen5.xml b/src/intel/genxml/gen5.xml
index d759ad1..1dd7fed 100644
--- a/src/intel/genxml/gen5.xml
+++ b/src/intel/genxml/gen5.xml
@@ -379,7 +379,7 @@
<field name="Guardband ClipTest Enable" start="186" end="186" type="bool"/>
<field name="Negative W ClipTest Enable" start="185" end="185" type="bool"/>
<field name="UserClipFlags MustClip Enable" start="184" end="184" type="bool"/>
- <field name="UserClipFlags ClipTest Enable Bitmask" start="176" end="183" type="bool"/>
+ <field name="UserClipDistance ClipTest Enable Bitmask" start="176" end="183" type="uint"/>
<field name="Clip Mode" start="173" end="175" type="uint" prefix="CLIPMODE">
<value name="NORMAL" value="0"/>
<value name="ALL" value="1"/>
--
2.9.4
More information about the mesa-dev
mailing list