Skip to content

Commit

Permalink
Merge #2288
Browse files Browse the repository at this point in the history
2288: [mtl] Refined passes r=grovesNL a=kvark

Prevents rebinding of all the state and resources in case of consecutive compute dispatches.
~~Also, tries to make a list of commands for graphics pipeline setup and pass it as one big thing (instead of calling `pre.issue` for each individual one). This is piggy-backing on the `issue_many` function of the base commit here.~~ Edit: removed this commit for causing a performance regression.

Changes the sink API to be more clear about how the passes are started/ended, it's now the same across compute/render and distinct from blits.

PR checklist:
- [ ] `make` succeeds (on *nix)
- [x] `make reftests` succeeds
- [x] tested examples with the following backends: metal
- [ ] `rustfmt` run on changed code


Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
  • Loading branch information
bors[bot] and kvark committed Aug 3, 2018
2 parents 602f82e + c080087 commit 8cee495
Showing 1 changed file with 200 additions and 193 deletions.
Loading

0 comments on commit 8cee495

Please sign in to comment.