summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2017-03-30 10:36:25 -0700
committerKenneth Graunke <[email protected]>2017-05-03 16:41:07 -0700
commit5b4223dc8ee738eabde57161af5b1848ddf4faf2 (patch)
tree4b61262be5e84b2165f8de1969b50212919d2049
parent4266c372d9c2e33e50dd33dac30a6f0e3b1124ca (diff)
genxml: Clip guardbands are float, not int.
This makes genxml create the right struct types, and generate the right batch commands. Signed-off-by: Rafael Antognolli <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/intel/genxml/gen6.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/intel/genxml/gen6.xml b/src/intel/genxml/gen6.xml
index a12e22c1c1e..2173dbf088e 100644
--- a/src/intel/genxml/gen6.xml
+++ b/src/intel/genxml/gen6.xml
@@ -394,10 +394,10 @@
</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">