Skip to content

Add support for null targets in WGPUFragmentState #160

Closed
@mrshannon

Description

@mrshannon

The JavaScript API allows individual targets to be null

dictionary GPUFragmentState : GPUProgrammableStage {
    required sequence<GPUColorTargetState?> targets;
};

which allows holes in the array of color attachments.

With webgpu.h we can pass NULL for the entire fragment state, or pass a 0 length targets array but cannot skip color attachments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    has resolutionIssue is resolved, just needs to be done

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions