Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineLogicOpTests.cpp57 VkFormatProperties formatProps; in isSupportedColorAttachmentFormat() local
58 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedColorAttachmentFormat()
63 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT); in isSupportedColorAttachmentFormat()
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()
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()
DvktPipelineDepthRangeUnrestrictedTests.cpp127 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
129 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedDepthStencilFormat()
131 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0u; in isSupportedDepthStencilFormat()
DvktPipelineBlendTests.cpp70 VkFormatProperties formatProps; in isSupportedBlendFormat() local
72 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedBlendFormat()
74 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT) && in isSupportedBlendFormat()
75 (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT); in isSupportedBlendFormat()
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()
DvktPipelineImageUtil.cpp102 VkFormatProperties formatProps; in isSupportedSamplableFormat() local
103 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedSamplableFormat()
105 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT) != 0u; in isSupportedSamplableFormat()
DvktPipelineMultisampleSampleLocationsExtTests.cpp156 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
157 vki.getPhysicalDeviceFormatProperties(physDevice, format, &formatProps); in isSupportedDepthStencilFormat()
158 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0; in isSupportedDepthStencilFormat()
DvktPipelineMultisampleTests.cpp1060 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
1061 vki.getPhysicalDeviceFormatProperties(physDevice, format, &formatProps); in isSupportedDepthStencilFormat()
1062 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0; in isSupportedDepthStencilFormat()
/external/vulkan-validation-layers/tests/
Dvklayertests_buffer_image_memory_sampler.cpp5142 VkFormatProperties formatProps; in TEST_F() local
5150 …fpvkGetOriginalPhysicalDeviceFormatPropertiesEXT(gpu(), VK_FORMAT_R32G32B32A32_UINT, &formatProps); in TEST_F()
5151 formatProps.optimalTilingFeatures |= features[i]; in TEST_F()
5152 fpvkSetPhysicalDeviceFormatPropertiesEXT(gpu(), VK_FORMAT_R32G32B32A32_UINT, formatProps); in TEST_F()
5154 memset(&formatProps, 0, sizeof(formatProps)); in TEST_F()
5157 …fpvkGetOriginalPhysicalDeviceFormatPropertiesEXT(gpu(), VK_FORMAT_R32G32B32A32_SINT, &formatProps); in TEST_F()
5158 formatProps.optimalTilingFeatures = features[(i + 1) % feature_count]; in TEST_F()
5159 fpvkSetPhysicalDeviceFormatPropertiesEXT(gpu(), VK_FORMAT_R32G32B32A32_SINT, formatProps); in TEST_F()
5207 …fpvkGetOriginalPhysicalDeviceFormatPropertiesEXT(gpu(), VK_FORMAT_D24_UNORM_S8_UINT, &formatProps); in TEST_F()
5208 formatProps.optimalTilingFeatures |= features[i]; in TEST_F()
[all …]
Dvkpositivelayertests.cpp416 VkImageFormatProperties formatProps; in TEST_F() local
419 &formatProps); in TEST_F()
420 if (formatProps.maxExtent.width < 100 || formatProps.maxExtent.height < 100) { in TEST_F()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp188 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
189 instanceInterface.getPhysicalDeviceFormatProperties(device, format, &formatProps); in isSupportedDepthStencilFormat()
190 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0; in isSupportedDepthStencilFormat()
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingWatertightnessTests.cpp248 …const auto formatProps = getPhysicalDeviceImageFormatProperties(vki, physDev, format, getImageType… in checkSupport() local
249 const auto& maxExtent = formatProps.maxExtent; in checkSupport()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringTests.cpp102 VkFormatProperties formatProps; in checkTextureSupport() local
103 …etPhysicalDeviceFormatProperties(context.getPhysicalDevice(), testParameters.format, &formatProps); in checkTextureSupport()
104 …if ((formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT) == … in checkTextureSupport()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperation.cpp1102 …const VkFormatProperties formatProps = getPhysicalDeviceFormatProperties(vki, physDevice, m_resou… in BlitImplementation() local
1106 if ((formatProps.optimalTilingFeatures & requiredFlags) != requiredFlags) in BlitImplementation()
1287 …const VkFormatProperties formatProps = getPhysicalDeviceFormatProperties(vki, physDevice, m_inRes… in BlitCopyImplementation() local
1291 if ((formatProps.optimalTilingFeatures & requiredFlags) != requiredFlags) in BlitCopyImplementation()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp2188 VkFormatProperties formatProps; in isSupportedDepthStencilFormat() local
2189 vki.getPhysicalDeviceFormatProperties(physDevice, format, &formatProps); in isSupportedDepthStencilFormat()
2190 return (formatProps.optimalTilingFeatures & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) != 0; in isSupportedDepthStencilFormat()