Repository navigation
libobs: Extract effect file creation before Rust port - #4343
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.