diff options
author | Marek Olšák <[email protected]> | 2020-02-19 20:28:01 -0500 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-06 01:06:14 +0000 |
commit | 59e96bc513be3938e2d6dc4357e4d38fa5481f6a (patch) | |
tree | 386ad5f08bac6e4ba7b58e1b03706082178acbda /src/mapi/glapi/gen/ARB_sampler_objects.xml | |
parent | 108fdb54c6c1b82ec3131b0c2e00d554b3729cfb (diff) |
glthread: add support for TexParameteri and SamplerParameteri functions
It's straightfoward except that I had to hack the python scripts to add
"marshal_count", which behaves just like "count" except that "variable_param"
is ignored. ("variable_param" changes the behavior of "count", which I don't
want)
Reviewed-by: Timothy Arceri <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948>
Diffstat (limited to 'src/mapi/glapi/gen/ARB_sampler_objects.xml')
-rw-r--r-- | src/mapi/glapi/gen/ARB_sampler_objects.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mapi/glapi/gen/ARB_sampler_objects.xml b/src/mapi/glapi/gen/ARB_sampler_objects.xml index b8fdd125e24..1e628124c7f 100644 --- a/src/mapi/glapi/gen/ARB_sampler_objects.xml +++ b/src/mapi/glapi/gen/ARB_sampler_objects.xml @@ -42,25 +42,25 @@ <function name="SamplerParameteriv" es2="3.0"> <param name="sampler" type="GLuint"/> <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *"/> + <param name="params" type="const GLint *" count="_mesa_tex_param_enum_to_count(pname)"/> </function> <function name="SamplerParameterfv" es2="3.0"> <param name="sampler" type="GLuint"/> <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *"/> + <param name="params" type="const GLfloat *" count="_mesa_tex_param_enum_to_count(pname)"/> </function> <function name="SamplerParameterIiv" es2="3.2"> <param name="sampler" type="GLuint"/> <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *"/> + <param name="params" type="const GLint *" count="_mesa_tex_param_enum_to_count(pname)"/> </function> <function name="SamplerParameterIuiv" es2="3.2"> <param name="sampler" type="GLuint"/> <param name="pname" type="GLenum"/> - <param name="params" type="const GLuint *"/> + <param name="params" type="const GLuint *" count="_mesa_tex_param_enum_to_count(pname)"/> </function> <function name="GetSamplerParameteriv" es2="3.0"> |