Skip to content

async compute queue system - #338

Merged
dariormt merged 9 commits into
devfrom
feature/working-dario
Oct 13, 2026
Merged

dariormt merged 9 commits into
devfrom
feature/working-dario

Conversation

@dariormt

@dariormt dariormt commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Take a look at docs/examples/async_compute for usage info

Setup async compute pass
auto example = std::make_sharedexample::DebrisSimulation(); // this creates the async pass for that pipeline

// then you can call it from any thread
debris->emit( ... );

// and then return the data
debris->readPositions(cpu_copy)

take a closer look at debris_simulation.hpp for how to structure it

@ynks

ynks commented Oct 10, 2026

Copy link
Copy Markdown
Member

Fix clang tidy @dariormt

@dariormt
dariormt requested a review from ynks October 10, 2026 15:18
@ynks ynks linked an issue Oct 11, 2026 that may be closed by this pull request
@ynks
ynks marked this pull request as ready for review October 11, 2026 11:06
Comment thread editor/Engine/ToastEngine.cs
Comment thread engine/src/toast/renderer/passes/perf_window.hpp
Comment thread engine/src/toast/renderer/passes/environment_pass.cpp
Comment thread engine/src/toast/renderer/async_compute_task.hpp
Comment thread engine/src/toast/renderer/shader_compiler.cpp Outdated

@ynks ynks left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clanker pointed out this things so maybe i should write them just in case

Comment thread engine/src/toast/renderer/vulkan_renderer.cpp Outdated
Comment thread engine/src/toast/renderer/async_compute_task.cpp
@dariormt
dariormt requested a review from ynks October 13, 2026 16:53

@ynks ynks left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for me 👍👌

@dariormt
dariormt enabled auto-merge October 13, 2026 17:27
@ynks

ynks commented Oct 13, 2026

Copy link
Copy Markdown
Member
[0](https://github.com/nullptr-studios/toast-engine/actions/runs/38440881316/job/115454138505?pr=344#step:7:5321)
The following tests FAILED:
	 92 - world/05-enable-on-load (Timeout)                 world

@dariormt fix ASAP

@dariormt
dariormt disabled auto-merge October 13, 2026 18:27
@dariormt
dariormt merged commit a682547 into dev Oct 13, 2026
19 of 25 checks passed
@ynks
ynks deleted the feature/working-dario branch October 13, 2026 18:49
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.

Non-blocking compute

2 participants