Home
last modified time | relevance | path

Searched refs:features2 (Results 1 – 25 of 31) sorted by relevance

12

/third_party/gstreamer/gstreamer/gst/
Dgstcapsfeatures.c719 const GstCapsFeatures * features2) in gst_caps_features_is_equal() argument
724 g_return_val_if_fail (features2 != NULL, FALSE); in gst_caps_features_is_equal()
726 if (features1->is_any || features2->is_any) in gst_caps_features_is_equal()
730 if (features1->array->len == 0 && features2->array->len == 0) in gst_caps_features_is_equal()
732 if (features1->array->len == 0 && features2->array->len == 1 in gst_caps_features_is_equal()
733 && gst_caps_features_contains_id (features2, in gst_caps_features_is_equal()
736 if (features2->array->len == 0 && features1->array->len == 1 in gst_caps_features_is_equal()
741 if (features1->array->len != features2->array->len) in gst_caps_features_is_equal()
746 if (!gst_caps_features_contains_id (features2, in gst_caps_features_is_equal()
Dgstcaps.c1264 GstCapsFeatures *features1, *features2; in gst_caps_is_equal_fixed() local
1274 features2 = gst_caps_get_features_unchecked (caps2, 0); in gst_caps_is_equal_fixed()
1275 if (!features2) in gst_caps_is_equal_fixed()
1276 features2 = GST_CAPS_FEATURES_MEMORY_SYSTEM_MEMORY; in gst_caps_is_equal_fixed()
1279 gst_caps_features_is_equal (features1, features2); in gst_caps_is_equal_fixed()
1536 GstCapsFeatures *features2; in gst_caps_can_intersect() local
1586 features2 = gst_caps_get_features_unchecked (caps2, k); in gst_caps_can_intersect()
1587 if (!features2) in gst_caps_can_intersect()
1588 features2 = GST_CAPS_FEATURES_MEMORY_SYSTEM_MEMORY; in gst_caps_can_intersect()
1589 if (gst_caps_features_is_equal (features1, features2) && in gst_caps_can_intersect()
[all …]
Dgstcapsfeatures.h106 … gst_caps_features_is_equal (const GstCapsFeatures * features1, const GstCapsFeatures * features2);
/third_party/mesa3d/src/vulkan/util/
Dvk_physical_device.c104 VkPhysicalDeviceFeatures2 features2; in vk_common_GetPhysicalDeviceFeatures() local
105 features2.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2; in vk_common_GetPhysicalDeviceFeatures()
106 features2.pNext = NULL; in vk_common_GetPhysicalDeviceFeatures()
109 &features2); in vk_common_GetPhysicalDeviceFeatures()
110 *pFeatures = features2.features; in vk_common_GetPhysicalDeviceFeatures()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeZeroInitializeWorkgroupMemoryTests.cpp344 VkPhysicalDeviceFeatures2 features2; in checkSupport() local
345 deMemset(&features2, 0, sizeof(features2)); in checkSupport()
346 features2.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2; in checkSupport()
347 features2.pNext = &f16_i8_features; in checkSupport()
348 context.getInstanceInterface().getPhysicalDeviceFeatures2(context.getPhysicalDevice(), &features2); in checkSupport()
382 if (features2.features.shaderFloat64 != VK_TRUE) in checkSupport()
408 if (features2.features.shaderInt16 != VK_TRUE) in checkSupport()
421 if (features2.features.shaderInt64 != VK_TRUE) in checkSupport()
617 VkPhysicalDeviceFeatures2 features2; in checkSupport() local
618 deMemset(&features2, 0, sizeof(features2)); in checkSupport()
[all …]
DvktComputeWorkgroupMemoryExplicitLayoutTests.cpp95 VkPhysicalDeviceFeatures2 features2; in checkSupportWithParams() local
96 deMemset(&features2, 0, sizeof(features2)); in checkSupportWithParams()
97 features2.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2; in checkSupportWithParams()
98 features2.pNext = &f16_i8_features; in checkSupportWithParams()
99 context.getInstanceInterface().getPhysicalDeviceFeatures2(context.getPhysicalDevice(), &features2); in checkSupportWithParams()
117 if (features2.features.shaderInt16 != VK_TRUE) in checkSupportWithParams()
125 if (features2.features.shaderInt64 != VK_TRUE) in checkSupportWithParams()
139 if (features2.features.shaderFloat64 != VK_TRUE) in checkSupportWithParams()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DVulkanInfo.cpp220 VkPhysicalDeviceFeatures2 features2 = {}; in GatherDeviceInfo() local
221 features2.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2; in GatherDeviceInfo()
222 PNextChainBuilder featuresChain(&features2); in GatherDeviceInfo()
259 vkFunctions.GetPhysicalDeviceFeatures2(physicalDevice, &features2); in GatherDeviceInfo()
260 info.features = features2.features; in GatherDeviceInfo()
262 ASSERT(features2.pNext == nullptr && properties2.pNext == nullptr); in GatherDeviceInfo()
DDeviceVk.cpp321 VkPhysicalDeviceFeatures2 features2 = {}; in CreateDevice() local
322 features2.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2; in CreateDevice()
323 PNextChainBuilder featuresChain(&features2); in CreateDevice()
446 features2.features = usedKnobs.features; in CreateDevice()
447 createInfo.pNext = &features2; in CreateDevice()
450 ASSERT(features2.pNext == nullptr); in CreateDevice()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/amber/
DvktAmberHelper.cpp35 const void* features2, in GetVulkanConfig() argument
47 cfg->available_features2 = *static_cast<const VkPhysicalDeviceFeatures2KHR*>(features2); in GetVulkanConfig()
DvktAmberHelper.hpp36 const void* features2,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessExtsTests.cpp87 VkPhysicalDeviceFeatures2 features2 = initVulkanStructure(); in SingletonDevice() local
89 features2.pNext = &scalarBlockLayoutFeatures; in SingletonDevice()
94 imageRobustnessFeatures.pNext = features2.pNext; in SingletonDevice()
95 features2.pNext = &imageRobustnessFeatures; in SingletonDevice()
101 robustness2Features.pNext = features2.pNext; in SingletonDevice()
102 features2.pNext = &robustness2Features; in SingletonDevice()
108 shaderImageAtomicInt64Features.pNext = features2.pNext; in SingletonDevice()
109 features2.pNext = &shaderImageAtomicInt64Features; in SingletonDevice()
112 …context.getInstanceInterface().getPhysicalDeviceFeatures2(context.getPhysicalDevice(), &features2); in SingletonDevice()
113 m_logicalDevice = createRobustBufferAccessDevice(context, &features2); in SingletonDevice()
[all …]
DvktRobustBufferAccessWithVariablePointersTests.cpp71 VkPhysicalDeviceFeatures2 features2 = initVulkanStructure(); in createRobustBufferAccessVariablePointersDevice() local
72 features2.features = context.getDeviceFeatures(); in createRobustBufferAccessVariablePointersDevice()
73 features2.features.robustBufferAccess = VK_TRUE; in createRobustBufferAccessVariablePointersDevice()
74 features2.pNext = &pointerFeatures; in createRobustBufferAccessVariablePointersDevice()
76 return createRobustBufferAccessDevice(context, &features2); in createRobustBufferAccessVariablePointersDevice()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupUniformControlFlowTests.cpp124 vk::VkPhysicalDeviceFeatures2 features2; in checkSupport() local
125 features2.sType = vk::VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2; in checkSupport()
126 features2.pNext = &subgroupSizeControlFeatures; in checkSupport()
128 ctx.getInstanceInterface().getPhysicalDeviceFeatures2(ctx.getPhysicalDevice(), &features2); in checkSupport()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shader_interlock/
DvktFragmentShaderInterlockBasic.cpp120 VkPhysicalDeviceFeatures2 features2 = initVulkanStructure(&shadingRateImageFeatures); in getDevice() local
122 …context.getInstanceInterface().getPhysicalDeviceFeatures2(context.getPhysicalDevice(), &features2); in getDevice()
127 &features2, //pNext; in getDevice()
237 VkPhysicalDeviceFeatures2KHR features2 = initVulkanStructure(&shadingRateImageFeatures); in checkSupport() local
239 …context.getInstanceInterface().getPhysicalDeviceFeatures2(context.getPhysicalDevice(), &features2); in checkSupport()
/third_party/mesa3d/src/intel/vulkan/
Danv_formats.c852 features2_to_features(VkFormatFeatureFlags2KHR features2) in features2_to_features() argument
854 return features2 & VK_ALL_FORMAT_FEATURE_FLAG_BITS; in features2_to_features()
869 VkFormatFeatureFlags2KHR features2 = in get_drm_format_modifier_properties_list() local
873 VkFormatFeatureFlags features = features2_to_features(features2); in get_drm_format_modifier_properties_list()
903 VkFormatFeatureFlags2KHR features2 = in get_drm_format_modifier_properties_list_2() local
907 if (!features2) in get_drm_format_modifier_properties_list_2()
918 .drmFormatModifierTilingFeatures = features2, in get_drm_format_modifier_properties_list_2()
Danv_android.c171 features2_to_features(VkFormatFeatureFlags2KHR features2) in features2_to_features() argument
173 return features2 & VK_ALL_FORMAT_FEATURE_FLAG_BITS; in features2_to_features()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryAllocationTests.cpp178 VkPhysicalDeviceFeatures2 features2 = in createTestDevice() local
186 instanceDriver.getPhysicalDeviceFeatures2(m_context.getPhysicalDevice(), &features2); in createTestDevice()
187 protMemSupported = ((VkPhysicalDeviceProtectedMemoryFeatures*)(features2.pNext))->protectedMemory; in createTestDevice()
204 protMemSupported ? &features2 : DE_NULL, // const void* pNext; in createTestDevice()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiDeviceInitializationTests.cpp1555 VkPhysicalDeviceFeatures2 features2; in createDeviceQueue2Test() local
1556 deMemset(&features2, 0, sizeof(features2)); in createDeviceQueue2Test()
1557 features2.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2; in createDeviceQueue2Test()
1558 features2.pNext = &protectedMemoryFeature; in createDeviceQueue2Test()
1560 instanceDriver.getPhysicalDeviceFeatures2(physicalDevice, &features2); in createDeviceQueue2Test()
1576 &features2, // const void* pNext; in createDeviceQueue2Test()
DvktApiMaintenance3Check.cpp513 DevFeat2 features2 = in iterate() local
520 vki.getPhysicalDeviceFeatures2(physicalDevice, &features2); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryBuiltinTests.cpp4011 VkPhysicalDeviceFeatures2 features2 = initVulkanStructure(&robustness2Features); in checkSupport() local
4013 vki.getPhysicalDeviceFeatures2(physicalDevice, &features2); in checkSupport()
4031 VkPhysicalDeviceFeatures2 features2 = initVulkanStructure(); in prepareTestEnvironment() local
4046 deviceAddressFeatures.pNext = features2.pNext; in prepareTestEnvironment()
4047 features2.pNext = &deviceAddressFeatures; in prepareTestEnvironment()
4053 accelerationStructureFeatures.pNext = features2.pNext; in prepareTestEnvironment()
4054 features2.pNext = &accelerationStructureFeatures; in prepareTestEnvironment()
4061 rayQueryFeatures.pNext = features2.pNext; in prepareTestEnvironment()
4062 features2.pNext = &rayQueryFeatures; in prepareTestEnvironment()
4068 raytracingPipelineFeatures.pNext = features2.pNext; in prepareTestEnvironment()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorCopyTests.cpp1581 VkPhysicalDeviceFeatures2 features2; in run() local
1582 deMemset(&features2, 0, sizeof(features2)); in run()
1583 features2.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2; in run()
1584 features2.pNext = &iubFeatures; in run()
1585 vki.getPhysicalDeviceFeatures2(physicalDevice, &features2); in run()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassFragmentDensityMapTests.cpp156 VkPhysicalDeviceFeatures2 features2 = initVulkanStructure(&fragmentDensityMap2Features); in getDevice() local
158 …context.getInstanceInterface().getPhysicalDeviceFeatures2(context.getPhysicalDevice(), &features2); in getDevice()
1330 …VkPhysicalDeviceFeatures2KHR features2 = initVulkanStructure(&fragmentDensityMap2Feature… in checkSupport() local
1332 context.getInstanceInterface().getPhysicalDeviceFeatures2(context.getPhysicalDevice(), &features2); in checkSupport()
/third_party/skia/src/gpu/vk/
DGrVkGpu.cpp143 VkPhysicalDeviceFeatures2 features2; in Make() local
144 features2.pNext = nullptr; in Make()
145 features2.features = *backendContext.fDeviceFeatures; in Make()
147 features2, instanceVersion, physDevVersion, in Make()
/third_party/flutter/skia/src/gpu/vk/
DGrVkGpu.cpp185 VkPhysicalDeviceFeatures2 features2; in GrVkGpu() local
186 features2.pNext = nullptr; in GrVkGpu()
187 features2.features = *backendContext.fDeviceFeatures; in GrVkGpu()
189 features2, instanceVersion, physicalDeviceVersion, in GrVkGpu()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_device.c1788 const VkPhysicalDeviceFeatures2 *features2 = in v3dv_CreateDevice() local
1790 if (features2) { in v3dv_CreateDevice()
1791 memcpy(&device->features, &features2->features, in v3dv_CreateDevice()

12