Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 1.87 KB

proposal.md

File metadata and controls

31 lines (16 loc) · 1.87 KB

Per-attachment blend state

To "unship" per-attachment blend state:

  1. To the GPUFeatureName enum, add:

"per-attachment-blend-state",

  1. Under the section validating GPUFragmentState, add:

If "per-attachment-blend-state" is not enabled:

  • colorState.blend must contain the same value for all indices in descriptor.targets
  • colorState.writemask must contain the same value for all indices in descriptor.targets
  1. Under the section Feature Index, add a new section:

25.12. "per-attachment-blend-state"

In GPUFragmentState indices in descriptor.targets, may differ in colorState.blend and/or colorState.writemask

with the Compatibility Mode flag:

  1. Under the section validating GPUFragmentState, add:

If compatibilityMode is enabled for this Adapter:

  • colorState.blend must contain the same value for all indices in descriptor.targets
  • colorState.writemask must contain the same value for all indices in descriptor.targets