adding bindsgroup reflection to WebGPU backend

This commit is contained in:
2025-04-09 12:03:13 +02:00
parent 5470779d4c
commit 63b336783b
9 changed files with 301 additions and 97 deletions

View File

@@ -211,7 +211,7 @@ bool WebGPUCopyBufferToImage(PulseCommandList cmd, const PulseBufferRegion* src,
WGPUTexelCopyTextureInfo texture_copy_info = { 0 };
texture_copy_info.texture = webgpu_dst_image->texture;
texture_copy_info.mipLevel = 1;
texture_copy_info.mipLevel = 0;
texture_copy_info.aspect = WGPUTextureAspect_All;
texture_copy_info.origin.x = dst->x;
texture_copy_info.origin.y = dst->y;