Compute example - #22
Conversation
|
Thanks for putting in the effort on this - I've not had chance to test it yet, but if it runs and produces the expected output then I'd say it's a strong start! |
|
Not yet. I need to read more about how bevy handles shaders and didn't have the energy to do so yet. Planning on taking another stab this or the next weekend |
|
I hope that I am missing something obvious, but the ways of achieving the result, that I see, feel a bit backwards. The current problem is that the bevy compute pipeline requires the bevy shader handle, I initially thought it will be easiest to just do this processing in the render graph node "update" method, I think maybe at this point the most straightforward way is to provide a custom AssetLoader, that builds a bevy |
|
I ended up in a situation where I think it should work, but it doesn't and it doesn't even complain that something is wrong. |
|
I'll take another stab in two weeks unless someone figures it out sooner |
|
Sounds like great progress, I'm excited to try it out! |
|
Wasn't able to debug why nothing is showing, lost the remainder of my motivation reading through the SPIR-V specification. Might take another stab in a few months |
|
Ha yeah SPIR-V is pretty esoteric. Awesome work @samoylovfp 🙇 |
|
That's great! Do you think the notably slower frame rate is because of Bevy's |
|
That's a lot of great info and insight. Even if its slower, it's just great to know that it all works. I'm still a newbie to all this, so it'll take me a while to pore over everything. |
Trying to fix Bevy-Rust-GPU/bevy-rust-gpu#20
Reading the sources of
And trying to mash everything together