[Mesa-dev] [PATCH 23/35] genxml: Clip guardbands are float, not int.

Kenneth Graunke kenneth at whitecape.org
Thu Apr 20 00:19:22 UTC 2017


On Wednesday, April 19, 2017 4:56:16 PM PDT Rafael Antognolli wrote:
> This makes genxml create the right struct types, and generate the right
> batch commands.
> 
> Signed-off-by: Rafael Antognolli <rafael.antognolli at intel.com>
> ---
>  src/intel/genxml/gen6.xml | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/src/intel/genxml/gen6.xml b/src/intel/genxml/gen6.xml
> index a12e22c..2173dbf 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">
> 

Let's change the Gen4-5 XML at the same time.  With that fixed,
this patch is:

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170419/2ba10012/attachment.sig>


More information about the mesa-dev mailing list