-
Notifications
You must be signed in to change notification settings - Fork 546
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2070: Metal indirect push constants r=msiglreith a=kvark Fixes #2066, Fixes #2065 ~~Includes #2064 (to be rebased)~~ Includes many cool things for Metal: - [x] indirect draw support - [x] push constant support - [x] TODO: don't require push constants if the shader doesn't use them - [x] TODO: support pipeline inheritance - [x] workaround for an issue occurring when the PSO is bound after the vertex buffers - [x] metal-rs flags update - [x] point_size built-in usage by SPIRV-Cross - [x] new `DrawCount` typedef in HAL - [x] depth bounds The CTS category of "dEQP-VK.draw" now shows the following stats: - 170 Succeeded 🎉 - 0 Crashed - 25 Failed - mostly due to missing TriangleFan topology - depth ranges don't work probably, Apple upstream bug is filed PR checklist: - [x] `make` succeeds (on *nix) - [x] `make reftests` succeeds - [x] tested examples with the following backends: Metal Co-authored-by: Dzmitry Malyshau <[email protected]>
- Loading branch information
Showing
17 changed files
with
382 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.