Skip to content

graphics: Move the shader-parser name lookups into shader-param-names.c - #840

Merged
zackees merged 1 commit into
masterfrom
port/shader-param-names
Oct 15, 2026
Merged

zackees merged 1 commit into
masterfrom
port/shader-param-names

Conversation

@zackees

@zackees zackees commented Oct 15, 2026

Copy link
Copy Markdown
Member

Refs #839 (step 1: behavior-neutral extraction).

get_shader_param_type, get_sample_filter and get_address_mode move verbatim from libobs/graphics/shader-parser.c into libobs/graphics/shader-param-names.c (checked with diff), with the same includes (../util/platform.h, shader-parser.h). The new file is added to libobs/CMakeLists.txt. No Rust, no signature, header or behavior change.

Both files pass cc -fsyntax-only -Wall -Werror against the libobs headers; ./lint ok. The characterization test follows in its own PR, then the port.

Behavior-neutral: get_shader_param_type, get_sample_filter and
get_address_mode move verbatim from shader-parser.c, with its includes,
so ENABLE_RUST_LIBOBS can later drop the file as a unit. No signature,
header or behavior change.

Refs #839
@zackees
zackees added this pull request to the merge queue Oct 15, 2026
Merged via the queue into master with commit 1627828 Oct 15, 2026
21 checks passed
@zackees
zackees deleted the port/shader-param-names branch October 26, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant