Skip to content

bump(mcpp.plugins): 0.7.0, the Slang rule takes the project's arguments, per-file ones, and a storage - #401

Merged
Sunrisepeak merged 1 commit into
mainfrom
bump/mcpp-plugins-0.7.0
Sep 12, 2026
Merged

bump(mcpp.plugins): 0.7.0, the Slang rule takes the project's arguments, per-file ones, and a storage#401
Sunrisepeak merged 1 commit into
mainfrom
bump/mcpp-plugins-0.7.0

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Tracks mcpp-community/mcpp-plugins#17, tag v0.7.0.

mcpp.rules.slang gains options::extra_args (verbatim slangc arguments, before -o), options::per_file (per-shader defines and arguments inside one compile() call; a key naming no shader is refused listing the shaders seen) and options::storage (header / object / sidecar, the axis rules-spirv already had). profile_for gains the Vulkan 1.4 row. No engine floor moves.

  • GLOBAL archive downloaded twice, sha256 stable: 165daa19feaae3823f2bc52551c0c4f7e04ab218abad8b6b930635e6d214340c
  • CN asset published from that file with gtc, read back with a real GET: 200, 208991 bytes, byte-identical
  • latest 0.6.0 → 0.7.0 on all three platforms; no package in this index pins mcpp.plugins
  • local lints: mirror urls, package name, duplicate versions, platform parity, syntax — all ok

Consumer this unblocks: Sunrisepeak/xrgui#8.

…ts, per-file ones, and a storage

Three things a real Slang project needed and `mcpp.rules.slang` could not say,
found by transcribing xrgui's shader config (17 shaders, five common slangc
flags, one shader with a flag of its own, `.spv` files loaded at run time):

  options::extra_args   slangc takes some two hundred options; the rule keeps
                        the ones that decide WHAT is produced and passes the
                        rest through verbatim, before `-o`.
  options::per_file     what one shader gets that the others do not, without
                        leaving one `compile()` call -- a second call rewrote
                        the generated module with only its own shaders. A key
                        naming no shader is refused, listing the shaders seen.
  options::storage      the axis `rules-spirv` already had: header (embed, the
                        default), object, sidecar.

`profile_for` gains the Vulkan 1.4 row. No engine floor moves.

The archive was downloaded twice and hashed the same; the CN asset was
published from that file with gtc and read back byte-identical
(165daa19...340c, 208991 bytes). No package in this index pins `mcpp.plugins`,
so moving `latest` re-pins no consumer.

mcpp-community/mcpp-plugins#17
@Sunrisepeak
Sunrisepeak merged commit e07b3d7 into main Sep 12, 2026
8 checks passed
@Sunrisepeak
Sunrisepeak deleted the bump/mcpp-plugins-0.7.0 branch September 12, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant