-
Notifications
You must be signed in to change notification settings - Fork 651
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Layer Settings API to framework, improve batch mode error recover…
…y, fix macOS issues (#1084) * Add infrastructure to support Vulkan layer settings extension and API * shader_debugprintf: Enable debugPrintfEXT using layer settings API vs. create_instance() custom override * descriptor_indexing: On macOS enable Metal Argument Buffers via layer settings and work-around variable descriptor counts * Fix CMakeLists.txt find dxc logic - check for Vulkan_dxc_EXECUTABLE not DEFINED Vulkan_dxc_EXECUTABLE * Enable VK_ENABLE_BETA_EXTENSIONS on Apple platforms for VK_KHR_portability_subset extension and features * Batch mode: Reset target environment to default prior to each sample; permit VK_SUBOPTIMAL_KHR * Don't create app bundle on macOS in order to match build/run documentation * Add .DS_Store to .gitignore for macOS cleanliness * shader_debugprintf: Override get_validation_layers() and allow layer settings to work with Release builds * Batch mode: Improve error recovery by using throw std::runtime_error() vs. ExitCode::FatalError * Batch mode: Improve error recovery for async_compute, fragment_shader_barycentric, and texture_mipmap_generation samples * CMakeLists: Move project() definition before find_package(Vulkan) to setup platform default search paths for dxc * Remove HLSL shader compilation warning when VULKAN_SDK is not found * Modify macOS run documentation to include possibilty of arm64 hosts * shader_debugprintf: Check for VK_EXT_layer_settings at runtime for backwards compatibilty with older SDKs * Fix CI warnings for Doxygen and Copyright dates * Fix CI warnings for files identified by clang-format * Incorporate initial feedback from @asuessenbach * Remove #if defined(VK_EXT_layer_settings) guards from layer settings code * pipeline_cache sample: Replace VK_CHECK in destructor with explicit error handling and logging * descriptor_indexing and shader_debugprintf: Small changes to support older Vulkan SDKs * Incorporate subsequent feedback from @asuessenbach * Try to fix clang-format issues with async_compute.cpp and pipeline_cache.cpp * Use VKB_ENABLE_PORTABILITY vs. VK_ENABLE_BETA_EXTENSIONS to guard portability subset features * Remove duplicates and reuse runtime checks for VK_KHR_portability_enumeration * Remove descriptor_indexing sample workaround for Apple Vulkan SDKs > 1.3.283 * Update shader_debugprintf README to describe layer settings method of enabling debugPrintfEXT * Use Vulkan_dxc_exe_FOUND where possible, use Vulkan_dxc_EXECUTABLE in sample_helper.cmake
- Loading branch information
1 parent
3fcc530
commit fdce530
Showing
33 changed files
with
423 additions
and
133 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ tests/system_test/tmp | |
output/* | ||
.mypy_cache | ||
tags | ||
.DS_Store | ||
|
||
# vim backup and temp files | ||
*~ | ||
|
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.