Home
last modified time | relevance | path

Searched defs:FeaturePointer (Results 1 – 1 of 1) sorted by relevance

/external/vulkan-validation-layers/layers/
Dshader_validation.cpp1516 struct FeaturePointer { in ValidateShaderCapabilities() struct
1518 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() argument
1525 FeaturePointer(std::nullptr_t ptr) : IsEnabled(nullptr) {} in ValidateShaderCapabilities() argument
1528 FeaturePointer(VkBool32 VkPhysicalDeviceFeatures::*ptr) in ValidateShaderCapabilities() function
1529 : IsEnabled([=](const DeviceFeatures &features) { return features.core.*ptr; }) {} in ValidateShaderCapabilities()
1530 FeaturePointer(VkBool32 VkPhysicalDeviceDescriptorIndexingFeaturesEXT::*ptr) in ValidateShaderCapabilities() argument
1531 … : IsEnabled([=](const DeviceFeatures &features) { return features.descriptor_indexing.*ptr; }) {} in ValidateShaderCapabilities()
1532 FeaturePointer(VkBool32 VkPhysicalDevice8BitStorageFeaturesKHR::*ptr) in ValidateShaderCapabilities() argument
[all …]