Searched defs:FeaturePointer (Results 1 – 1 of 1) sorted by relevance
1516 struct FeaturePointer { in ValidateShaderCapabilities() struct1518 const std::function<VkBool32(const DeviceFeatures &)> IsEnabled; in ValidateShaderCapabilities()1521 explicit operator bool() const { return static_cast<bool>(IsEnabled); } in ValidateShaderCapabilities()1524 FeaturePointer() : IsEnabled(nullptr) {} in ValidateShaderCapabilities() argument1525 FeaturePointer(std::nullptr_t ptr) : IsEnabled(nullptr) {} in ValidateShaderCapabilities() argument1528 FeaturePointer(VkBool32 VkPhysicalDeviceFeatures::*ptr) in ValidateShaderCapabilities() function1529 : IsEnabled([=](const DeviceFeatures &features) { return features.core.*ptr; }) {} in ValidateShaderCapabilities()1530 FeaturePointer(VkBool32 VkPhysicalDeviceDescriptorIndexingFeaturesEXT::*ptr) in ValidateShaderCapabilities() argument1531 … : IsEnabled([=](const DeviceFeatures &features) { return features.descriptor_indexing.*ptr; }) {} in ValidateShaderCapabilities()1532 FeaturePointer(VkBool32 VkPhysicalDevice8BitStorageFeaturesKHR::*ptr) in ValidateShaderCapabilities() argument[all …]