google / google/gapid

gles.DeadCodeElimination shouldn't pretend to be a Transformer.

Open
#163 0 comments 0 reactions 0 assignees View on GitHub
GAPIS GLES P3 triaged
Dominant language
Go
Stars
2.2k
Forks
329
PR merge metrics
No merged PRs in 30d

Description

```go
func (t *DeadCodeElimination) Transform(ctx context.Context, id atom.ID, a atom.Atom, out transform.Writer) {
panic(fmt.Errorf("This transform does not accept input atoms"))
}
```

ewwwwwww.

If the DCE is always the source of atoms, make it write to the Transforms.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.