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 <rafael.antognolli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Rafael Antognolli 2017-03-30 10:36:25 -07:00 committed by Kenneth Graunke
parent 4266c372d9
commit 5b4223dc8e
1 changed files with 4 additions and 4 deletions

View File

@ -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">