Skip to content

How do Compat extension structs work on output? #547

@kainino0x

Description

@kainino0x

For Compat extension structs we have this special behavior:

Special: implementations that don't support Compatibility Mode must ignore any chained structs with @ref WGPUSType values in this block, instead of erroring. This block must only be used for Compat additions that can be ignored without affecting the semantics of a non-erroring program.

However for output structs I'm not sure how this should work. (Pretty sure there is just one case of this, the Compat extension to the WGPULimits struct - #472.)

  1. Should the struct remain unpopulated (as this would imply)?
  2. Should we never put compat structs in that SType block, keep them in core and require them to be implemented?

I think 2 makes the most sense to me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    !discussNeeds discussion (at meeting or online)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions