diff options
| author | 2020-03-27 02:44:29 -0300 | |
|---|---|---|
| committer | 2020-03-27 03:13:18 -0300 | |
| commit | 92c8d783b3dfb3f6a264ec75cacd42f01a950046 (patch) | |
| tree | 6a96250c0b5ca2696b93582cb05af9d873f471b9 /src/video_core/gpu_thread.cpp | |
| parent | Merge pull request #3544 from makigumo/myfork/patch-2 (diff) | |
| download | yuzu-92c8d783b3dfb3f6a264ec75cacd42f01a950046.tar.gz yuzu-92c8d783b3dfb3f6a264ec75cacd42f01a950046.tar.xz yuzu-92c8d783b3dfb3f6a264ec75cacd42f01a950046.zip | |
renderer_vulkan/wrapper: Add Vulakn wrapper and a span helper
The intention behind a Vulkan wrapper is to drop Vulkan-Hpp.
The issues with Vulkan-Hpp are:
- Regular breaks of the API.
- Copy constructors that do the same as the aggregates (fixed recently)
- External dynamic dispatch that is hard to remove
- Alias KHR handles with non-KHR handles making it impossible to use
smart handles on Vulkan 1.0 instances with extensions that were included
on Vulkan 1.1.
- Dynamic dispatchers silently change size depending on preprocessor
definitions. Different files will have different dispatch definitions,
generating all kinds of hard to debug memory issues.
In other words, Vulkan-Hpp is not "production ready" for our needs and
this wrapper aims to replace it without losing RAII and exception
safety.
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
0 files changed, 0 insertions, 0 deletions