JMS55
JMS55
Changing https://github.com/gfx-rs/wgpu/blob/92c8cf415c6c0d6dc9a89f60e36c4dc0bcb5a4b5/naga/src/back/hlsl/writer.rs#L1958 To ```rust let width = match func_ctx.resolve_type(value, &module.types) { TypeInner::Scalar(Scalar { width: 8, .. }) => "64", _ => "", }; write!(self.out, "{var_name}.Interlocked{fun_str}{width}(")?; ``` I think fixes it....
This example isn't supposed to run on webgl, we need some way of disabling it. Ideally splitting up our `wasm=true` cargo.toml configs, but maybe just having the example code detect...
CC @jimblandy @atlv24
Backtrace: ``` 4: naga::valid::function::BlockContext::resolve_type_impl at D:\wgpu\naga\src\valid\function.rs:261 5: naga::valid::function::BlockContext::resolve_type at D:\wgpu\naga\src\valid\function.rs:276 6: naga::valid::Validator::validate_atomic at D:\wgpu\naga\src\valid\function.rs:372 7: naga::valid::Validator::validate_block_impl at D:\wgpu\naga\src\valid\function.rs:1144 8: naga::valid::Validator::validate_block at D:\wgpu\naga\src\valid\function.rs:1325 9: naga::valid::Validator::validate_function at D:\wgpu\naga\src\valid\function.rs:1471 10: naga::valid::Validator::validate_entry_point at D:\wgpu\naga\src\valid\interface.rs:606...
I can't remember exactly what I was thinking when I opened this issue, but I think I wanted something like: A toggle to highlight gaps where CPU work is running...
Yep. I think I was inspired after seeing a talk where a game studio did this, but can't find the presentation anymore.
Everything is fixed now, just need to wait for https://github.com/bevyengine/naga_oil/pull/119 to be merged and a new naga_oil release.
I've changed this PR a little in the previous commit. The monolithic sample light function has been split up into 3 separate functions: 1. Generate random light sample (pick light,...
> I think we might want to consider naming this SolariScenePlugin actually. I like having a bit of branding here. It can be done in a future PR though. It's...
> The initial simplicity is appreciated. It's going to get so much more complicated soon :) Still simpler than virtual geometry though, by a long shot.