Skip to content

Commit

Permalink
profiles: Update to header 296
Browse files Browse the repository at this point in the history
  • Loading branch information
ziga-lunarg committed Sep 26, 2024
1 parent a501be7 commit 0f2d357
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/gen_profiles_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3988,7 +3988,7 @@ def generate_string_to_image_layout(self, imageLayouts):

args = parser.parse_args()

registryPath = '../external/Debug/Vulkan-Headers/build/install/share/vulkan/registry/vk.xml'
registryPath = '../external/Debug/64/Vulkan-Headers/build/install/share/vulkan/registry/vk.xml'
if args.registry is not None:
registryPath = args.registry

Expand Down
6 changes: 6 additions & 0 deletions scripts/gen_profiles_solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -3292,6 +3292,12 @@ def applyWorkarounds(self):
if 'VkPhysicalDeviceMaintenance6PropertiesKHR' in self.structs:
self.structs['VkPhysicalDeviceMaintenance6PropertiesKHR'].members['maxCombinedImageSamplerDescriptorCount'].limittype = 'max'

if 'VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT' in self.structs:
self.structs['VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT'].members['supportedIndirectCommandsInputModes'].limittype = 'bitmask'
self.structs['VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT'].members['supportedIndirectCommandsShaderStages'].limittype = 'bitmask'
self.structs['VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT'].members['supportedIndirectCommandsShaderStagesPipelineBinding'].limittype = 'bitmask'
self.structs['VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT'].members['supportedIndirectCommandsShaderStagesShaderBinding'].limittype = 'bitmask'

# TODO: The registry xml is also missing limittype definitions for format and queue family properties
# For now we just add the important ones, this needs a larger overhaul in the vk.xml
self.structs['VkFormatProperties'].members['linearTilingFeatures'].limittype = 'bitmask'
Expand Down
4 changes: 2 additions & 2 deletions scripts/known_good.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
"cmake_options": [
"-DVULKAN_HEADERS_ENABLE_MODULE=OFF"
],
"commit": "v1.3.295"
"commit": "v1.3.296"
},
{
"name": "Vulkan-Utility-Libraries",
"url": "https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git",
"sub_dir": "Vulkan-Utility-Libraries",
"build_dir": "Vulkan-Utility-Libraries/build",
"install_dir": "Vulkan-Utility-Libraries/build/install",
"commit": "v1.3.295",
"commit": "v1.3.296",
"deps": [
{
"var_name": "VULKAN_HEADERS_INSTALL_DIR",
Expand Down

0 comments on commit 0f2d357

Please sign in to comment.