Skip to content

Commit f9d72f3

Browse files
committed
Remove assert
This code seems to look for "<feature api=" elements in vk.xml. However, one of the six total elements don't have a "depends" attribute. You can see this by opening https://raw.githubusercontent.com/KhronosGroup/Vulkan-Docs/refs/heads/main/xml/vk.xml and searching for "<feature api=". This is the line that does not have the depends attribute, which causes the assert to fail: <feature api="vulkan,vulkansc" name="VK_VERSION_1_0" number="1.0" comment="Vulkan core API interface definitions"> The other relevant lines do have a depends attribute: <feature api="vulkan,vulkansc" name="VK_VERSION_1_1" number="1.1" depends="VK_VERSION_1_0" comment="Vulkan 1.1 core API interface definitions.">
1 parent 3725f9b commit f9d72f3

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

sources/SilkTouch/SilkTouch/Mods/MixKhronosData.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,6 @@ .. profileVariations.TryGetValue(variant, out var v) ? v : []
622622
_listSeparators,
623623
StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries
624624
) ?? [];
625-
Debug.Assert((depends.Length > 0) == explicitDependencies);
626625

627626
// Evaluate all of the elements.
628627
for (var i = 0; i < allApis.Length; i++)

0 commit comments

Comments
 (0)