Home
last modified time | relevance | path

Searched refs:featureFlags (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkCaps.cpp16 VkPhysicalDevice physDev, uint32_t featureFlags, uint32_t extensionFlags) in GrVkCaps() argument
53 this->init(contextOptions, vkInterface, physDev, featureFlags, extensionFlags); in GrVkCaps()
73 VkPhysicalDevice physDev, uint32_t featureFlags, uint32_t extensionFlags) { in init() argument
81 this->initGrCaps(properties, memoryProperties, featureFlags); in init()
82 this->initShaderCaps(properties, featureFlags); in init()
148 uint32_t featureFlags) { in initGrCaps() argument
175 fSampleShadingSupport = SkToBool(featureFlags & kSampleRateShading_GrVkFeatureFlag); in initGrCaps()
184 void GrVkCaps::initShaderCaps(const VkPhysicalDeviceProperties& properties, uint32_t featureFlags) { in initShaderCaps() argument
222 shaderCaps->fGeometryShaderSupport = SkToBool(featureFlags & kGeometryShader_GrVkFeatureFlag); in initShaderCaps()
224 shaderCaps->fDualSourceBlendingSupport = SkToBool(featureFlags & kDualSrcBlend_GrVkFeatureFlag); in initShaderCaps()
DGrVkCaps.h30 VkPhysicalDevice device, uint32_t featureFlags, uint32_t extensionFlags);
118 VkPhysicalDevice device, uint32_t featureFlags, uint32_t extensionFlags);
121 uint32_t featureFlags);
122 void initShaderCaps(const VkPhysicalDeviceProperties&, uint32_t featureFlags);
DGrVkBackendContext.cpp198 uint32_t featureFlags = 0; in Create() local
200 featureFlags |= kGeometryShader_GrVkFeatureFlag; in Create()
203 featureFlags |= kDualSrcBlend_GrVkFeatureFlag; in Create()
206 featureFlags |= kSampleRateShading_GrVkFeatureFlag; in Create()
263 ctx->fFeatures = featureFlags; in Create()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp272 …UsageMatchesFormatFeatures (const VkImageUsageFlags usage, const VkFormatFeatureFlags featureFlags) in imageUsageMatchesFormatFeatures() argument
274 if ((usage & VK_IMAGE_USAGE_SAMPLED_BIT) && (featureFlags & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT)) in imageUsageMatchesFormatFeatures()
276 if ((usage & VK_IMAGE_USAGE_STORAGE_BIT) && (featureFlags & VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT)) in imageUsageMatchesFormatFeatures()
278 …SAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT)) && (featureFlags & VK_FORMAT_FEA… in imageUsageMatchesFormatFeatures()
280 …if ((usage & VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT) && (featureFlags & VK_FORMAT_FEATURE_DEP… in imageUsageMatchesFormatFeatures()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp944 const VkFormatFeatureFlags featureFlags) in checkImageFormatFeatureSupport() argument
948 return (formatProperties.optimalTilingFeatures & featureFlags) == featureFlags; in checkImageFormatFeatureSupport()
DvktSparseResourcesTestsUtil.hpp298 const vk::VkFormatFeatureFlags featureFlags);
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleInterpolationTests.cpp98 const VkFormatFeatureFlags featureFlags) const;
176 const VkFormatFeatureFlags featureFlags) const in validateImageFeatureFlags()
180 if ((formatProperties.optimalTilingFeatures & featureFlags) != featureFlags) in validateImageFeatureFlags()
184 …ce does not support image format " << format << " for feature flags " << featureFlags << std::endl; in validateImageFeatureFlags()