code wiki / (root) / nx_game_shader_backend_lib.nx

nx_game_shader_backend_lib.nx

buildroot/runtime/nx_game_shader_backend_lib.nx

2659 B69 linesdepth 9pulls 16 transitivereach 51 importersview sourcekind librarytopic game
docsdependenciesstructsconstsfunctions

about

One shader-capture owner for normal and explicitly selected staged builds. Digest checks bracket each execution; they detect changed files, not hostile swap-and-restore races.

dependencies 2 imports · 17 importers

nx_game_page_artifact_lib.nx nx_tool_run.nx nx_game_shader_backend_lib.nx nx_game_page_authored_material_t54 nx_game_page_emit.nx nx_game_page_imported_body_t45.nx nx_game_page_knight_bind_t25.nx nx_game_page_knight_feedback_t28.n nx_game_page_knight_feedback_t29.n nx_game_page_knight_support_t31.nx nx_game_page_knight_support_t31_be nx_game_page_recovery_feedback_t28 nx_game_page_recovery_t23.nx

diagram shows first 10 each side; +0 more imports, +7 more importers in the complete lists below.

imports: nx_game_page_artifact_lib.nxnx_tool_run.nx

imported by: nx_game_page_authored_material_t54.nxnx_game_page_emit.nxnx_game_page_imported_body_t45.nxnx_game_page_knight_bind_t25.nxnx_game_page_knight_feedback_t28.nxnx_game_page_knight_feedback_t29.nxnx_game_page_knight_support_t31.nxnx_game_page_knight_support_t31_before_t44.nxnx_game_page_recovery_feedback_t28.nxnx_game_page_recovery_t23.nxnx_game_page_search_t53.nxnx_game_page_workspace_body_t49.nxnx_game_page_workspace_body_t59.nxnx_game_page_workspace_t48.nxnx_game_shader_roundtrip_canonical_t35.nxnx_game_shader_selection_gate_t35.nxnx_staged_shader_layout_capture_t31.nx

structs

none

consts

5const GSB_LIVE: *u8 = "./nx_wgsl.elf"
6const GSB_LIVE_ABS: *u8 = "/volume1/homes/elderwesto/nishihost/nx_wgsl.elf"
7const GSB_STAGED: *u8 = "/volume1/homes/elderwesto/nishihost/nx_wgsl.sov.elf.new"

functions

12func gsb_matches() -> i64
called by 3: gsb_selectgsb_capturemain calls 1: gpa_sha
31func gsb_select(expected: *u8,expected_bytes: i64) -> i64
48func gsb_once(path: *u8,command: *u8,buf: *u8,cap: i64,ol: *i64,timeout_ms: i64) -> i64
called by 1: gsb_capture calls 1: tr_run_capture_tr
57func gsb_capture(command: *u8,buf: *u8,cap: i64,ol: *i64,timeout_ms: i64) -> i64