Rather than occasionally updating VkStringify's table to match vulkan_core.h, we can use vulkan.hpp's to_string functions to get us the name of structure types. vulkan.hpp is such a burdensome file that it makes more sense to only include it in VkStringify.cpp instead of including it everywhere that looks at a structure extension list. And since vulkan.hpp uses its own equivalent equivalent types for every Vk* object, every place that calls vkhpp::to_string would have to do some clunky static_cast. I think in the long run, it's easier to maintain vulkan.hpp if we don't use it directly in our core files. Bug: b/170962162 Change-Id: Ib0380eaba4d05d9d5127fb0569efa6ef88d0156b Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/49368 Kokoro-Result: kokoro <noreply+kokoro@google.com> Tested-by:Sean Risser <srisser@google.com> Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .vscode | Loading commit data... | |
| build | Loading commit data... | |
| build_overrides | Loading commit data... | |
| docs | Loading commit data... | |
| extensions | Loading commit data... | |
| include | Loading commit data... | |
| src | Loading commit data... | |
| tests | Loading commit data... | |
| third_party | Loading commit data... | |
| tools/cmake_generate_graphviz | Loading commit data... | |
| .clang-format | Loading commit data... | |
| .dir-locals.el | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .gitmodules | Loading commit data... | |
| AUTHORS.txt | Loading commit data... | |
| Android.bp | Loading commit data... | |
| BUILD.gn | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| CMakeSettings.json | Loading commit data... | |
| CONTRIBUTING.txt | Loading commit data... | |
| CONTRIBUTORS.txt | Loading commit data... | |
| LICENSE.txt | Loading commit data... | |
| OWNERS | Loading commit data... | |
| README.md | Loading commit data... | |
| codereview.settings | Loading commit data... |