mesa: add missing count_scale attributes

The EXT_gpu_program_parameters spec says:

   <params> points to an array of 4*<count> values

for both functions.

Cc: mesa-stable
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20603>
(cherry picked from commit 1ab80eb061)
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2023-01-10 10:04:40 +01:00 committed by Eric Engestrom
parent 05125049cb
commit 936c86f52a
2 changed files with 5 additions and 5 deletions

View file

@ -409,7 +409,7 @@
"description": "mesa: add missing count_scale attributes",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null
},

View file

@ -12760,15 +12760,15 @@
<function name="ProgramEnvParameters4fvEXT" deprecated="3.1" exec="dlist">
<param name="target" type="GLenum"/>
<param name="index" type="GLuint"/>
<param name="count" type="GLsizei"/>
<param name="params" type="const GLfloat *" count="4"/>
<param name="count" type="GLsizei" counter="true"/>
<param name="params" type="const GLfloat *" count="count" count_scale="4"/>
</function>
<function name="ProgramLocalParameters4fvEXT" deprecated="3.1" exec="dlist">
<param name="target" type="GLenum"/>
<param name="index" type="GLuint"/>
<param name="count" type="GLsizei"/>
<param name="params" type="const GLfloat *" count="4"/>
<param name="count" type="GLsizei" counter="true"/>
<param name="params" type="const GLfloat *" count="count" count_scale="4"/>
</function>
</category>