Skip to content

Commit

Permalink
Disable validation option gpuav_post_process_descriptor_indexing
Browse files Browse the repository at this point in the history
Vulkan-ValidationLayers issue: KhronosGroup/Vulkan-ValidationLayers#9222
  • Loading branch information
corporateshark committed Jan 15, 2025
1 parent 0fe87c3 commit 0b97b2d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lvk/vulkan/VulkanClasses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5858,6 +5858,7 @@ void lvk::VulkanContext::createInstance() {
const int useMetalArgumentBuffers = 1;
const VkBool32 gpuav_descriptor_checks = VK_FALSE; // https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/8688
const VkBool32 gpuav_indirect_draws_buffers = VK_FALSE; // https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/8579
const VkBool32 gpuav_post_process_descriptor_indexing = VK_FALSE; // https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/9222
#define LAYER_SETTINGS_BOOL32(name, var) \
VkLayerSettingEXT { \
.pLayerName = kDefaultValidationLayers[0], .pSettingName = name, .type = VK_LAYER_SETTING_TYPE_BOOL32_EXT, .valueCount = 1, \
Expand All @@ -5866,6 +5867,7 @@ void lvk::VulkanContext::createInstance() {
const VkLayerSettingEXT settings[] = {
LAYER_SETTINGS_BOOL32("gpuav_descriptor_checks", &gpuav_descriptor_checks),
LAYER_SETTINGS_BOOL32("gpuav_indirect_draws_buffers", &gpuav_indirect_draws_buffers),
LAYER_SETTINGS_BOOL32("gpuav_post_process_descriptor_indexing", &gpuav_post_process_descriptor_indexing),
{"MoltenVK", "MVK_CONFIG_USE_METAL_ARGUMENT_BUFFERS", VK_LAYER_SETTING_TYPE_INT32_EXT, 1, &useMetalArgumentBuffers},
};
#undef LAYER_SETTINGS_BOOL32
Expand Down

0 comments on commit 0b97b2d

Please sign in to comment.