Repository navigation
graphics: extract shader matrix-parameter queries verbatim (Refs #5132) - #5184
Merged
Merged
Conversation
…(RED) Refs #5132. The recording-backend characterization passes against rebuilt unchanged C-reference and hybrid libobs without the seam guard (Tier 2 command exit 0). Strict Windows MSVC-target fixture compilation with the guard fails solely because graphics-shader-matrix-queries.c.h has not been extracted.
Preserve C-owned TLS context storage, validators, signatures and backend dispatch. Use unity-local declarations and a scoped validation macro; register the new member in sorted graphics unity order.
Ci-Attestation: {"at":1795053217,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":117,"stamp":"3a91f8813915cc468f8d9f035ba625c0","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Ci-Attestation: {"at":1795053217,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":117,"stamp":"9cd1426c5ffc2ee3faf2bd46062f9f89","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Ci-Attestation: {"at":1795053217,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":117,"stamp":"36b53962679a7799b60a0d461d451dba","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Ci-Attestation: {"at":1795053217,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":117,"stamp":"f868d612f1970184f082283770316e57","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Ci-Attestation: {"at":1795053098,"gate":"general/all/client-lint","host":"linux-x86_64","key":"3d64a1fcc296895c1438acaf3eb2379e3c8750182b748ad2073ea45ea7bcc225","lane":"client-lint","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":16,"stamp":"90ab5eff98c267f850c4740d6f88c71e","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Ci-Attestation: {"at":1795053217,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":117,"stamp":"1eec79445fe19dcced8a4b39412d8419","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Ci-Attestation: {"at":1795053099,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"3d64a1fcc296895c1438acaf3eb2379e3c8750182b748ad2073ea45ea7bcc225","lane":"client-lint","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":16,"stamp":"7b8f661918939fe38c7f53bdd9ab0b6d","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Ci-Attestation: {"at":1795053099,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"3d64a1fcc296895c1438acaf3eb2379e3c8750182b748ad2073ea45ea7bcc225","lane":"client-lint","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":16,"stamp":"d2844a67708a77625de06b2b82bd40a9","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Ci-Attestation: {"at":1795053098,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"3d64a1fcc296895c1438acaf3eb2379e3c8750182b748ad2073ea45ea7bcc225","lane":"client-lint","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":16,"stamp":"37ca704e02a954ff8d6644825e45d743","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Ci-Attestation: {"at":1795053098,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"3d64a1fcc296895c1438acaf3eb2379e3c8750182b748ad2073ea45ea7bcc225","lane":"client-lint","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":16,"stamp":"5775dc3a83005bc2befcbbb953b63b00","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Ci-Attestation: {"at":1795053098,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"3d64a1fcc296895c1438acaf3eb2379e3c8750182b748ad2073ea45ea7bcc225","lane":"client-lint","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":16,"stamp":"542e327fc74338f8d8aeb3c4300f7243","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Ci-Attestation: {"at":1795053098,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"3d64a1fcc296895c1438acaf3eb2379e3c8750182b748ad2073ea45ea7bcc225","lane":"client-lint","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":16,"stamp":"952897503ed5bbd2b6c7c3b56e65383d","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Ci-Attestation: {"at":1795053098,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"3d64a1fcc296895c1438acaf3eb2379e3c8750182b748ad2073ea45ea7bcc225","lane":"client-lint","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":16,"stamp":"7d506da40768e7aced41e969a482f5db","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Ci-Attestation: {"at":1795053098,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"3d64a1fcc296895c1438acaf3eb2379e3c8750182b748ad2073ea45ea7bcc225","lane":"client-lint","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":16,"stamp":"d2cac9f826843bd2820bbc92da09ca74","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Ci-Attestation: {"at":1795053098,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"3d64a1fcc296895c1438acaf3eb2379e3c8750182b748ad2073ea45ea7bcc225","lane":"client-lint","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":16,"stamp":"8cc3094c70725cb852bc29f36cd6dbd2","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Ci-Attestation: {"at":1795053098,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"3d64a1fcc296895c1438acaf3eb2379e3c8750182b748ad2073ea45ea7bcc225","lane":"client-lint","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":16,"stamp":"4264f755d6cfa76533ba863c89e9518a","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Ci-Attestation: {"at":1795053098,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"3d64a1fcc296895c1438acaf3eb2379e3c8750182b748ad2073ea45ea7bcc225","lane":"client-lint","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":16,"stamp":"1c66b669948f7847f5e38e7f0e9264d8","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Ci-Attestation: {"at":1795053098,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"3d64a1fcc296895c1438acaf3eb2379e3c8750182b748ad2073ea45ea7bcc225","lane":"client-lint","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":16,"stamp":"7ac546b74149c2fe184cdda45e39d90c","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Ci-Attestation: {"at":1795053710,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"ac5ad6f791f6937511e97360b44f8ebeb9dd2df4467ced159bf8aff9a5a4b9fe","lane":"client-test-x86_64-unknown-linux-gnu","parents":["21ef89a136b7896785365fd9187c85d12f60eb66"],"secs":492,"stamp":"cb4b355be4a091aab3de1a4aa91ccffc","tree":"ead0efc91240f8b1e13569f359a424a358c60aec","v":1,"via":"run"}
Client-Checks: {"checks":{"base":"66483e5ef1c34d3222ae85a8028b09598dafcd2f","coverage":"all-tracked-applicable-files","diff":["ci/libobs_modules.py","ci/test_libobs_modules_cache.py","libobs/build/libobs.core+.h.c","libobs/build/libobs.graphics+.h.c","libobs/graphics/graphics-shader-matrix-queries.c.h","libobs/graphics/graphics.c.h","libobs/obs-video-info-query.c.h","libobs/obs.c.h","test/cmocka/build/test-graph.json","test/cmocka/test_shader_matrix_queries.c","test/cmocka/test_video_info_query.c","test/cmocka/tests.d/test_shader_matrix_queries.cmake","test/cmocka/tests.d/test_video_info_query.cmake"],"head":"2e22fa5067602e6ae6ea00b50a5dfebdcf6c1d03","tools":{"orchestrator-python":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]","schema-dependencies":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21504\n compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Regexps Automata RelaxNG Schemas Modules Debug"},"tracked-digest":"3bf6d811ceceb2807c2ad22df6454c42539d7c978bb2f70218925782b7281997","tree":"ead0efc91240f8b1e13569f359a424a358c60aec"}}
zackees
enabled auto-merge
November 19, 2026 02:03
wesleyhawes
pushed a commit
to wesleyhawes/obs-studio
that referenced
this pull request
Nov 21, 2026
…-rust#5185) (obs-rust#5194) * test: mirror shader matrix-parameter query characterization against Rust stubs (Refs obs-rust#5185) The four cases of the unchanged test_shader_matrix_queries.c become Tier 1 tests in the Graphics category binary. They fail at the todo!() stubs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * graphics: swap shader matrix-parameter queries to safe Rust (Refs obs-rust#5185) gs_shader_get_viewproj_matrix and gs_shader_get_world_matrix move from the extraction in obs-rust#5184 to obs-graphics. The safe core checks the context before the shader, with the original LOG_DEBUG messages, then private C adapters dispatch the matching backend callback with the exact shader pointer and return the borrowed parameter unchanged, NULL included. TLS, field layout and backend ownership stay in C. The original bodies stay in a reference-only group and verbatim in the Tier 3 oracle. Tier 3 compares every context/callback/shader/result combination and bounded random sequences through the real ABI and adapters. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Ci-Attestation: {"at":1795062026,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":58,"stamp":"6f034aba06e4bb1f196dd75751090457","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Ci-Attestation: {"at":1795062026,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":58,"stamp":"56bafb1fd4e706e0863a5579d0aaf9a8","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Ci-Attestation: {"at":1795062026,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":58,"stamp":"20a042eecd416be598848f9e72b97410","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Ci-Attestation: {"at":1795062026,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":58,"stamp":"faad6c1ac8e8fd04bd924b8dc90b92fc","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Ci-Attestation: {"at":1795061967,"gate":"general/all/client-lint","host":"linux-x86_64","key":"c882d19deb2840dad068772a82328520a4a718f53752230324ad58eff320e1f2","lane":"client-lint","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":104,"stamp":"ace9141532187b65ed1247b42e516de1","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Ci-Attestation: {"at":1795062026,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":58,"stamp":"244155a681699b5eeb44e7dd23fadf69","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Ci-Attestation: {"at":1795061968,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"c882d19deb2840dad068772a82328520a4a718f53752230324ad58eff320e1f2","lane":"client-lint","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":104,"stamp":"3c63498b6805d6dda2f29b62e04e63c1","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Ci-Attestation: {"at":1795061968,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"c882d19deb2840dad068772a82328520a4a718f53752230324ad58eff320e1f2","lane":"client-lint","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":104,"stamp":"61816a52d954bc7cac259d4ec436a991","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Ci-Attestation: {"at":1795061968,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"c882d19deb2840dad068772a82328520a4a718f53752230324ad58eff320e1f2","lane":"client-lint","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":104,"stamp":"35a91ba414d12acb1d84cebbbb2772b5","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Ci-Attestation: {"at":1795061968,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"c882d19deb2840dad068772a82328520a4a718f53752230324ad58eff320e1f2","lane":"client-lint","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":104,"stamp":"521edee1ebfe92074e643a9df0c41bc1","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Ci-Attestation: {"at":1795061968,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"c882d19deb2840dad068772a82328520a4a718f53752230324ad58eff320e1f2","lane":"client-lint","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":104,"stamp":"da01f5eb11b9b95eb899f554f033a2aa","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Ci-Attestation: {"at":1795061968,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"c882d19deb2840dad068772a82328520a4a718f53752230324ad58eff320e1f2","lane":"client-lint","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":104,"stamp":"26863ac4c8eaba1298f1d12f88f52ace","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Ci-Attestation: {"at":1795061968,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"c882d19deb2840dad068772a82328520a4a718f53752230324ad58eff320e1f2","lane":"client-lint","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":104,"stamp":"aebcdccb41e1412b6538c6f4de4c3f4f","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Ci-Attestation: {"at":1795061968,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"c882d19deb2840dad068772a82328520a4a718f53752230324ad58eff320e1f2","lane":"client-lint","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":104,"stamp":"0f16dd780848b54e992b4f5d0b055dce","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Ci-Attestation: {"at":1795061968,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"c882d19deb2840dad068772a82328520a4a718f53752230324ad58eff320e1f2","lane":"client-lint","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":104,"stamp":"03811d7693934ad10a07f47a3086ac85","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Ci-Attestation: {"at":1795061968,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"c882d19deb2840dad068772a82328520a4a718f53752230324ad58eff320e1f2","lane":"client-lint","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":104,"stamp":"880bbd1a779f1814268d36184a9eac8a","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Ci-Attestation: {"at":1795061967,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"c882d19deb2840dad068772a82328520a4a718f53752230324ad58eff320e1f2","lane":"client-lint","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":104,"stamp":"0a423b3b8bdad13f475d5e03d9cc7408","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Ci-Attestation: {"at":1795061967,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"c882d19deb2840dad068772a82328520a4a718f53752230324ad58eff320e1f2","lane":"client-lint","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":104,"stamp":"cb4b54108136583a0d9b5724bc79249d","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Ci-Attestation: {"at":1795062249,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"7fc96a992d50ebd3bd88bc523e8be6ff9aec6a5d7ce9f0ebf4b695e1ae70e9b8","lane":"client-test-x86_64-unknown-linux-gnu","parents":["db341b9cdaaaeec0f1e01907929266760322467d"],"secs":222,"stamp":"ab9f1680c536820338303bb28c1b994a","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92","v":1,"via":"run"} Client-Checks: {"checks":{"base":"21667f4da05037469c03778e9c504c96bd6d5c49","coverage":"all-tracked-applicable-files","diff":["libobs/build/libobs.graphics+.h.c","libobs/build/libobs.ported-graphics-shader-matrix-queries+.h.c","libobs/build/ported-source-sets/graphics-shader-matrix-queries.json","libobs/cmake/rust-exports.d/obs-graphics-shader_matrix_queries.txt","libobs/graphics/graphics-shader-matrix-queries-fields.c.h","libobs/graphics/graphics-shader-matrix-queries.c.h","rust/README.md","rust/obs-build/tests/native.rs","rust/obs-build/tests/native/registration/canonical_graphics_shader_matrix_queries_swap_is_registered.rs","rust/obs-c-oracle/legacy/graphics-shader-matrix-queries.c","rust/obs-c-oracle/oracle.d/graphics-shader-matrix-queries-fields.list","rust/obs-c-oracle/oracle.d/graphics-shader-matrix-queries.list","rust/obs-c-oracle/oracle/shader_matrix_queries.c","rust/obs-graphics/src/ffi/mod.rs","rust/obs-graphics/src/ffi/shader_matrix_queries.rs","rust/obs-graphics/src/lib.rs","rust/obs-graphics/src/shader_matrix_queries.rs","rust/obs-graphics/tests/render/main.rs","rust/obs-graphics/tests/render/shader_matrix_queries.rs","rust/obs-graphics/tests/render/shader_matrix_queries_parity.rs","test/cmocka/graphics-shader-matrix-queries-link-support.c","test/cmocka/tests.d/graphics_shader_matrix_queries_link_support.cmake"],"head":"bc54b46e92d788eaf66ac2550ce7f04a3700bb4c","tools":{"orchestrator-python":"3.13.16 (main, Oct 14 2026, 01:04:01) [Clang 23.1.3 ]","schema-dependencies":"3.13.16 (main, Oct 14 2026, 01:04:01) [Clang 23.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21504-GITv2.15.4\n compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ICU ISO8859X Regexps Automata RelaxNG Schemas Schematron Modules Debug Zlib"},"tracked-digest":"55fcbb07da9bd329a6297e2f4758ba317defae4007a57abdea08276cffc82d6c","tree":"f13e24f0003f5bc2bd250d062535f48da94aad92"}} --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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 #5132.
This adds GPU-free C characterization for the shader view-projection and world matrix-parameter queries, then moves their public bodies verbatim into graphics-shader-matrix-queries.c.h. The original C TLS context, validators, validation order, diagnostics and backend dispatch remain unchanged. The graphics unity member, source/module inventories, tests.d pointer and sorted test graph agree. No public headers or existing C tests change.
The four characterization cases cover context rejection before shader rejection, NULL shader rejection in a context, distinct callbacks receiving the exact shader and returning the same borrowed parameter pointer, and silent callback-returned NULL. The fixture restores the log handler and destroys its test mutex. It uses no graphics driver, shader compiler or matrix setter.
The unchanged C baseline passed against rebuilt C-reference and hybrid libobs before the seam guard was added. RED commit 21ef89a fails strict Windows MSVC-target fixture compilation solely at the missing extraction-seam diagnostic. GREEN commit ff16e5fd3 supplies the seam with byte-identical function bodies. The entire native_build:: module passes 310 tests with zero failures or ignores. Focused graph/build-group/source-set/cmocka validators pass 19 tests; strict GCC, Clang and Windows MSVC-target syntax checks pass.
All four C characterization cases pass against rebuilt C-reference and hybrid libobs, whose 1,769 dynamic exports match. The focused Linux Tier 2 build also builds and runs unrelated standalone Rust-static test_effect_parser_lifecycle_rust and test_service_handler_getters_rust against both modes. All eight Windows MSVC Rust category test executables link successfully; this is cross-link evidence, not native Windows execution. Full ./lint passed on its single invocation (153.7s). One read-only clud-review reviewer found no actionable issues. Before publication the final committed head merged cleanly with fetched master and the fetched #5155 image-file swap head ce55a25; the temporary ref was deleted. #5155 was still open, so there was no merged parent to rebase onto. This behavior-neutral C prerequisite adds no Rust tests or executable. Tier 1 mirrors and Tier 3 differential/mutation coverage belong to Rust-swap follow-up #5185; Tier 4 is inapplicable to these non-protocol queries. Native Windows/macOS execution and hosted merge-group completion are not claimed.
Publishing through ./push completed the full client contract, recorded 19 Ci-Attestation entries and signed final head 612fe68 without changing the verified source tree. The client run passed 9,118 workspace tests (6 skips), feature-configuration tests and applicable doctests, along with six-target Clippy/Dylint, CI self-tests and validators. Backpressure was open with headroom 10.