Skip to content

Copying from depth texture to buffer fails #900

@malu

Description

@malu

Description
Copying from depth textures fails with unexpected depth format.

Repro steps
In short:

  • create texture with Depth32Float format
  • call device.copy_texture_to_buffer

Will try to provide a complete code example soon.

Expected vs observed behavior
Code panics with unexpected depth format (here). Expect it to work fine and copy the texture to the target buffer.

Platform
wgpu v0.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: validationIssues related to validation, diagnostics, and error handlinghelp requiredWe need community help to make this happen.type: enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions