Commit: aa24a948f401aee77575c2761d461f94517ae185 Parent: cc3da2bb8abc2e2690d0868a4c3f6bbb1bdb8bc5 Author: Randy Palamar Date: Mon, 17 Aug 2026 06:32:30 -0700 vulkan: fix supported coop matrix type check this happened to work because the one we were looking for is likely to always be supported if the extension is supported. Diffstat:
| M | vulkan.c | | | 16 | ++++++++-------- |
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/vulkan.c b/vulkan.c @@ -1352,16 +1352,16 @@ vk_load_physical_device(Arena *arena, Stream *err) // variations if needed. for EachIndex(property_count, it) { b32 match = 1; - supported &= mat[it].scope == VK_SCOPE_SUBGROUP_KHR; + match &= mat[it].scope == VK_SCOPE_SUBGROUP_KHR; - supported &= mat[it].MSize == 16; - supported &= mat[it].NSize == 16; - supported &= mat[it].KSize == 16; + match &= mat[it].MSize == 16; + match &= mat[it].NSize == 16; + match &= mat[it].KSize == 16; - supported &= mat[it].AType == VK_COMPONENT_TYPE_FLOAT16_KHR; - supported &= mat[it].BType == VK_COMPONENT_TYPE_FLOAT16_KHR; - supported &= mat[it].CType == VK_COMPONENT_TYPE_FLOAT32_KHR; - supported &= mat[it].ResultType == VK_COMPONENT_TYPE_FLOAT32_KHR; + match &= mat[it].AType == VK_COMPONENT_TYPE_FLOAT16_KHR; + match &= mat[it].BType == VK_COMPONENT_TYPE_FLOAT16_KHR; + match &= mat[it].CType == VK_COMPONENT_TYPE_FLOAT32_KHR; + match &= mat[it].ResultType == VK_COMPONENT_TYPE_FLOAT32_KHR; supported |= match; }