genxml: Clip guardbands are float, not int.
authorRafael Antognolli <rafael.antognolli@intel.com>
Thu, 30 Mar 2017 17:36:25 +0000 (10:36 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 3 May 2017 23:41:07 +0000 (16:41 -0700)
This makes genxml create the right struct types, and generate the right
batch commands.

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/genxml/gen6.xml

index a12e22c1c1e6bc1c2845dd75aae8e22c61ac1988..2173dbf088e346f1ec7b935d87532e9f2e9b6087 100644 (file)
   </struct>
 
   <struct name="CLIP_VIEWPORT" length="4">
-    <field name="XMin Clip Guardband" start="0" end="31" type="uint"/>
-    <field name="XMax Clip Guardband" start="32" end="63" type="uint"/>
-    <field name="YMin Clip Guardband" start="64" end="95" type="uint"/>
-    <field name="YMax Clip Guardband" start="96" end="127" type="uint"/>
+    <field name="XMin Clip Guardband" start="0" end="31" type="float"/>
+    <field name="XMax Clip Guardband" start="32" end="63" type="float"/>
+    <field name="YMin Clip Guardband" start="64" end="95" type="float"/>
+    <field name="YMax Clip Guardband" start="96" end="127" type="float"/>
   </struct>
 
   <struct name="SCISSOR_RECT" length="2">