-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* vulkanGlobal: add BufferInfo struct, and deprecate CreateBuffer * vulkanGlobal: add missing VK_EXT_ROBUSTNESS_2_EXTENSION_NAME * Context: add createBuffer() Diff with old CreateBuffer(): - VmaAllocationCreateFlags flags in argument for better control - Return an optional std::optional<BufferInfo>, (don't throw) - Set usage as VMA_MEMORY_USAGE_AUTO instead of unknown * VertexBuffer: use Context::createBuffer() in LOCAL mode - This also remove the unneeded VMA_ALLOCATION_CREATE_MAPPED_BIT flag (a small boost in FPS remarked) - VMA_ALLOCATION_CREATE_MAPPED_BIT: permanent mapping, but code is "mapping -> copy -> unmapping" * GarbageCollector: add GarbageBuffer constructor with BufferInfo * VertexBuffer: use Context::createBuffer() for DEVICE mode, use INDIRECT_EXECUTION for submit type * TextureImage: remove usage of CreateBuffer() * Shaders: add missing "readonly" decoration - This mute validation error : "vertexPipelineStoresAndAtomics was not enabled." * ObjSpriteBatches: avoid passing by requestGlobalTransform() * UniformBuffer: apply Context::createBuffer() * IndexBuffer: apply Context::createBuffer() * remove deprecated * Context: add createImage() * vulkanGlobal: add ImageInfo, apply Context::createImage to TextureImage * vulkanGlobal: move CreateImageView() to LogicalDevice
- Loading branch information
1 parent
de3e50a
commit e0b8518
Showing
19 changed files
with
368 additions
and
425 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
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
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.