Skip to content

libobs: Extract effect file creation before Rust port - #4343

Merged
zackees merged 1 commit into
masterfrom
test/4307-effect-file-extract
Nov 9, 2026
Merged

zackees merged 1 commit into
masterfrom
test/4307-effect-file-extract

Conversation

@zackees

@zackees zackees commented Nov 9, 2026

Copy link
Copy Markdown
Member

Refs #4307

Extract find_cached_effect and gs_effect_create_from_file verbatim into graphics_effect_file.c.h in the existing graphics unity group. The file preserves the existing private helper access and locally recreates the same validation macro. Shader creation and effect destruction remain outside this extraction.

This is the behavior-neutral prerequisite required before the Rust swap. Rust RED/GREEN and differential validation belong to the Rust follow-up #4308, already pushed on port/4308-effect-file-rust.

Workspace formatting, full lint and the unchanged effect-destruction characterization are rerun after rebasing onto current master. The C tests run against both the C-reference and hybrid libraries; the originating worker verified six cases per implementation and identical exported symbol sets. No existing C test, public header, Rust implementation or serialized test graph changes. Hosted PR CI remains the merge gate; native Windows and macOS builds and the full Tier 2 suite are not claimed locally.

@zackees
zackees enabled auto-merge November 9, 2026 13:59
@zackees
zackees added this pull request to the merge queue Nov 9, 2026
@zackees
zackees removed this pull request from the merge queue due to a manual request Nov 9, 2026
@zackees
zackees merged commit e5c9469 into master Nov 9, 2026
42 checks passed
@zackees
zackees deleted the test/4307-effect-file-extract branch November 9, 2026 18:07
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