-
Notifications
You must be signed in to change notification settings - Fork 5
Release 0.4.0
(including backfilling CHANGELOG.md
).
#6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
--- | ||
|
||
### ⬆️ *above entries after repository move (to [`Rust-GPU/spirt`](https://github.com/Rust-GPU/spirt)*) | ||
*See also [the transition announcement blog post](https://rust-gpu.github.io/blog/transition-announcement/).* | ||
### ⬇️ *below entries before repository move (from [`EmbarkStudios/spirt`](https://github.com/EmbarkStudios/spirt))* | ||
|
||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Rust-GPU/rust-gpu-maintainers This is what I am most worried about.
(most of the other additions are about all the changes that landed together in #2, which I'm glad I was able to summarize, but are not super critical - tho feel free to comment on them as well, ofc)
You can preview the rendered CHANGELOG to see what it will look like.
Here it might be less important, but I hope we can come up with something like this for the rust-gpu
repo as well.
I've also considered changing all the PR#123
below this point to say "PREmbark" or otherwise indicate the distinction, but that felt overkill.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't overthink it, this looks fine to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: Include the repository transition notice at the very top so it's the first thing you see, and note that all PRs >40 are from embark's repo and everything <40 is from this repo. I think that's easy enough to understand and immediately visible by the amount of digits, especially in the rust-gpu repo where embark got to >1000 PRs.
As an example see current rust-gpu main (ignore the breaking change notice, that hasn't been removed yet, will be in one of my PRs)
Also you don't have to write two changelogs or copy the splitter multiple times, if we had embark and rust-gpu PRs in the same category.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally we will have over 40 PRs eventually though...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But not for this release, right? I would have just added the notice to this particular release, as any further releases would obviously be PRs from this repo, so no need to warn users about it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, sure. Again, I don't think this matters one way or another as the only consumer of spir-t is rust-gpu ha.
Fwiw chatgpt does a decent job writing these (though a bit verbose); SPIRV-Headers Updated to Vulkan SDK 1.3.290 (PR #4)Rust-GPU now supports Vulkan SDK 1.3.290, keeping shaders compatible with the latest GPU hardware and features. Control Flow Restructuring Fixes (PR #2)OpPhi Chain FixCorrects how chains of OpPhi instructions are rewritten, improving SSA handling in complex control flows. Isolating Control RegionsUnstructured control flow graphs are isolated, with explicit value propagation across edges, preventing accidental value visibility. Optimizing Redundant DataflowRemoves unnecessary data propagation in sound restructuring, resulting in more efficient execution. SSA Dominance FixesFixes earlier SSA dominance issues, optimizing control flow and reducing redundant operations. ExitInvocations Support (PR #2)Introduces support for terminators like OpKill and OpEmitMeshTasksEXT, enabling proper task termination. Allows panic!() for task exits from an entry-point. Divergent Control Flow Optimization (PR #2)Optimizes divergent control flow. Simple cases like: if cond { panic!() } else { foo() } are flattened to: if cond { panic!() } else {}
foo(); For complex cases like: if cond1 {
if cond2 { panic!() } else { task1() }
} else {
if cond3 { task2() } else { panic!() }
}
task3(); the optimization flattens it to: if cond1 && cond2 { panic!(); }
else if cond1 { task1(); }
else if cond3 { task2(); }
else { panic!(); }
task3(); This reduces branching and minimizes thread divergence, boosting performance in complex shaders. |
@LegNeato For Rust-GPU it wouldn't really work either since the content has to be more user-facing (comparable to Rust release blog posts that contain "feature highlights" - Rust also has a dry CHANGELOG file, which lacks those IIRC). |
I was more curious what it would come up with and just dropped it in in case you liked any of the wording more. |
0.4.0
release (mainly backfilling CHANGELOG.md
).0.4.0
(including backfilling CHANGELOG.md
).
Opening as draft and only changingCHANGELOG.md
because there's some release automation.(EDIT: release already done, this PR just needs to merge the
0.4.0
tag intomain
)For the record, this is what I used for this release (same as previous SPIR-T releases):
VERSION=0.4.0 bash -c 'cargo release $VERSION -x && sed -i -E "s|/tree/$VERSION||" Cargo.toml && git commit -m "Undo \`$VERSION\` \`package.repository\` change in \`Cargo.toml\`." -- Cargo.toml'