[Mesa-dev] [PATCH 2/2] mesa/glthread: add async support to ARB_gpu_shader_int64 uniform functions

Nicolai Hähnle nhaehnle at gmail.com
Thu Mar 30 13:22:53 UTC 2017


Both patches:

Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

On 30.03.2017 11:43, Timothy Arceri wrote:
> ---
>  src/mapi/glapi/gen/ARB_gpu_shader_int64.xml | 32 ++++++++++++++---------------
>  1 file changed, 16 insertions(+), 16 deletions(-)
>
> diff --git a/src/mapi/glapi/gen/ARB_gpu_shader_int64.xml b/src/mapi/glapi/gen/ARB_gpu_shader_int64.xml
> index d0e4c54..f6ee64c 100644
> --- a/src/mapi/glapi/gen/ARB_gpu_shader_int64.xml
> +++ b/src/mapi/glapi/gen/ARB_gpu_shader_int64.xml
> @@ -27,39 +27,39 @@
>          <param name="location" type="GLint"/>
>          <param name="x" type="GLint64"/>
>          <param name="y" type="GLint64"/>
>          <param name="z" type="GLint64"/>
>          <param name="w" type="GLint64"/>
>      </function>
>
>      <function name="Uniform1i64vARB">
>          <param name="location" type="GLint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="value" type="const GLint64 *"/>
> +        <param name="value" type="const GLint64 *" count="count"/>
>      </function>
>
>      <function name="Uniform2i64vARB">
>          <param name="location" type="GLint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="value" type="const GLint64 *"/>
> +        <param name="value" type="const GLint64 *" count="count" count_scale="2"/>
>      </function>
>
>      <function name="Uniform3i64vARB">
>          <param name="location" type="GLint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="value" type="const GLint64 *"/>
> +        <param name="value" type="const GLint64 *" count="count" count_scale="3"/>
>      </function>
>
>      <function name="Uniform4i64vARB">
>          <param name="location" type="GLint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="value" type="const GLint64 *"/>
> +        <param name="value" type="const GLint64 *" count="count" count_scale="4"/>
>      </function>
>
>      <function name="Uniform1ui64ARB">
>          <param name="location" type="GLint"/>
>          <param name="x" type="GLuint64"/>
>      </function>
>
>      <function name="Uniform2ui64ARB">
>          <param name="location" type="GLint"/>
>          <param name="x" type="GLuint64"/>
> @@ -77,39 +77,39 @@
>          <param name="location" type="GLint"/>
>          <param name="x" type="GLuint64"/>
>          <param name="y" type="GLuint64"/>
>          <param name="z" type="GLuint64"/>
>          <param name="w" type="GLuint64"/>
>      </function>
>
>      <function name="Uniform1ui64vARB">
>          <param name="location" type="GLint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="value" type="const GLuint64 *"/>
> +        <param name="value" type="const GLuint64 *"  count="count"/>
>      </function>
>
>      <function name="Uniform2ui64vARB">
>          <param name="location" type="GLint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="value" type="const GLuint64 *"/>
> +        <param name="value" type="const GLuint64 *" count="count" count_scale="2"/>
>      </function>
>
>      <function name="Uniform3ui64vARB">
>          <param name="location" type="GLint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="value" type="const GLuint64 *"/>
> +        <param name="value" type="const GLuint64 *" count="count" count_scale="3"/>
>      </function>
>
>      <function name="Uniform4ui64vARB">
>          <param name="location" type="GLint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="value" type="const GLuint64 *"/>
> +        <param name="value" type="const GLuint64 *" count="count" count_scale="4"/>
>      </function>
>
>      <function name="GetUniformi64vARB">
>          <param name="program" type="GLuint"/>
>          <param name="location" type="GLint"/>
>          <param name="params" type="GLint64 *"/>
>      </function>
>
>      <function name="GetUniformui64vARB">
>          <param name="program" type="GLuint"/>
> @@ -158,42 +158,42 @@
>          <param name="x" type="GLint64"/>
>          <param name="y" type="GLint64"/>
>          <param name="z" type="GLint64"/>
>          <param name="w" type="GLint64"/>
>      </function>
>
>      <function name="ProgramUniform1i64vARB">
>          <param name="program" type="GLuint"/>
>          <param name="location" type="GLint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="value" type="const GLint64 *"/>
> +        <param name="value" type="const GLint64 *" count="count"/>
>      </function>
>
>      <function name="ProgramUniform2i64vARB">
>          <param name="program" type="GLuint"/>
>          <param name="location" type="GLint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="value" type="const GLint64 *"/>
> +        <param name="value" type="const GLint64 *" count="count" count_scale="2"/>
>      </function>
>
>      <function name="ProgramUniform3i64vARB">
>          <param name="program" type="GLuint"/>
>          <param name="location" type="GLint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="value" type="const GLint64 *"/>
> +        <param name="value" type="const GLint64 *" count="count" count_scale="3"/>
>      </function>
>
>      <function name="ProgramUniform4i64vARB">
>          <param name="program" type="GLuint"/>
>          <param name="location" type="GLint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="value" type="const GLint64 *"/>
> +        <param name="value" type="const GLint64 *" count="count" count_scale="4"/>
>      </function>
>
>      <function name="ProgramUniform1ui64ARB">
>          <param name="program" type="GLuint"/>
>          <param name="location" type="GLint"/>
>          <param name="x" type="GLuint64"/>
>      </function>
>
>      <function name="ProgramUniform2ui64ARB">
>          <param name="program" type="GLuint"/>
> @@ -216,42 +216,42 @@
>          <param name="x" type="GLuint64"/>
>          <param name="y" type="GLuint64"/>
>          <param name="z" type="GLuint64"/>
>          <param name="w" type="GLuint64"/>
>      </function>
>
>      <function name="ProgramUniform1ui64vARB">
>          <param name="program" type="GLuint"/>
>  	<param name="location" type="GLint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="value" type="const GLuint64 *"/>
> +        <param name="value" type="const GLuint64 *" count="count"/>
>      </function>
>
>      <function name="ProgramUniform2ui64vARB">
>          <param name="program" type="GLuint"/>
>          <param name="location" type="GLint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="value" type="const GLuint64 *"/>
> +        <param name="value" type="const GLuint64 *" count="count" count_scale="2"/>
>      </function>
>
>      <function name="ProgramUniform3ui64vARB">
>          <param name="program" type="GLuint"/>
>          <param name="location" type="GLint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="value" type="const GLuint64 *"/>
> +        <param name="value" type="const GLuint64 *" count="count" count_scale="3"/>
>      </function>
>
>      <function name="ProgramUniform4ui64vARB">
>          <param name="program" type="GLuint"/>
>          <param name="location" type="GLint"/>
>          <param name="count" type="GLsizei"/>
> -        <param name="value" type="const GLuint64 *"/>
> +        <param name="value" type="const GLuint64 *" count="count" count_scale="4"/>
>      </function>
>
>      <enum name="INT64_ARB"   value="0x140E"/>
>      <enum name="UNSIGNED_INT64_ARB"   value="0x140F"/>
>      <enum name="INT64_VEC2_ARB"   value="0x8FE9"/>
>      <enum name="INT64_VEC3_ARB"   value="0x8FEA"/>
>      <enum name="INT64_VEC4_ARB"   value="0x8FEB"/>
>      <enum name="UNSIGNED_INT64_VEC2_ARB"   value="0x8FF5"/>
>      <enum name="UNSIGNED_INT64_VEC3_ARB"   value="0x8FF6"/>
>      <enum name="UNSIGNED_INT64_VEC4_ARB"   value="0x8FF7"/>
>


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


More information about the mesa-dev mailing list