Skip to content

[Impeller] Index buffer must be optional. #126572

@jonahwilliams

Description

@jonahwilliams

Currently all rendering commands require an index buffer. This is generally useful, but in certain cases adds pure overhead.

For example, if we're computing a triangle strip geometry in the compute shaders, its nice to not have to generate a placeholder index buffer on the CPU.

By default the vertex_buffer_builder will generate a trivial index buffer (0, 1, 2, 3) which is just adding more overhead in encoding.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work liste: impellerImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions