Skip to content

Commit

Permalink
Add sample mask and alpha-to-coverage state to GPURenderPipelineDescr…
Browse files Browse the repository at this point in the history
…iptor (gpuweb#282)

This patch adds sample mask and alpha-to-coverage state to the render
pipeline descriptor after the discussion in issue gpuweb#267.
  • Loading branch information
Jiawei-Shao authored and Kangz committed Jun 3, 2019
1 parent c1c2a3c commit 1f87b76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,8 @@ dictionary GPURenderPipelineDescriptor : GPUPipelineDescriptorBase {

// Number of MSAA samples
u32 sampleCount = 1;
u32 sampleMask = 0xFFFFFFFF;
bool alphaToCoverageEnabled = false;
// TODO other properties
};

Expand Down

0 comments on commit 1f87b76

Please sign in to comment.