-
-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vk: Add
VK_EXT_provoking_vertex
optimization (#1681)
* vk: Add `VK_EXT_provoking_vertex` optimization The dreamcast uses the last vertex as the provoking vertex, while vulkan uses the first vertex. This requires an additional call to `setFirstProvokingVertex` to reorder the vertices for all incoming geometry. With `VK_EXT_provoking_vertex`, the pipeline can designate that the provoking vertex is to be the last vertex, which removes the need to re-order incoming geometry on the CPU. * vk: Propagate physical device API version to VMA Allows VMA to make assumptions such as using the `*KHR` or non-`KHR` versions of certain function names. * vk: Refactor libretro device initialization for `VK_EXT_provoking_vertex` * vk: Top out at vulkan API version to VMA to 1.1 Despite the physical device possibly being 1.2 or 1.3, we only want up to 1.1. Otherwise we will be responsible for other API functions being resolved and loaded when passing to VMA. * vk: Enable `VK_EXT_provoking_vertex` usage for ModVol and Final(OIT) pipeline * vk: Enable `VK_EXT_provoking_vertex` for ModVol(OIT) pipeline Pretty much anything handling dreamcast-geometry should use this extension when available * vk: Additional `VK_EXT_provoking_vertex` pipeline fixes
- Loading branch information
Showing
9 changed files
with
286 additions
and
53 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
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.