Home
last modified time | relevance | path

Searched refs:physicalDeviceProperties (Results 1 – 23 of 23) sorted by relevance

/external/swiftshader/tests/VulkanUnitTests/
DBasicTests.cpp95 VkPhysicalDeviceProperties physicalDeviceProperties; in TEST_F() local
96 driver.vkGetPhysicalDeviceProperties(pPhysicalDevice, &physicalDeviceProperties); in TEST_F()
97 EXPECT_EQ(physicalDeviceProperties.apiVersion, expectedVersion); in TEST_F()
98 EXPECT_EQ(physicalDeviceProperties.deviceID, 0xC0DEU); in TEST_F()
99 EXPECT_EQ(physicalDeviceProperties.deviceType, VK_PHYSICAL_DEVICE_TYPE_CPU); in TEST_F()
101 EXPECT_NE(strstr(physicalDeviceProperties.deviceName, "SwiftShader Device"), nullptr); in TEST_F()
/external/angle/src/libANGLE/renderer/vulkan/android/
DDisplayVkAndroid.cpp71 const VkPhysicalDeviceProperties &physicalDeviceProperties = in enableRecordableIfSupported() local
77 IsSwiftshader(physicalDeviceProperties.vendorID, physicalDeviceProperties.deviceID); in enableRecordableIfSupported()
/external/deqp/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsSizeControlTests.cpp79 void getLocalSizes (VkPhysicalDeviceProperties physicalDeviceProperties, deUint32 numWorkGroupInvoc… in getLocalSizes() argument
82 …DE_ASSERT(numWorkGroupInvocations <= physicalDeviceProperties.limits.maxComputeWorkGroupInvocation… in getLocalSizes()
83 …localSizeX = gcd(numWorkGroupInvocations, physicalDeviceProperties.limits.maxComputeWorkGroupSize[… in getLocalSizes()
84 …localSizeY = gcd(deMax32(numWorkGroupInvocations / localSizeX, 1u), physicalDeviceProperties.limit… in getLocalSizes()
699 VkPhysicalDeviceProperties physicalDeviceProperties; in test() local
700 …nceInterface().getPhysicalDeviceProperties(context.getPhysicalDevice(), &physicalDeviceProperties); in test()
703 …getLocalSizes(physicalDeviceProperties, physicalDeviceProperties.limits.maxComputeWorkGroupInvocat… in test()
793 VkPhysicalDeviceProperties physicalDeviceProperties; in testRequireFullSubgroups() local
794 …nceInterface().getPhysicalDeviceProperties(context.getPhysicalDevice(), &physicalDeviceProperties); in testRequireFullSubgroups()
798 …getLocalSizes(physicalDeviceProperties, physicalDeviceProperties.limits.maxComputeWorkGroupInvocat… in testRequireFullSubgroups()
[all …]
/external/skqp/src/gpu/vk/
DGrVkMemory.cpp137 VkDeviceSize alignment = gpu->physicalDeviceProperties().limits.nonCoherentAtomSize; in MapAlloc()
198 VkDeviceSize alignment = gpu->physicalDeviceProperties().limits.nonCoherentAtomSize; in FlushMappedAlloc()
217 VkDeviceSize alignment = gpu->physicalDeviceProperties().limits.nonCoherentAtomSize; in InvalidateMappedAlloc()
DGrVkGpu.h60 const VkPhysicalDeviceProperties& physicalDeviceProperties() const { in physicalDeviceProperties() function
DGrVkResourceProvider.cpp62 const VkPhysicalDeviceProperties& devProps = fGpu->physicalDeviceProperties(); in pipelineCache()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_caps_utils.cpp1099 EGLint ComputeMaximumPBufferPixels(const VkPhysicalDeviceProperties &physicalDeviceProperties) in ComputeMaximumPBufferPixels() argument
1113 static_assert(std::is_same<decltype(physicalDeviceProperties.limits.maxImageDimension2D), in ComputeMaximumPBufferPixels()
1117 static_cast<uint64_t>(physicalDeviceProperties.limits.maxImageDimension2D) * in ComputeMaximumPBufferPixels()
1118 static_cast<uint64_t>(physicalDeviceProperties.limits.maxImageDimension2D); in ComputeMaximumPBufferPixels()
1132 const VkPhysicalDeviceProperties &physicalDeviceProperties = in GenerateDefaultConfig() local
1160 config.maxPBufferWidth = physicalDeviceProperties.limits.maxImageDimension2D; in GenerateDefaultConfig()
1161 config.maxPBufferHeight = physicalDeviceProperties.limits.maxImageDimension2D; in GenerateDefaultConfig()
1162 config.maxPBufferPixels = ComputeMaximumPBufferPixels(physicalDeviceProperties); in GenerateDefaultConfig()
DRendererVk.cpp481 void ComputePipelineCacheVkChunkKey(VkPhysicalDeviceProperties physicalDeviceProperties, in ComputePipelineCacheVkChunkKey() argument
489 for (const uint32_t c : physicalDeviceProperties.pipelineCacheUUID) in ComputePipelineCacheVkChunkKey()
494 hashStream << std::hex << physicalDeviceProperties.vendorID; in ComputePipelineCacheVkChunkKey()
495 hashStream << std::hex << physicalDeviceProperties.deviceID; in ComputePipelineCacheVkChunkKey()
505 bool CompressAndStorePipelineCacheVk(VkPhysicalDeviceProperties physicalDeviceProperties, in CompressAndStorePipelineCacheVk() argument
568 ComputePipelineCacheVkChunkKey(physicalDeviceProperties, chunkIndex, &chunkCacheHash); in CompressAndStorePipelineCacheVk()
622 angle::Result GetAndDecompressPipelineCacheVk(VkPhysicalDeviceProperties physicalDeviceProperties, in GetAndDecompressPipelineCacheVk() argument
629 ComputePipelineCacheVkChunkKey(physicalDeviceProperties, 0, &chunkCacheHash); in GetAndDecompressPipelineCacheVk()
656 ComputePipelineCacheVkChunkKey(physicalDeviceProperties, chunkIndex, &chunkCacheHash); in GetAndDecompressPipelineCacheVk()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferSparseResidency.cpp161 …const VkPhysicalDeviceProperties physicalDeviceProperties = getPhysicalDeviceProperties(instance, … in iterate() local
207 if (bufferMemRequirements.size > physicalDeviceProperties.limits.sparseAddressSpaceSize) in iterate()
405 else if (physicalDeviceProperties.sparseProperties.residencyNonResidentStrict) in iterate()
DvktSparseResourcesImageAlignedMipSize.cpp144 …const VkPhysicalDeviceProperties physicalDeviceProperties = getPhysicalDeviceProperties(instance,… in iterate() local
148 …const VkPhysicalDeviceSparseProperties sparseProperties = physicalDeviceProperties.sparsePropert… in iterate()
DvktSparseResourcesImageBlockShapes.cpp152 …const VkPhysicalDeviceProperties physicalDeviceProperties = getPhysicalDeviceProperties(instanc… in iterate() local
155 …const VkPhysicalDeviceSparseProperties sparseProperties = physicalDeviceProperties.sparsePrope… in iterate()
DvktSparseResourcesImageSparseResidency.cpp343 …const VkPhysicalDeviceProperties physicalDeviceProperties = getPhysicalDeviceProperties(instance, … in iterate() local
390 if (imageMemoryRequirements.size > physicalDeviceProperties.limits.sparseAddressSpaceSize) in iterate()
893 else if (physicalDeviceProperties.sparseProperties.residencyNonResidentStrict) in iterate()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawDiscardRectanglesTests.cpp485 VkPhysicalDeviceProperties2 physicalDeviceProperties; in iterate() local
486 physicalDeviceProperties.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2; in iterate()
487 physicalDeviceProperties.pNext = &discardRectangleProperties; in iterate()
489 vki.getPhysicalDeviceProperties2(physicalDevice, &physicalDeviceProperties); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTests.hpp206 inline const VkPhysicalDeviceProperties& physicalDeviceProperties (void) const;
220 inline const VkPhysicalDeviceProperties& DeviceProperties::physicalDeviceProperties (void) const in physicalDeviceProperties() function in vkt::DescriptorIndexing::ut::DeviceProperties
DvktDescriptorSetsIndexingTestsUtils.cpp697 const VkPhysicalDeviceProperties& deviceProps = physicalDeviceProperties(); in computeMaxPerStageDescriptorCount()
DvktDescriptorSetsIndexingTests.cpp2961 …ignment = static_cast<deUint32>(ut::DeviceProperties(m_context).physicalDeviceProperties().limits.… in createAndPopulateDescriptors()
3031 …ignment = static_cast<deUint32>(ut::DeviceProperties(m_context).physicalDeviceProperties().limits.… in createAndPopulateDescriptors()
/external/angle/src/tests/test_utils/
DVulkanExternalHelper.cpp258 VkPhysicalDeviceProperties physicalDeviceProperties; in initialize() local
259 ChoosePhysicalDevice(physicalDevices, icd, &mPhysicalDevice, &physicalDeviceProperties); in initialize()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp387 VkPhysicalDeviceProperties2 physicalDeviceProperties; in ImageSamplingInstance() local
388 physicalDeviceProperties.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2; in ImageSamplingInstance()
389 physicalDeviceProperties.pNext = &physicalDeviceSamplerMinMaxProperties; in ImageSamplingInstance()
391 vki.getPhysicalDeviceProperties2(context.getPhysicalDevice(), &physicalDeviceProperties); in ImageSamplingInstance()
/external/skia/src/gpu/vk/
DGrVkGpu.h69 const VkPhysicalDeviceProperties& physicalDeviceProperties() const { in physicalDeviceProperties() function
DGrVkResourceProvider.cpp58 const VkPhysicalDeviceProperties& devProps = fGpu->physicalDeviceProperties(); in pipelineCache()
/external/angle/third_party/vulkan_memory_allocator/src/
DVulkanSample.cpp1381 VkPhysicalDeviceProperties physicalDeviceProperties = {}; in InitializeApplication() local
1382 vkGetPhysicalDeviceProperties(g_hPhysicalDevice, &physicalDeviceProperties); in InitializeApplication()
1384 PrintPhysicalDeviceProperties(physicalDeviceProperties); in InitializeApplication()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp1322 VkPhysicalDeviceProperties physicalDeviceProperties; in validateSampleLocations() local
1362 vki.getPhysicalDeviceProperties(physicalDevice, &physicalDeviceProperties); in validateSampleLocations()
1413 if (physicalDeviceProperties.limits.standardSampleLocations) in validateSampleLocations()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiFeatureInfo.cpp2975 VkPhysicalDeviceProperties2 physicalDeviceProperties; in getRequiredOptimalExtendedTilingFeatures() local
2976 physicalDeviceProperties.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2; in getRequiredOptimalExtendedTilingFeatures()
2977 physicalDeviceProperties.pNext = &physicalDeviceSamplerMinMaxProperties; in getRequiredOptimalExtendedTilingFeatures()
2980 vk.getPhysicalDeviceProperties2(context.getPhysicalDevice(), &physicalDeviceProperties); in getRequiredOptimalExtendedTilingFeatures()