[Mesa-dev] [PATCH v2] mesa/glthread: add async support to ARB_viewport_array functions

Dieter Nützel Dieter at nuetzel-hh.de
Thu Apr 13 23:50:29 UTC 2017


Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>
r600g, Turks XT (6670)


Am 13.04.2017 20:10, schrieb Bartosz Tomczyk:
> v2: fix attribute name, it is count_scale not scale_count
> ---
>  src/mapi/glapi/gen/ARB_viewport_array.xml | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/src/mapi/glapi/gen/ARB_viewport_array.xml
> b/src/mapi/glapi/gen/ARB_viewport_array.xml
> index ebd5b99c83..be67912884 100644
> --- a/src/mapi/glapi/gen/ARB_viewport_array.xml
> +++ b/src/mapi/glapi/gen/ARB_viewport_array.xml
> @@ -32,7 +32,7 @@
>      <function name="ViewportArrayv">
>          <param name="first" type="GLuint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="v" type="const GLfloat *"/>
> +        <param name="v" type="const GLfloat *" count="count" 
> count_scale="4"/>
>      </function>
>      <function name="ViewportIndexedf">
>          <param name="index" type="GLuint"/>
> @@ -43,12 +43,12 @@
>      </function>
>      <function name="ViewportIndexedfv">
>          <param name="index" type="GLuint"/>
> -        <param name="v" type="const GLfloat *"/>
> +        <param name="v" type="const GLfloat *" count="4"/>
>      </function>
>      <function name="ScissorArrayv">
>          <param name="first" type="GLuint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="v" type="const int *"/>
> +        <param name="v" type="const int *" count="count" 
> count_scale="4"/>
>      </function>
>      <function name="ScissorIndexed">
>          <param name="index" type="GLuint"/>
> @@ -59,12 +59,12 @@
>      </function>
>      <function name="ScissorIndexedv">
>          <param name="index" type="GLuint"/>
> -        <param name="v" type="const GLint *"/>
> +        <param name="v" type="const GLint *" count="4"/>
>      </function>
>      <function name="DepthRangeArrayv">
>          <param name="first" type="GLuint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="v" type="const GLclampd *"/>
> +        <param name="v" type="const GLclampd *" count="count" 
> count_scale="2"/>
>      </function>
>      <function name="DepthRangeIndexed">
>          <param name="index" type="GLuint"/>


More information about the mesa-dev mailing list