ITADN

start of naga 28 update

#132Pull RequestChristopherBiscardi 创建于 2025-12-24
I started working on a naga 28 update but ran out of time today. I figured I'd document what's changed at least. I'm not super familiar with the naga-oil codebase so it might take me a bit to figure out the actual answers to some of these updates. ## enumerate_adaptors `instance.enumerate_adapters` is async now (and available on webgpu): https://github.com/gfx-rs/wgpu/pull/8230 . more details in the wgpu release notes. ## ControlBarrier & MemoryBarrier Barrier was split in two to support MemoryBarriers: https://github.com/gfx-rs/wgpu/pull/7630 From the PR, it seems like falling back to ControlBarrier is fine so that's what I did. ## Ray Query enable ray queries require `enable wgpu_ray_query;`: https://github.com/gfx-rs/wgpu/pull/8545 This doesn't currently seem to make it through, and the relevant test fails. ## ImageAtomic Image atomics were added in https://github.com/gfx-rs/wgpu/pull/6706 ## Mesh Shaders Mesh shaders are a major feature of wgpu 28, but I've set their fields to None here in the interest of doing an upgrade and not a feature add at the same time: https://github.com/gfx-rs/wgpu/releases/tag/v28.0.0 --- Right now the ray queries tests are failing and the `prune::test::it_works` test is failing, but the code otherwise checks and compiles.
合并状态:未合并 3 条评论