mesa: add missing count_scale attribute

The EXT_gpu_program_parameters spec says:

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

Fixes: a4e935f2d7 ("mesa: add EXT_dsa + EXT_gpu_program_parameters functions")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7943
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8025
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20603>
(cherry picked from commit 37dcd18331)
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2023-01-10 10:01:06 +01:00 committed by Eric Engestrom
parent cdac733874
commit 05125049cb
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -1400,8 +1400,8 @@
<param name="program" type="GLuint" />
<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>