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

Nicolai Hähnle nhaehnle at gmail.com
Tue Apr 18 10:49:10 UTC 2017


On 13.04.2017 20:10, Bartosz Tomczyk wrote:
> v2: fix attribute name, it is count_scale not scale_count

R-b and pushed, thanks!

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


-- 
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.


More information about the mesa-dev mailing list