Home
last modified time | relevance | path

Searched refs:imageFormatInfo (Results 1 - 25 of 40) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiPhysicalDeviceFormatPropertiesMaint5Tests.cpp164 VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = initVulkanStructure(); in iterate() local
165 imageFormatInfo.format = VK_FORMAT_UNDEFINED; in iterate()
166 imageFormatInfo.type = imageType; in iterate()
167 imageFormatInfo.tiling = tiling; in iterate()
168 imageFormatInfo.usage = usage; in iterate()
169 imageFormatInfo.flags = createFlags; in iterate()
209 imageFormatInfo.format = format; in iterate()
210 res = inst.getPhysicalDeviceImageFormatProperties2(dev, &imageFormatInfo, &imageProps2); in iterate()
252 VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = initVulkanStructure(); in iterate() local
253 imageFormatInfo in iterate()
[all...]
H A DvktApiFeatureInfo.cpp6495 const VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in imageFormatProperties2() local
6517 coreResult = vki.getPhysicalDeviceImageFormatProperties(physicalDevice, imageFormatInfo.format, imageFormatInfo.type, imageFormatInfo.tiling, imageFormatInfo.usage, imageFormatInfo.flags, &coreProperties); in imageFormatProperties2()
6518 extResult = vki.getPhysicalDeviceImageFormatProperties2(physicalDevice, &imageFormatInfo, &extProperties); in imageFormatProperties2()
6526 log << TestLog::Message << "ERROR: device mismatch with query " << imageFormatInfo << TestLog::EndMessage in imageFormatProperties2()
6562 const VkPhysicalDeviceSparseImageFormatInfo2 imageFormatInfo = in sparseImageFormatProperties2() local
6577 vki.getPhysicalDeviceSparseImageFormatProperties(physicalDevice, imageFormatInfo in sparseImageFormatProperties2()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_memory/
H A DMemoryServiceDmaBuf.cpp127 VkPhysicalDeviceImageFormatInfo2 imageFormatInfo; in SupportsCreateImage() local
128 imageFormatInfo.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2; in SupportsCreateImage()
129 imageFormatInfo.format = format; in SupportsCreateImage()
130 imageFormatInfo.type = VK_IMAGE_TYPE_2D; in SupportsCreateImage()
131 imageFormatInfo.tiling = VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT; in SupportsCreateImage()
132 imageFormatInfo.usage = usage; in SupportsCreateImage()
133 imageFormatInfo.flags = 0; in SupportsCreateImage()
134 imageFormatInfo.pNext = &externalImageFormatInfo; in SupportsCreateImage()
145 physicalDevice, &imageFormatInfo, &imageFormatProps)); in SupportsCreateImage()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/linux/
H A DDmaBufImageSiblingVkLinux.cpp197 VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = {}; in IsFormatSupported() local
198 imageFormatInfo.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2; in IsFormatSupported()
199 imageFormatInfo.pNext = &externalMemoryImageCreateInfo; in IsFormatSupported()
200 imageFormatInfo.format = vkFormat; in IsFormatSupported()
201 imageFormatInfo.type = VK_IMAGE_TYPE_2D; in IsFormatSupported()
202 imageFormatInfo.tiling = VK_IMAGE_TILING_OPTIMAL; in IsFormatSupported()
203 imageFormatInfo.usage = usageFlags; in IsFormatSupported()
204 imageFormatInfo.flags = createFlags; in IsFormatSupported()
214 imageFormatInfo.pNext = &drmFormatModifierInfo; in IsFormatSupported()
215 imageFormatInfo in IsFormatSupported()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/
H A DvktVideoTestUtils.cpp615 VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = {}; in validateVideoProfileList() local
616 imageFormatInfo.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2; in validateVideoProfileList()
617 imageFormatInfo.pNext = videoProfileList; in validateVideoProfileList()
618 imageFormatInfo.format = format; in validateVideoProfileList()
619 imageFormatInfo.usage = usage; in validateVideoProfileList()
626 const VkResult res = vk.getPhysicalDeviceImageFormatProperties2(physicalDevice, &imageFormatInfo, &imageFormatProperties); in validateVideoProfileList()
/third_party/skia/tests/
H A DVkHardwareBufferTest.cpp604 VkPhysicalDeviceImageFormatInfo2 imageFormatInfo; in checkOptimalHardwareBuffer() local
605 imageFormatInfo.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2; in checkOptimalHardwareBuffer()
606 imageFormatInfo.pNext = &externalImageFormatInfo; in checkOptimalHardwareBuffer()
607 imageFormatInfo.format = VK_FORMAT_R8G8B8A8_UNORM; in checkOptimalHardwareBuffer()
608 imageFormatInfo.type = VK_IMAGE_TYPE_2D; in checkOptimalHardwareBuffer()
609 imageFormatInfo.tiling = VK_IMAGE_TILING_OPTIMAL; in checkOptimalHardwareBuffer()
610 imageFormatInfo.usage = usageFlags; in checkOptimalHardwareBuffer()
611 imageFormatInfo.flags = 0; in checkOptimalHardwareBuffer()
626 &imageFormatInfo, &imgFormProps); in checkOptimalHardwareBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/video/
H A DvktVideoTestUtils.cpp342 VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = {}; in validateVideoProfileList() local
343 imageFormatInfo.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2; in validateVideoProfileList()
344 imageFormatInfo.pNext = videoProfileList; in validateVideoProfileList()
345 imageFormatInfo.format = format; in validateVideoProfileList()
346 imageFormatInfo.usage = usage; in validateVideoProfileList()
353 VK_CHECK(vk.getPhysicalDeviceImageFormatProperties2(physicalDevice, &imageFormatInfo, &imageFormatProperties)); in validateVideoProfileList()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrImageQueryTests.cpp431 const VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in testImageQuery() local
451 VK_CHECK(vk.getPhysicalDeviceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &imageFormatProperties)); in testImageQuery()
614 const VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in testImageQueryLod() local
634 VK_CHECK(vk.getPhysicalDeviceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &imageFormatProperties)); in testImageQueryLod()
H A DvktYCbCrFormatTests.cpp383 const VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in testFormat() local
420 propsResult = vki.getPhysicalDeviceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &extProperties); in testFormat()
H A DvktYCbCrFilteringTests.cpp301 const VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in iterate() local
321 VK_CHECK(instInt.getPhysicalDeviceImageFormatProperties2(physicalDevice, &imageFormatInfo, &imageFormatProperties)); in iterate()
H A DvktYCbCrViewTests.cpp617 const VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in testPlaneView() local
637 VkResult result = vk.getPhysicalDeviceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &imageFormatProperties); in testPlaneView()
H A DvktYCbCrConversionTests.cpp531 const vk::VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in evalShader() local
553 VK_CHECK(vk.getPhysicalDeviceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &imageFormatProperties)); in evalShader()
614 const vk::VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in checkSupport() local
634 vk::VkResult result = instInt.getPhysicalDeviceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &imageFormatProperties); in checkSupport()
739 const vk::VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in textureConversionTest() local
759 vk::VkResult result = instInt.getPhysicalDeviceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &imageFormatProperties); in textureConversionTest()
H A DvktYCbCrStorageImageWriteTests.cpp115 const VkPhysicalDeviceImageFormatInfo2 imageFormatInfo =
135 VkResult result = instInt.getPhysicalDeviceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &imageFormatProperties);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrImageQueryTests.cpp431 const VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in testImageQuery() local
451 VK_CHECK(vk.getPhysicalDeviceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &imageFormatProperties)); in testImageQuery()
614 const VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in testImageQueryLod() local
634 VK_CHECK(vk.getPhysicalDeviceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &imageFormatProperties)); in testImageQueryLod()
H A DvktYCbCrFormatTests.cpp383 const VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in testFormat() local
420 propsResult = vki.getPhysicalDeviceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &extProperties); in testFormat()
H A DvktYCbCrViewTests.cpp569 const VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in testPlaneView() local
589 VkResult result = vk.getPhysicalDeviceImageFormatProperties2(context.getPhysicalDevice(), &imageFormatInfo, &imageFormatProperties); in testPlaneView()
H A DvktYCbCrFilteringTests.cpp301 const VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in iterate() local
321 VK_CHECK(instInt.getPhysicalDeviceImageFormatProperties2(physicalDevice, &imageFormatInfo, &imageFormatProperties)); in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DRendererVk.cpp3618 VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = {}; in getFormatDescriptorCountForVkFormat() local
3619 imageFormatInfo.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2; in getFormatDescriptorCountForVkFormat()
3620 imageFormatInfo.format = format; in getFormatDescriptorCountForVkFormat()
3621 imageFormatInfo.type = VK_IMAGE_TYPE_2D; in getFormatDescriptorCountForVkFormat()
3622 imageFormatInfo.tiling = VK_IMAGE_TILING_OPTIMAL; in getFormatDescriptorCountForVkFormat()
3623 imageFormatInfo.usage = VK_IMAGE_USAGE_SAMPLED_BIT; in getFormatDescriptorCountForVkFormat()
3624 imageFormatInfo.flags = 0; in getFormatDescriptorCountForVkFormat()
3637 mPhysicalDevice, &imageFormatInfo, &imageFormatProperties2)); in getFormatDescriptorCountForVkFormat()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/modifiers/
H A DvktModifiersTests.cpp153 const VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in verifyHandleTypeForFormatModifier() local
167 if (vki.getPhysicalDeviceImageFormatProperties2(physicalDevice, &imageFormatInfo, &imageProperties) == VK_ERROR_FORMAT_NOT_SUPPORTED) in verifyHandleTypeForFormatModifier()
299 const VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in isModifierCompatibleWithImageProperties() local
314 if (vki.getPhysicalDeviceImageFormatProperties2(physicalDevice, &imageFormatInfo, &imageProperties) == VK_ERROR_FORMAT_NOT_SUPPORTED) in isModifierCompatibleWithImageProperties()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/modifiers/
H A DvktModifiersTests.cpp148 const VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in verifyHandleTypeForFormatModifier() local
162 if (vki.getPhysicalDeviceImageFormatProperties2(physicalDevice, &imageFormatInfo, &imageProperties) == VK_ERROR_FORMAT_NOT_SUPPORTED) in verifyHandleTypeForFormatModifier()
294 const VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in isModifierCompatibleWithImageProperties() local
309 if (vki.getPhysicalDeviceImageFormatProperties2(physicalDevice, &imageFormatInfo, &imageProperties) == VK_ERROR_FORMAT_NOT_SUPPORTED) in isModifierCompatibleWithImageProperties()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiFeatureInfo.cpp6500 const VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in imageFormatProperties2() local
6522 coreResult = vki.getPhysicalDeviceImageFormatProperties(physicalDevice, imageFormatInfo.format, imageFormatInfo.type, imageFormatInfo.tiling, imageFormatInfo.usage, imageFormatInfo.flags, &coreProperties); in imageFormatProperties2()
6523 extResult = vki.getPhysicalDeviceImageFormatProperties2(physicalDevice, &imageFormatInfo, &extProperties); in imageFormatProperties2()
6531 log << TestLog::Message << "ERROR: device mismatch with query " << imageFormatInfo << TestLog::EndMessage in imageFormatProperties2()
6567 const VkPhysicalDeviceSparseImageFormatInfo2 imageFormatInfo = in sparseImageFormatProperties2() local
6582 vki.getPhysicalDeviceSparseImageFormatProperties(physicalDevice, imageFormatInfo in sparseImageFormatProperties2()
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
H A DVulkanHelper.cpp477 VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = {
496 VkResult result = vkGetPhysicalDeviceImageFormatProperties2(mPhysicalDevice, &imageFormatInfo,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageHostImageCopyTests.cpp1621 vk::VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in checkSupport() local
1631 if (vki.getPhysicalDeviceImageFormatProperties2(physicalDevice, &imageFormatInfo, &imageFormatProperties) == vk::VK_ERROR_FORMAT_NOT_SUPPORTED) in checkSupport()
1736 const vk::VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in iterate() local
1749 vk::VkResult res = vki.getPhysicalDeviceImageFormatProperties2(physicalDevice, &imageFormatInfo, &imageFormatProperties); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationCrossInstanceSharingTests.cpp162 const vk::VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in NotSupportedChecker() local
192 const vk::VkResult res = vki.getPhysicalDeviceImageFormatProperties2(physicalDevice, &imageFormatInfo, &formatProperties); in NotSupportedChecker()
200 log << TestLog::Message << "External image format properties: " << imageFormatInfo << "\n"<< externalProperties << TestLog::EndMessage; in NotSupportedChecker()
H A DvktSynchronizationWin32KeyedMutexTests.cpp1560 const vk::VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = in Win32KeyedMutexTestInstance() local
1588 const vk::VkResult res = m_vki.getPhysicalDeviceImageFormatProperties2(m_physicalDevice, &imageFormatInfo, &formatProperties); in Win32KeyedMutexTestInstance()
1594 log << TestLog::Message << "External image format properties: " << imageFormatInfo << "\n"<< externalProperties << TestLog::EndMessage; in Win32KeyedMutexTestInstance()

Completed in 62 milliseconds

12