-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Multithreaded render command encoding #9172
Merged
james7132
merged 64 commits into
bevyengine:main
from
JMS55:multi-threaded-command-encoding
Feb 9, 2024
Merged
Changes from 60 commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
11af143
Add RenderContext::add_async_command_buffer()
JMS55 a64583c
WIP
JMS55 66d2b83
More WIP
JMS55 8b391d2
Misc
JMS55 6bbbe41
Complete RenderContext::finish()
JMS55 a4f2ab6
Misc
JMS55 d5112d6
More lifetime WIP
JMS55 f002065
Fix lifetime issues
JMS55 ad04cd5
Misc lifetime rename
JMS55 6f2fbfa
Move trace into command gen task
JMS55 6e04259
Misc formatting
JMS55 2b447f4
Avoid unnecessary work when no command buffer generation tasks are qu…
JMS55 0c830b9
Revert rename
JMS55 ef4a411
Pass RenderDevice as task parameter
JMS55 5446d28
Use command buffer generation tasks in more nodes
JMS55 d52bcba
Use arcanized wgpu
JMS55 585ed5c
Fix bug with wrong color attachment
JMS55 175d1c8
Merge commit 'c6a1bf063b69a81e9af3de647cdebcefeba8b1d0' into multi-th…
JMS55 4cb683d
Update wgpu/naga/naga_oil
JMS55 53dbfd4
Merge remote-tracking branch 'bevy/main' into multi-threaded-command-…
JMS55 f406770
Merge commit 'ac8f36743e7cb7e6a85e563e3ff52e57ec1676a5' into multi-th…
JMS55 8004266
Merge commit 'cfa3303cf3c9dab5c285daab4e0e9086525836cc' into multi-th…
JMS55 533a6b5
Merge commit '8ace2ff9e361dd7ef1bc620b84674def0cb56454' into multi-th…
JMS55 821b2d6
wip, need to fix raw-window-handle 0.6 stuff
Elabajaba 7770046
works
Elabajaba 65abdb3
fix re-export
Elabajaba 511e96a
bump wgpu
Elabajaba 9b0d8d3
update + fmt
Elabajaba e3cb986
wgpu 0.19
Elabajaba 83de50b
replace deprecated traits (#2)
mockersf 82b889f
do the wrong thing to make webgpu work for now by making it a mutuall…
Elabajaba 216b147
;
Elabajaba 54f8642
wgpu 0.19.1
Elabajaba c5471fe
(WIP) have webgpu override webgl feature when targeting wasm
Elabajaba 474ff2e
remove nice warning as it breaks webgpu
Elabajaba 6c3da2c
remove instance_index workaround as it's no longer needed and now bre…
Elabajaba 01a617b
remove unnecessary pub
Elabajaba 3e68449
TextureDataOrder::LayerMajor -> default()
Elabajaba 8d109b6
fix missed deprecated block_size -> block_copy_size
Elabajaba d2508cd
`webgpu` feature docs
Elabajaba 0508445
fix weird linux timeout check
Elabajaba d03a634
example readme template fix
Elabajaba 1ccbc90
update features
Elabajaba 817a6f8
move safety comment to satisfy CI
Elabajaba 76c4165
fix raw_handle docs
Elabajaba cde76a8
satisfy safety gods
Elabajaba 934bb55
Merge remote-tracking branch 'elabajaba/wgpu-019' into multi-threaded…
JMS55 1447214
Fix
JMS55 1a1dad4
Merge commit '35ac1b152ee1b2c7b2930f67d93be0db6f395b47' into multi-th…
JMS55 818a176
WIP
JMS55 1888180
Misc
JMS55 601d660
Misc cleanup
JMS55 38e8151
WIP
JMS55 c738af2
Merge commit '8f25805b66f533d260a50a3fdcf12e89c8ffb493' into multi-th…
JMS55 7e837f5
Merge commit 'c227fc9fada2a327d174644a3ce7e5c210aecfb6' into multi-th…
JMS55 cb7df79
Merge commit '14f1a4f10e35375df512e50e26b3ffd3fe88dcb7' into multi-th…
JMS55 bdd9950
Merge commit 'e3126a494f4759d52f2492559d3f585a41a4ce29' into multi-th…
JMS55 b966ee8
HACK: Serial encoding for AMD + Windows + Vulkan
JMS55 d1c3cdc
Bypass unused
JMS55 8ed95d5
Fix unused import
JMS55 b66799f
Remove redundant code
JMS55 ecb810f
Merge commit 'ab16f5ed6afad717896c278381a0692531eedf44' into multi-th…
JMS55 14a2822
Merge commit '5313730534684408b6281fb2727144d6890524b0' into multi-th…
JMS55 7d1f6f7
Add trace to shadow pass
JMS55 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 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 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 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.
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.
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.
Smallest of all nits: I can see that this span has a much narrower scope than the one on line 56, but they have super similar names. Is there a good reason for them to be this similar? I assume it's to maintain compatibility with the previous version?
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 think I just copy pasted what the previous version did, yeah