mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-15 19:58:31 +02:00
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:
parent
38a98a4803
commit
09ea05cf23
1 changed files with 1 additions and 0 deletions
|
|
@ -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_.*',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue