| 294 | } |
| 295 | |
| 296 | static bool IsSignedIntEnum(const VkComponentTypeKHR component_type) { |
| 297 | switch (component_type) { |
| 298 | case VK_COMPONENT_TYPE_SINT8_KHR: |
| 299 | case VK_COMPONENT_TYPE_SINT16_KHR: |
| 300 | case VK_COMPONENT_TYPE_SINT32_KHR: |
| 301 | case VK_COMPONENT_TYPE_SINT64_KHR: |
| 302 | return true; |
| 303 | default: |
| 304 | return false; |
| 305 | } |
| 306 | } |
| 307 | |
| 308 | // Validate SPV_KHR_cooperative_matrix (and SPV_NV_cooperative_matrix) behavior that can't be statically validated in SPIRV-Tools |
| 309 | // (e.g. due to specialization constant usage). |
no outgoing calls
no test coverage detected