这是indexloc提供的服务,不要输入任何密码
Skip to content

Re-organize GPURenderPipelineDescriptor according to the structure of the GPU pipeline #936

@kvark

Description

@kvark

Talked about this on the editors meeting. We'd want to reorganize the pipeline descriptors according to the following guidelines:

  • a descriptor has a field per stage (be it programmable or fixed-point stage)
  • each field is a "stage descriptor" (e.g. output targets go into the "output merger", index related things go first, primitive topology is between the vertex shader and rasterization, etc)
  • fields are ordered according to the real order, in which they are specified on the GPUs (input assembly -> vertex -> primitive assembly -> rasterization -> fragment -> output merger)

The benefit is - consistency in what's inside a sub-dictionary versus just a field on the top-level descriptor, and clear understanding on when things happen on the GPU.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions