| 78 | static inline bool IsPointTopology(VkPrimitiveTopology topology) { return topology == VK_PRIMITIVE_TOPOLOGY_POINT_LIST; }; |
| 79 | |
| 80 | static inline bool IsLineTopology(VkPrimitiveTopology topology) { |
| 81 | return (topology == VK_PRIMITIVE_TOPOLOGY_LINE_LIST || topology == VK_PRIMITIVE_TOPOLOGY_LINE_STRIP || |
| 82 | topology == VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY || |
| 83 | topology == VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY); |
| 84 | }; |
| 85 | |
| 86 | static inline bool IsTriangleTopology(VkPrimitiveTopology topology) { |
| 87 | return (topology == VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST || topology == VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP || |
no outgoing calls
no test coverage detected