Home
last modified time | relevance | path

Searched refs:deviceFeatures (Results 1 – 25 of 28) sorted by relevance

12

/external/skqp/tests/
DVkPriorityExtensionTest.cpp224 VkPhysicalDeviceFeatures deviceFeatures; in DEF_GPUTEST() local
225 grVkGetPhysicalDeviceFeatures(physDev, &deviceFeatures); in DEF_GPUTEST()
229 deviceFeatures.robustBufferAccess = VK_FALSE; in DEF_GPUTEST()
263 &deviceFeatures // ppEnabledFeatures in DEF_GPUTEST()
/external/skia/tests/
DVkPriorityExtensionTest.cpp224 VkPhysicalDeviceFeatures deviceFeatures; in DEF_GPUTEST() local
225 grVkGetPhysicalDeviceFeatures(physDev, &deviceFeatures); in DEF_GPUTEST()
229 deviceFeatures.robustBufferAccess = VK_FALSE; in DEF_GPUTEST()
263 &deviceFeatures // ppEnabledFeatures in DEF_GPUTEST()
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingNullASTests.cpp148 VkPhysicalDeviceFeatures2 deviceFeatures; member
156 deviceFeatures.pNext = &deviceAddressFeatures; in linkStructures()
165 deviceFeatures.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2; in TestDeviceFeatures()
168 vki.getPhysicalDeviceFeatures2(physicalDevice, &deviceFeatures); in TestDeviceFeatures()
196 features.deviceFeatures.features.robustBufferAccess = VK_FALSE; in DeviceHelper()
224 features.deviceFeatures.pNext, // const void* pNext; in DeviceHelper()
232 &features.deviceFeatures.features, // const VkPhysicalDeviceFeatures* pEnabledFeatures; in DeviceHelper()
DvktRayTracingPipelineLibraryTests.cpp140 VkPhysicalDeviceFeatures2 deviceFeatures; member
147 deviceFeatures.pNext = &deviceAddressFeatures; in linkStructures()
155 deviceFeatures.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2; in DeviceTestFeatures()
158 vki.getPhysicalDeviceFeatures2(physicalDevice, &deviceFeatures); in DeviceTestFeatures()
186 features.deviceFeatures.features.robustBufferAccess = VK_FALSE; in DeviceHelper()
212 features.deviceFeatures.pNext, // const void* pNext; in DeviceHelper()
220 &features.deviceFeatures.features, // const VkPhysicalDeviceFeatures* pEnabledFeatures; in DeviceHelper()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBase.cpp177 …const VkPhysicalDeviceFeatures deviceFeatures = getPhysicalDeviceFeatures(instanceDriver, physical… in createDeviceSupportingQueues() local
189 &deviceFeatures, // const VkPhysicalDeviceFeatures* pEnabledFeatures; in createDeviceSupportingQueues()
DvktSparseResourcesTestsUtil.cpp972 …const VkPhysicalDeviceFeatures deviceFeatures = getPhysicalDeviceFeatures(instance, physicalDevice… in checkSparseSupportForImageType() local
974 if (!deviceFeatures.sparseBinding) in checkSparseSupportForImageType()
980 return deviceFeatures.sparseResidencyImage2D == VK_TRUE; in checkSparseSupportForImageType()
982 return deviceFeatures.sparseResidencyImage3D == VK_TRUE; in checkSparseSupportForImageType()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawConcurrentTests.cpp115 VkPhysicalDeviceFeatures deviceFeatures; in iterate() local
149 instance.getPhysicalDeviceFeatures(physicalDevice, &deviceFeatures); in iterate()
157 deviceInfo.pEnabledFeatures = &deviceFeatures; in iterate()
/external/skqp/tools/gpu/vk/
DVkTestUtils.cpp612 VkPhysicalDeviceFeatures* deviceFeatures = &features->features; in CreateVkBackendContext() local
621 grVkGetPhysicalDeviceFeatures(physDev, deviceFeatures); in CreateVkBackendContext()
626 deviceFeatures->robustBufferAccess = VK_FALSE; in CreateVkBackendContext()
661 pointerToFeatures ? nullptr : deviceFeatures // ppEnabledFeatures in CreateVkBackendContext()
/external/angle/src/libANGLE/renderer/vulkan/
DRendererVk.cpp1290 VkPhysicalDeviceFeatures2KHR deviceFeatures = {}; in queryDeviceExtensionFeatures() local
1291 deviceFeatures.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2; in queryDeviceExtensionFeatures()
1299 vk::AddToPNextChain(&deviceFeatures, &mLineRasterizationFeatures); in queryDeviceExtensionFeatures()
1305 vk::AddToPNextChain(&deviceFeatures, &mProvokingVertexFeatures); in queryDeviceExtensionFeatures()
1311 vk::AddToPNextChain(&deviceFeatures, &mVertexAttributeDivisorFeatures); in queryDeviceExtensionFeatures()
1318 vk::AddToPNextChain(&deviceFeatures, &mTransformFeedbackFeatures); in queryDeviceExtensionFeatures()
1324 vk::AddToPNextChain(&deviceFeatures, &mIndexTypeUint8Features); in queryDeviceExtensionFeatures()
1330 vk::AddToPNextChain(&deviceFeatures, &mMemoryReportFeatures); in queryDeviceExtensionFeatures()
1342 vk::AddToPNextChain(&deviceFeatures, &mSamplerYcbcrConversionFeatures); in queryDeviceExtensionFeatures()
1348 vk::AddToPNextChain(&deviceFeatures, &mShaderFloat16Int8Features); in queryDeviceExtensionFeatures()
[all …]
/external/skia/tools/gpu/vk/
DVkTestUtils.cpp686 VkPhysicalDeviceFeatures* deviceFeatures = &features->features; in CreateVkBackendContext() local
700 grVkGetPhysicalDeviceFeatures(physDev, deviceFeatures); in CreateVkBackendContext()
705 deviceFeatures->robustBufferAccess = VK_FALSE; in CreateVkBackendContext()
742 pointerToFeatures ? nullptr : deviceFeatures // ppEnabledFeatures in CreateVkBackendContext()
/external/deqp/external/vulkancts/framework/vulkan/
DvkQueryUtil.cpp416 bool isShaderStageSupported (const VkPhysicalDeviceFeatures& deviceFeatures, VkShaderStageFlagBits … in isShaderStageSupported() argument
419 return deviceFeatures.tessellationShader == VK_TRUE; in isShaderStageSupported()
421 return deviceFeatures.geometryShader == VK_TRUE; in isShaderStageSupported()
DvkQueryUtil.hpp75 bool isShaderStageSupported (const VkPhysicalDeviceFeatures& deviceFeatures, VkShad…
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationBasicSemaphoreTests.cpp339 VkPhysicalDeviceFeatures deviceFeatures; in basicMultiQueueCase() local
397 instance.getPhysicalDeviceFeatures(physicalDevice, &deviceFeatures); in basicMultiQueueCase()
399 … createPhysicalFeature { VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2, DE_NULL, deviceFeatures }; in basicMultiQueueCase()
DvktSynchronizationInternallySynchronizedObjectsTests.cpp202 VkPhysicalDeviceFeatures deviceFeatures; in createQueues() local
251 instance.getPhysicalDeviceFeatures(physicalDevice, &deviceFeatures); in createQueues()
259 deviceInfo.pEnabledFeatures = &deviceFeatures; in createQueues()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiDeviceInitializationTests.cpp1274 VkPhysicalDeviceFeatures2 deviceFeatures; in createDeviceQueue2UnmatchedFlagsTest() local
1275 deviceFeatures.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2; in createDeviceQueue2UnmatchedFlagsTest()
1276 deviceFeatures.pNext = &protectedFeatures; in createDeviceQueue2UnmatchedFlagsTest()
1278 instanceDriver.getPhysicalDeviceFeatures2(physicalDevice, &deviceFeatures); in createDeviceQueue2UnmatchedFlagsTest()
1308 const VkPhysicalDeviceFeatures2 deviceFeatures = in createDeviceQueue2UnmatchedFlagsTest() local
1318 &deviceFeatures, // const void* pNext; in createDeviceQueue2UnmatchedFlagsTest()
DvktApiFeatureInfo.cpp2249 tcu::TestStatus deviceFeatures (Context& context) in deviceFeatures() function
3641 VkImageCreateFlags getValidImageCreateFlags (const VkPhysicalDeviceFeatures& deviceFeatures, VkForm… in getValidImageCreateFlags() argument
3664 if (deviceFeatures.sparseBinding) in getValidImageCreateFlags()
3667 if (deviceFeatures.sparseResidencyAliased) in getValidImageCreateFlags()
3679 bool isRequiredImageParameterCombination (const VkPhysicalDeviceFeatures& deviceFeatures, in isRequiredImageParameterCombination() argument
3687 DE_UNREF(deviceFeatures); in isRequiredImageParameterCombination()
3708 …DE_ASSERT(deviceFeatures.sparseBinding || (createFlags & (VK_IMAGE_CREATE_SPARSE_BINDING_BIT|VK_IM… in isRequiredImageParameterCombination()
3709 …DE_ASSERT(deviceFeatures.sparseResidencyAliased || (createFlags & VK_IMAGE_CREATE_SPARSE_ALIASED_B… in isRequiredImageParameterCombination()
3728 return (deviceFeatures.sparseResidencyImage2D == VK_TRUE); in isRequiredImageParameterCombination()
3730 return (deviceFeatures.sparseResidencyImage3D == VK_TRUE); in isRequiredImageParameterCombination()
[all …]
DvktApiExternalMemoryTests.cpp2777 …const vk::VkPhysicalDeviceFeatures deviceFeatures (vk::getPhysicalDeviceFeatures(vki, physicalDev… in testBufferQueries() local
2808 (deviceFeatures.sparseBinding == VK_FALSE)) in testBufferQueries()
2812 (deviceFeatures.sparseResidencyAliased == VK_FALSE)) in testBufferQueries()
2816 (deviceFeatures.sparseResidencyBuffer == VK_FALSE)) in testBufferQueries()
3653 …const vk::VkPhysicalDeviceFeatures deviceFeatures (vk::getPhysicalDeviceFeatures(vki, physicalDev… in testImageQueries() local
3708 (deviceFeatures.sparseBinding == VK_FALSE)) in testImageQueries()
3712 (deviceFeatures.sparseResidencyImage2D == VK_FALSE)) in testImageQueries()
3716 (deviceFeatures.sparseResidencyAliased == VK_FALSE)) in testImageQueries()
4100 vk::VkPhysicalDeviceFeatures2 deviceFeatures; in testAndroidHardwareBufferImageFormat() local
4101 deviceFeatures.sType = vk::VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2; in testAndroidHardwareBufferImageFormat()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryAllocationTests.cpp163 …const VkPhysicalDeviceFeatures deviceFeatures = getPhysicalDeviceFeatures(instanceDriver, m_… in createTestDevice() local
212 …protMemSupported ? DE_NULL : &deviceFeatures // const VkPhysicalDeviceFeatures* pEnabledFeature… in createTestDevice()
246 …const VkPhysicalDeviceFeatures deviceFeatures = getPhysicalDeviceFeatures(instanceDriver, dev… in createDeviceGroup() local
276 &deviceFeatures, // const VkPhysicalDeviceFeatures* pEnabledFeatures; in createDeviceGroup()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp261 const VkPhysicalDeviceFeatures& deviceFeatures = m_context.getDeviceFeatures(); in checkSupported() local
268 if (!deviceFeatures.shaderSampledImageArrayDynamicIndexing) in checkSupported()
273 if (!deviceFeatures.shaderUniformBufferArrayDynamicIndexing) in checkSupported()
278 if (!deviceFeatures.shaderStorageBufferArrayDynamicIndexing) in checkSupported()
1559 const VkPhysicalDeviceFeatures& deviceFeatures = m_context.getDeviceFeatures(); in iterate() local
1568 if(!deviceFeatures.vertexPipelineStoresAndAtomics) in iterate()
1572 if(!deviceFeatures.fragmentStoresAndAtomics) in iterate()
/external/angle/third_party/vulkan_memory_allocator/src/
DVulkanSample.cpp1502 VkPhysicalDeviceFeatures2 deviceFeatures = { VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2 }; in InitializeApplication() local
1503 deviceFeatures.features.samplerAnisotropy = VK_TRUE; in InitializeApplication()
1504 deviceFeatures.features.sparseBinding = g_SparseBindingEnabled ? VK_TRUE : VK_FALSE; in InitializeApplication()
1509 PnextChainPushBack(&deviceFeatures, &physicalDeviceCoherentMemoryFeatures); in InitializeApplication()
1515 PnextChainPushBack(&deviceFeatures, &physicalDeviceBufferDeviceAddressFeatures); in InitializeApplication()
1519 deviceCreateInfo.pNext = &deviceFeatures; in InitializeApplication()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMismatchedWriteOpTests.cpp492 …const VkPhysicalDeviceFeatures deviceFeatures = getPhysicalDeviceFeatures(context.getInstanceInter… in checkSupport() local
493 if(!deviceFeatures.shaderInt64) in checkSupport()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp1211 …const VkPhysicalDeviceFeatures deviceFeatures = getPhysicalDeviceFeatures(instance, physicalDevice… in checkSparseSupport() local
1216 if (!deviceFeatures.shaderResourceResidency) in checkSparseSupport()
1219 if (!deviceFeatures.sparseBinding) in checkSparseSupport()
1222 if (imageInfo.imageType == VK_IMAGE_TYPE_2D && !deviceFeatures.sparseResidencyImage2D) in checkSparseSupport()
1225 if (imageInfo.imageType == VK_IMAGE_TYPE_3D && !deviceFeatures.sparseResidencyImage3D) in checkSparseSupport()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp167 const vk::VkPhysicalDeviceFeatures& deviceFeatures, in verifyDriverSupport() argument
244 if (!deviceFeatures.vertexPipelineStoresAndAtomics) in verifyDriverSupport()
250 if (!deviceFeatures.fragmentStoresAndAtomics) in verifyDriverSupport()
259 if (viewType == vk::VK_IMAGE_VIEW_TYPE_CUBE_ARRAY && !deviceFeatures.imageCubeArray) in verifyDriverSupport()
720 const vk::VkPhysicalDeviceFeatures& deviceFeatures,
730 const vk::VkPhysicalDeviceFeatures& deviceFeatures,
748 const vk::VkPhysicalDeviceFeatures& deviceFeatures, in RenderInstanceShaders() argument
751 …addStage(vki, device, deviceFeatures, programCollection, "vertex", vk::VK_SHADER_STAGE_VERTEX_BIT… in RenderInstanceShaders()
752 …addStage(vki, device, deviceFeatures, programCollection, "tess_ctrl", vk::VK_SHADER_STAGE_TESSELLA… in RenderInstanceShaders()
753 …addStage(vki, device, deviceFeatures, programCollection, "tess_eval", vk::VK_SHADER_STAGE_TESSELLA… in RenderInstanceShaders()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeBasicComputeShaderTests.cpp2380 …const VkPhysicalDeviceFeatures deviceFeatures = getPhysicalDeviceFeatures(instance, deviceGr… in createDeviceGroup() local
2414 &deviceFeatures, // const VkPhysicalDeviceFeatures* pEnabledFeatures; in createDeviceGroup()
3045 VkPhysicalDeviceFeatures deviceFeatures; in iterate() local
3092 instance.getPhysicalDeviceFeatures(physicalDevice, &deviceFeatures); in iterate()
3100 deviceInfo.pEnabledFeatures = &deviceFeatures; in iterate()
/external/vulkan-validation-layers/tests/
Dvklayertests_pipeline_shader.cpp308 VkPhysicalDeviceFeatures deviceFeatures = {}; in TEST_F() local
309 deviceFeatures.geometryShader = VK_FALSE; in TEST_F()
310 deviceFeatures.tessellationShader = VK_FALSE; in TEST_F()
312 ASSERT_NO_FATAL_FAILURE(Init(&deviceFeatures)); in TEST_F()

12