Sitelet https://github.com/gpuweb/gpuweb/issues/2550
Skip to content

Consider removing GPUPipelineLayout #2550

Description

@kainino0x

The motivation for this is:

  • Partially implicit pipeline layouts: Consider removing or reworking implicit pipeline layouts #2470 (comment)
  • Pipeline layouts are entirely represented by their value.
  • The driver probably doesn't do much work inside the creation of a pipeline layout objects.
  • WebGPU doesn't actually take advantage of pipeline layout objects. There's no pipeline layout object in setBindGroup (like in vkCmdBindDescriptorSets).

Editors weren't 100% sure if we still might want pipeline layout objects in the future (for things like push constants, immutable samplers, pipeline layout compatibility?), though they could always be added back.

Sorry, going on vacation now. More details later :P

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions