Skip to content

Initialize texture sub-resources to zero #1102

@cloudhead

Description

@cloudhead

If the hello_triangle example is changed slightly to only draw the triangle once, and we change the color attachment's load_op to wgpu::LoadOp::Load instead of Clear, my expectation is that the result is the same, except that the green clear color is gone. However the result is that the red triangle only shows up every other frame, with blank frames in between.

Is this expected behavior?

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: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions