Skip to content

volumeRenderingTexture3D bug? #504

@greggman

Description

@greggman

When I go to: https://webgpu.github.io/webgpu-samples/?sample=volumeRenderingTexture3D

I get

Uncaptured error:
Required size for texture data layout (6998400) exceeds the linear data size (3788907) with offset (0).

  • While calling [Queue].WriteTexture([TexelCopyTextureInfo texture: [Texture (unlabeled 180x216x180 px, TextureFormat::R8Unorm)], mipLevel: 0, origin: [Origin3D x:0, y:0, z:0], aspect: TextureAspect::All], (3788907 bytes), [TexelCopyBufferLayout offset:0, bytesPerRow:180, rowsPerImage:216], [Extent3D width:180, height:216, depthOrArrayLayers:180])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions