Jan Tebernum

Results 7 comments of Jan Tebernum

@faulesocke This has probably something to do with this: [code](https://github.com/vulkano-rs/vulkano/blob/master/vulkano/src/command_buffer/synced/base.rs#L1218-L1224)? It unlocks all images with `None`, I guess that is not correct. [Here](https://github.com/vulkano-rs/vulkano/blob/master/vulkano/src/command_buffer/synced/base.rs#L1262-L1271) it unlocks the images with the `final_layout`...

I don't think that #1449 fixes the actual issue, just the assertion panic that is happening as well.

Oh, I forgot something I thought of earlier.. Updating the shader code, as a global `let` is not valid anymore in wgsl. I will add those changes now.

Okay, like you suggested I built ambient with `cargo install` and tried to run the project created by `ambient new`. I found some top level `let`s I changed to `const`s....

I think the problem runs more deeply. I'm finding lots of shadowed variables in wgsl code. As an [example](https://github.com/AmbientRun/Ambient/blob/main/crates/gizmos/src/gizmos.wgsl#L45-L67): ```rust let ang = dot(normalize((mid - anchor)), normalize(corner)); let ang =...

I vastly overestimated the amount of code that needed to be fixed for this. I think this should be it @FredrikNoren. Building ambient on this branch works for me and...

I tried the same config and was unsuccessful as well.