rusticl: skip bindgen for pipe_shader_state_from_tgsi

bindgen up to at least 0.72.1 generates invalid code (see below) and
that function is not used, so simply skip it.

    src/gallium/frontends/rusticl/rusticl_mesa_bindings.c:795:81: error: duplicate ‘const’ declaration specifier [-Werror=duplicate-decl-specifier]
      795 | void pipe_shader_state_from_tgsi__extern(struct pipe_shader_state *state, const const struct tgsi_token *tokens) { pipe_shader_state_from_tgsi(state, tokens); }
          |                                                                                 ^~~~~

Backport-to: *
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41620>
This commit is contained in:
Eric Engestrom 2026-06-04 13:58:22 +02:00 committed by Marge Bot
parent 38a98a4803
commit 09ea05cf23

View file

@ -328,6 +328,7 @@ rusticl_mesa_bindings = rust.bindgen(
'--constified-enum-module', 'pipe_tex_wrap',
'--allowlist-type', 'pipe_swizzle',
'--constified-enum-module', 'pipe_swizzle',
'--blocklist-function', 'pipe_shader_state_from_tgsi',
# rusticl C functions
'--allowlist-function', 'rusticl_.*',