-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Mesh shader HLSL writer #8752
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
Open
inner-daemons
wants to merge
105
commits into
gfx-rs:trunk
Choose a base branch
from
inner-daemons:mesh-shading/hlsl-write-id
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Mesh shader HLSL writer #8752
Changes from 69 commits
Commits
Show all changes
105 commits
Select commit
Hold shift + click to select a range
0622940
[spv-out] Support for mesh shaders
cwfitzgerald dc69d86
Update mesh_shader.rs
inner-daemons dfd360f
Tried one thing
inner-daemons c1973fe
Updated snapshots
inner-daemons 50c2aa9
Tried another thing
inner-daemons 7749867
Removed per primitive stuff + cull primitive
inner-daemons ca3f93a
Testing new thing
inner-daemons 4fbfc60
Ahh well I think I'm done for the night
inner-daemons 7551f6a
Slight improvements
inner-daemons 3225030
Fixed another comment
inner-daemons c34c474
Added note on feature
inner-daemons 18164ee
Preparing for merge as is
inner-daemons 0b9bf09
Ok I'm tired
inner-daemons da72786
Blah blah blah
inner-daemons 8862d56
Updated loop logic
inner-daemons 0286af7
Tried something else
inner-daemons 7cc51c9
Tried another little fix
inner-daemons 3818efe
Tried something new
inner-daemons ea50cb0
Told it to skip instead of expect a failure
inner-daemons 8d9a451
Redocumented feature, made tests run on AMD
inner-daemons 3edc37c
Removed obseleted files, updated changelog, updated shaders
inner-daemons 6ffd2d5
Added task shader to the changelog entry
inner-daemons 094a5ac
Enabled debugigng
inner-daemons 6417327
Fixed typo
inner-daemons 2e863e2
Trying with better aligned task payload stuff
inner-daemons 05eada6
Made the tests actually run on LLVMPIPE
inner-daemons 6dc1fd0
Testing on LLVMPIPE if removing task payload reads does anything
inner-daemons 883a443
Undid test that didnt work
inner-daemons 3457ed5
Tried making it write a barrier
inner-daemons cad1bdf
Wrote another barrier I guess
inner-daemons 4927043
Gonna see if this one does anything
inner-daemons 19af909
Jeez im stupid
inner-daemons 3d7327f
Removed debugging files
inner-daemons c4574e7
Fixed the example shader sorta
inner-daemons ff46752
Blah blah blah
inner-daemons a5324ee
Merge remote-tracking branch 'upstream/trunk' into mesh-shading/spv-w…
inner-daemons c36f9f8
Final cleanup
inner-daemons 4c29d13
Added new mesh shader tasks
inner-daemons c08d00a
Fixed test
inner-daemons 7703aef
Fixed some test shenanigans
inner-daemons 90624c8
Seeing if this breaks anything
inner-daemons 307f908
Tried to fix one issue
inner-daemons 69a1d50
Initial setup
inner-daemons 3611377
More scaffolding
inner-daemons f0235fb
Temporary changes while I pivot
inner-daemons 1e33465
A little more progress made here
inner-daemons f09af9b
Task shaders are now good I think
inner-daemons 03b46f7
Some more work, it mostly compiles now
inner-daemons e8188cb
Merge remote-tracking branch 'upstream/trunk' into mesh-shading/hlsl-…
inner-daemons 12551f4
Fixed warnings
inner-daemons 445382b
Ran taplo fmt, fixed a warning
inner-daemons 1b48851
Many shaders now build properly
inner-daemons dbdff84
It flippin works!!
inner-daemons c875a58
Merge remote-tracking branch 'upstream/trunk' into mesh-shading/hlsl-…
inner-daemons e31b4f9
Hahaha its valid
inner-daemons 82db42d
Final tweaks
inner-daemons f47a220
Fixed missing commas in some shaders
inner-daemons 85f65a5
Fixed final test
inner-daemons 2a8396f
Zero initialized stuff
inner-daemons cced603
Initial commit adding miscellaneous changes from msl-write and hlsl-w…
inner-daemons 61a7e95
Same as previous commit
inner-daemons 5bef12b
Fixed divergence issue
inner-daemons 3b04e7a
Removed some unnecessary barriers
inner-daemons 7576625
Zero init workgroup memory
inner-daemons ffc0939
Added limits validation
inner-daemons 9435f58
Merge remote-tracking branch 'upstream/trunk' into mesh-shading/spv-f…
inner-daemons d66e920
Added changelog
inner-daemons ba8f67b
Handled overflow, removed todo
inner-daemons cb41edd
Amazing stuff here on display
inner-daemons 28b684d
Undid barrier generation
inner-daemons b91d24b
Fixed some stuff up
inner-daemons 12158d3
Fixed the thing
inner-daemons f8f10e6
Lets see if this fixes llvmpipe
inner-daemons c6e7b48
Also this commit fixes llvmpipe maybe
inner-daemons 9b1ea2c
Unfortunate but not too unexpected at this point
inner-daemons b2e9657
Pushing changes even though they're broken
inner-daemons f32c091
Updated feature to say to use ShaderRuntimeChecks::unchecked()
inner-daemons 503038c
Reverted to old method for snapshots
inner-daemons 192120b
Merge remote-tracking branch 'upstream/trunk' into mesh-shading/hlsl-…
inner-daemons b012e5e
Updated spirv snapshot
inner-daemons 2ac1478
Refactored nested function outer into its own function
inner-daemons 2793e15
Tweaked a comment
inner-daemons ed1f75c
Merge remote-tracking branch 'upstream/trunk' into mesh-shading/spv-f…
inner-daemons 49c98a1
Updated snapshots and took some changes from the hlsl writer
inner-daemons 3ef0910
Snapshots
inner-daemons 3cfc8fe
2 quick tweaks
inner-daemons fe58d2d
Merge remote-tracking branch 'upstream/trunk' into mesh-shading/hlsl-…
inner-daemons 65cd586
Update naga/src/back/hlsl/writer.rs
inner-daemons 20ff07d
Fixes round 1 (cleaned up small things)
inner-daemons 33066c7
Made mesh shader actually use the payload input
inner-daemons 647afcf
Refactored a bunch of stuff into a new file
inner-daemons 91bc3cb
Made hal require shader model 6.5 to expose support
inner-daemons ffc6cce
Merge remote-tracking branch 'upstream/trunk' into mesh-shading/spv-f…
inner-daemons 6d4fe94
Merge branch 'mesh-shading/spv-fixes' into mesh-shading/hlsl-write-id
inner-daemons fc3d916
Made naga check for proper shader model
inner-daemons 526dec4
Updated framework with suggestions by Connor in #8752
inner-daemons a97cf46
Moved the task runtime limits into naga::back
inner-daemons ab4625b
Merge branch 'mesh-shading/spv-fixes' into mesh-shading/hlsl-write-id
inner-daemons 7b907ad
Added validation for the task shader's dispatched workgroup count
inner-daemons 34b53fb
Blindly trying to pass limits in
inner-daemons 2e31c0e
Added limits field
inner-daemons 29f630a
Added changelog entry
inner-daemons f17979a
Fixed some checks
inner-daemons 5031bb8
Updated limit
inner-daemons 2177dea
Added new check and undid limit change
inner-daemons File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.