Home
last modified time | relevance | path

Searched refs:formatProps (Results 1 – 11 of 11) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineStencilExportTests.cpp128 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
130 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedDepthStencilFormat()
132 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0; in isSupportedDepthStencilFormat()
DvktPipelineBlendTests.cpp66 VkFormatProperties formatProps; in isSupportedBlendFormat() local
68 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedBlendFormat()
70 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT) && in isSupportedBlendFormat()
71 (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT); in isSupportedBlendFormat()
DvktPipelineStencilTests.cpp63 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
65 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedDepthStencilFormat()
67 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0; in isSupportedDepthStencilFormat()
DvktPipelineDepthTests.cpp61 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
63 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedDepthStencilFormat()
65 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0u; in isSupportedDepthStencilFormat()
DvktPipelineImageUtil.cpp101 VkFormatProperties formatProps; in isSupportedSamplableFormat() local
102 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedSamplableFormat()
104 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT) != 0u; in isSupportedSamplableFormat()
DvktPipelineVertexInputTests.cpp68 VkFormatProperties formatProps; in isSupportedVertexFormat() local
69 deMemset(&formatProps, 0, sizeof(VkFormatProperties)); in isSupportedVertexFormat()
70 …ceInterface().getPhysicalDeviceFormatProperties(context.getPhysicalDevice(), format, &formatProps); in isSupportedVertexFormat()
72 return (formatProps.bufferFeatures & VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT) != 0u; in isSupportedVertexFormat()
DvktPipelineMultisampleTests.cpp887 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
888 vki.getPhysicalDeviceFormatProperties(physDevice, format, &formatProps); in isSupportedDepthStencilFormat()
889 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0; in isSupportedDepthStencilFormat()
DvktPipelineMultisampleSampleLocationsExtTests.cpp149 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
150 vki.getPhysicalDeviceFormatProperties(physDevice, format, &formatProps); in isSupportedDepthStencilFormat()
151 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0; in isSupportedDepthStencilFormat()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp210 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
211 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedDepthStencilFormat()
212 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0; in isSupportedDepthStencilFormat()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp7562 VkImageFormatProperties formatProps; in TEST_F() local
7565 &formatProps); in TEST_F()
7566 if (formatProps.maxExtent.width < 100 || formatProps.maxExtent.height < 100) { in TEST_F()
18778 VkFormatProperties formatProps; in TEST_F() local
18786 …fpvkGetOriginalPhysicalDeviceFormatPropertiesEXT(gpu(), VK_FORMAT_R32G32B32A32_UINT, &formatProps); in TEST_F()
18787 formatProps.optimalTilingFeatures |= features[i]; in TEST_F()
18788 fpvkSetPhysicalDeviceFormatPropertiesEXT(gpu(), VK_FORMAT_R32G32B32A32_UINT, formatProps); in TEST_F()
18790 memset(&formatProps, 0, sizeof(formatProps)); in TEST_F()
18793 …fpvkGetOriginalPhysicalDeviceFormatPropertiesEXT(gpu(), VK_FORMAT_R32G32B32A32_SINT, &formatProps); in TEST_F()
18794 formatProps.optimalTilingFeatures = features[(i + 1) % feature_count]; in TEST_F()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperation.cpp851 …const VkFormatProperties formatProps = getPhysicalDeviceFormatProperties(vki, physDevice, m_resou… in BlitImplementation() local
855 if ((formatProps.optimalTilingFeatures & requiredFlags) != requiredFlags) in BlitImplementation()