Vecvec
Vecvec
@cwfitzgerald I've been thinking about the issue you are having with llvmpipe, it seems to be that the scratch buffer's device address is not properly aligned, that sounds to me...
Hmm... this line (https://github.com/gfx-rs/wgpu/blob/859dd8817e7484b51823d443d7cac93c6e9a7ef2/wgpu-hal/src/vulkan/device.rs#L918-L925) has no mention of scratch buffer usage, could you also try hard-coding it to ````rust let alignment_mask = if desc.usage.intersects( crate::BufferUses::TOP_LEVEL_ACCELERATION_STRUCTURE_INPUT | crate::BufferUses::BOTTOM_LEVEL_ACCELERATION_STRUCTURE_INPUT, ) { 16...
> I'm fairly certain that this is actually a lavapipe bug that would explain why I couldn't repro this even though I have the same minAccelerationStructureScratchOffsetAlignment as mesa.
I think the second one is actually valid, ordering: 1. build blas: built index 1 2. build tlas: checks blas, it has been build w/ index 1 3. build tlas:...
Isn't this under `readonly_and_readwrite_storage_textures` [language extension](https://www.w3.org/TR/WGSL/#language-extensions-sec)? I think we are missing the `textureBarrier` function.
It seems that this test fails with a shader generation error on dx12 (even with TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES). ````cmd Internal error: DXC compile error: read_only_storage_texture:13:12: error: cannot initialize a variable of type...
It seems `Rg32Float` outputs `float2` as it's hlsl string but I think the format on the RWTexture is meant to be it's output format (with the unorm / snorm to...
That would probably be a good idea, my conclusion was only based on a few minutes of testing. It seems that this wasn't caught before because scalars can be auto...
I've been working on fixing the issue, but I don't have discord so I can't check if my conclusion is correct.
I think this line suggests I am on the right path: >The return type matches the type in the declaration for the [RWTexture2D](https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/sm5-object-rwtexture2d) object from https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/rwtexture2d-load-float-uint-. This matches the normal...