• Home
  • Raw
  • Download

Lines Matching refs:features

37 	static const VkPhysicalDeviceFeatures features{  in getFeatures()  local
99 return features; in getFeatures()
103 static void getPhysicalDeviceSamplerYcbcrConversionFeatures(T *features) in getPhysicalDeviceSamplerYcbcrConversionFeatures() argument
105 features->samplerYcbcrConversion = VK_TRUE; in getPhysicalDeviceSamplerYcbcrConversionFeatures()
109 static void getPhysicalDevice16BitStorageFeatures(T *features) in getPhysicalDevice16BitStorageFeatures() argument
111 features->storageBuffer16BitAccess = VK_FALSE; in getPhysicalDevice16BitStorageFeatures()
112 features->storageInputOutput16 = VK_FALSE; in getPhysicalDevice16BitStorageFeatures()
113 features->storagePushConstant16 = VK_FALSE; in getPhysicalDevice16BitStorageFeatures()
114 features->uniformAndStorageBuffer16BitAccess = VK_FALSE; in getPhysicalDevice16BitStorageFeatures()
118 static void getPhysicalDeviceVariablePointersFeatures(T *features) in getPhysicalDeviceVariablePointersFeatures() argument
120 features->variablePointersStorageBuffer = VK_FALSE; in getPhysicalDeviceVariablePointersFeatures()
121 features->variablePointers = VK_FALSE; in getPhysicalDeviceVariablePointersFeatures()
125 static void getPhysicalDevice8BitStorageFeaturesKHR(T *features) in getPhysicalDevice8BitStorageFeaturesKHR() argument
127 features->storageBuffer8BitAccess = VK_FALSE; in getPhysicalDevice8BitStorageFeaturesKHR()
128 features->uniformAndStorageBuffer8BitAccess = VK_FALSE; in getPhysicalDevice8BitStorageFeaturesKHR()
129 features->storagePushConstant8 = VK_FALSE; in getPhysicalDevice8BitStorageFeaturesKHR()
133 static void getPhysicalDeviceMultiviewFeatures(T *features) in getPhysicalDeviceMultiviewFeatures() argument
135 features->multiview = VK_TRUE; in getPhysicalDeviceMultiviewFeatures()
136 features->multiviewGeometryShader = VK_FALSE; in getPhysicalDeviceMultiviewFeatures()
137 features->multiviewTessellationShader = VK_FALSE; in getPhysicalDeviceMultiviewFeatures()
141 static void getPhysicalDeviceProtectedMemoryFeatures(T *features) in getPhysicalDeviceProtectedMemoryFeatures() argument
143 features->protectedMemory = VK_FALSE; in getPhysicalDeviceProtectedMemoryFeatures()
147 static void getPhysicalDeviceShaderDrawParameterFeatures(T *features) in getPhysicalDeviceShaderDrawParameterFeatures() argument
149 features->shaderDrawParameters = VK_FALSE; in getPhysicalDeviceShaderDrawParameterFeatures()
153 static void getPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR(T *features) in getPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR() argument
155 features->separateDepthStencilLayouts = VK_TRUE; in getPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR()
159 static void getPhysicalDeviceLineRasterizationFeaturesEXT(T *features) in getPhysicalDeviceLineRasterizationFeaturesEXT() argument
161 features->rectangularLines = VK_TRUE; in getPhysicalDeviceLineRasterizationFeaturesEXT()
162 features->bresenhamLines = VK_TRUE; in getPhysicalDeviceLineRasterizationFeaturesEXT()
163 features->smoothLines = VK_FALSE; in getPhysicalDeviceLineRasterizationFeaturesEXT()
164 features->stippledRectangularLines = VK_FALSE; in getPhysicalDeviceLineRasterizationFeaturesEXT()
165 features->stippledBresenhamLines = VK_FALSE; in getPhysicalDeviceLineRasterizationFeaturesEXT()
166 features->stippledSmoothLines = VK_FALSE; in getPhysicalDeviceLineRasterizationFeaturesEXT()
170 static void getPhysicalDeviceProvokingVertexFeaturesEXT(T *features) in getPhysicalDeviceProvokingVertexFeaturesEXT() argument
172 features->provokingVertexLast = VK_TRUE; in getPhysicalDeviceProvokingVertexFeaturesEXT()
176 static void getPhysicalDeviceHostQueryResetFeatures(T *features) in getPhysicalDeviceHostQueryResetFeatures() argument
178 features->hostQueryReset = VK_TRUE; in getPhysicalDeviceHostQueryResetFeatures()
182 static void getPhysicalDeviceImageRobustnessFeaturesEXT(T *features) in getPhysicalDeviceImageRobustnessFeaturesEXT() argument
184 features->robustImageAccess = VK_TRUE; in getPhysicalDeviceImageRobustnessFeaturesEXT()
188 static void getPhysicalDeviceShaderDrawParametersFeatures(T *features) in getPhysicalDeviceShaderDrawParametersFeatures() argument
190 features->shaderDrawParameters = VK_FALSE; in getPhysicalDeviceShaderDrawParametersFeatures()
194 static void getPhysicalDeviceVulkan11Features(T *features) in getPhysicalDeviceVulkan11Features() argument
196 getPhysicalDevice16BitStorageFeatures(features); in getPhysicalDeviceVulkan11Features()
197 getPhysicalDeviceMultiviewFeatures(features); in getPhysicalDeviceVulkan11Features()
198 getPhysicalDeviceVariablePointersFeatures(features); in getPhysicalDeviceVulkan11Features()
199 getPhysicalDeviceProtectedMemoryFeatures(features); in getPhysicalDeviceVulkan11Features()
200 getPhysicalDeviceSamplerYcbcrConversionFeatures(features); in getPhysicalDeviceVulkan11Features()
201 getPhysicalDeviceShaderDrawParametersFeatures(features); in getPhysicalDeviceVulkan11Features()
205 static void getPhysicalDeviceImagelessFramebufferFeatures(T *features) in getPhysicalDeviceImagelessFramebufferFeatures() argument
207 features->imagelessFramebuffer = VK_TRUE; in getPhysicalDeviceImagelessFramebufferFeatures()
211 static void getPhysicalDeviceShaderSubgroupExtendedTypesFeatures(T *features) in getPhysicalDeviceShaderSubgroupExtendedTypesFeatures() argument
213 features->shaderSubgroupExtendedTypes = VK_TRUE; in getPhysicalDeviceShaderSubgroupExtendedTypesFeatures()
217 static void getPhysicalDeviceScalarBlockLayoutFeatures(T *features) in getPhysicalDeviceScalarBlockLayoutFeatures() argument
219 features->scalarBlockLayout = VK_TRUE; in getPhysicalDeviceScalarBlockLayoutFeatures()
224 static void getPhysicalDeviceDeviceMemoryReportFeaturesEXT(T *features) in getPhysicalDeviceDeviceMemoryReportFeaturesEXT() argument
226 features->deviceMemoryReport = VK_TRUE; in getPhysicalDeviceDeviceMemoryReportFeaturesEXT()
231 static void getPhysicalDeviceUniformBufferStandardLayoutFeatures(T *features) in getPhysicalDeviceUniformBufferStandardLayoutFeatures() argument
233 features->uniformBufferStandardLayout = VK_TRUE; in getPhysicalDeviceUniformBufferStandardLayoutFeatures()
237 static void getPhysicalDeviceDescriptorIndexingFeatures(T *features) in getPhysicalDeviceDescriptorIndexingFeatures() argument
239 features->shaderInputAttachmentArrayDynamicIndexing = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
240 features->shaderUniformTexelBufferArrayDynamicIndexing = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
241 features->shaderStorageTexelBufferArrayDynamicIndexing = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
242 features->shaderUniformBufferArrayNonUniformIndexing = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
243 features->shaderSampledImageArrayNonUniformIndexing = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
244 features->shaderStorageBufferArrayNonUniformIndexing = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
245 features->shaderStorageImageArrayNonUniformIndexing = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
246 features->shaderInputAttachmentArrayNonUniformIndexing = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
247 features->shaderUniformTexelBufferArrayNonUniformIndexing = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
248 features->shaderStorageTexelBufferArrayNonUniformIndexing = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
249 features->descriptorBindingUniformBufferUpdateAfterBind = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
250 features->descriptorBindingSampledImageUpdateAfterBind = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
251 features->descriptorBindingStorageImageUpdateAfterBind = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
252 features->descriptorBindingStorageBufferUpdateAfterBind = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
253 features->descriptorBindingUniformTexelBufferUpdateAfterBind = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
254 features->descriptorBindingStorageTexelBufferUpdateAfterBind = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
255 features->descriptorBindingUpdateUnusedWhilePending = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
256 features->descriptorBindingPartiallyBound = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
257 features->descriptorBindingVariableDescriptorCount = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
258 features->runtimeDescriptorArray = VK_FALSE; in getPhysicalDeviceDescriptorIndexingFeatures()
262 static void getPhysicalDeviceVulkanMemoryModelFeatures(T *features) in getPhysicalDeviceVulkanMemoryModelFeatures() argument
264 features->vulkanMemoryModel = VK_FALSE; in getPhysicalDeviceVulkanMemoryModelFeatures()
265 features->vulkanMemoryModelDeviceScope = VK_FALSE; in getPhysicalDeviceVulkanMemoryModelFeatures()
266 features->vulkanMemoryModelAvailabilityVisibilityChains = VK_FALSE; in getPhysicalDeviceVulkanMemoryModelFeatures()
270 static void getPhysicalDeviceTimelineSemaphoreFeatures(T *features) in getPhysicalDeviceTimelineSemaphoreFeatures() argument
272 features->timelineSemaphore = VK_TRUE; in getPhysicalDeviceTimelineSemaphoreFeatures()
276 static void getPhysicalDeviceShaderAtomicInt64Features(T *features) in getPhysicalDeviceShaderAtomicInt64Features() argument
278 features->shaderBufferInt64Atomics = VK_FALSE; in getPhysicalDeviceShaderAtomicInt64Features()
279 features->shaderSharedInt64Atomics = VK_FALSE; in getPhysicalDeviceShaderAtomicInt64Features()
283 static void getPhysicalDeviceShaderFloat16Int8Features(T *features) in getPhysicalDeviceShaderFloat16Int8Features() argument
285 features->shaderFloat16 = VK_FALSE; in getPhysicalDeviceShaderFloat16Int8Features()
286 features->shaderInt8 = VK_FALSE; in getPhysicalDeviceShaderFloat16Int8Features()
290 static void getPhysicalDeviceBufferDeviceAddressFeatures(T *features) in getPhysicalDeviceBufferDeviceAddressFeatures() argument
292 features->bufferDeviceAddress = VK_FALSE; in getPhysicalDeviceBufferDeviceAddressFeatures()
293 features->bufferDeviceAddressCaptureReplay = VK_FALSE; in getPhysicalDeviceBufferDeviceAddressFeatures()
294 features->bufferDeviceAddressMultiDevice = VK_FALSE; in getPhysicalDeviceBufferDeviceAddressFeatures()
298 static void getPhysicalDeviceVulkan12Features(T *features) in getPhysicalDeviceVulkan12Features() argument
300 features->samplerMirrorClampToEdge = VK_FALSE; in getPhysicalDeviceVulkan12Features()
301 features->drawIndirectCount = VK_FALSE; in getPhysicalDeviceVulkan12Features()
302 getPhysicalDevice8BitStorageFeaturesKHR(features); in getPhysicalDeviceVulkan12Features()
303 getPhysicalDeviceShaderAtomicInt64Features(features); in getPhysicalDeviceVulkan12Features()
304 getPhysicalDeviceShaderFloat16Int8Features(features); in getPhysicalDeviceVulkan12Features()
305 features->descriptorIndexing = VK_FALSE; in getPhysicalDeviceVulkan12Features()
306 getPhysicalDeviceDescriptorIndexingFeatures(features); in getPhysicalDeviceVulkan12Features()
307 features->samplerFilterMinmax = VK_FALSE; in getPhysicalDeviceVulkan12Features()
308 getPhysicalDeviceScalarBlockLayoutFeatures(features); in getPhysicalDeviceVulkan12Features()
309 getPhysicalDeviceImagelessFramebufferFeatures(features); in getPhysicalDeviceVulkan12Features()
310 getPhysicalDeviceUniformBufferStandardLayoutFeatures(features); in getPhysicalDeviceVulkan12Features()
311 getPhysicalDeviceShaderSubgroupExtendedTypesFeatures(features); in getPhysicalDeviceVulkan12Features()
312 getPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR(features); in getPhysicalDeviceVulkan12Features()
313 getPhysicalDeviceHostQueryResetFeatures(features); in getPhysicalDeviceVulkan12Features()
314 getPhysicalDeviceTimelineSemaphoreFeatures(features); in getPhysicalDeviceVulkan12Features()
315 getPhysicalDeviceBufferDeviceAddressFeatures(features); in getPhysicalDeviceVulkan12Features()
316 getPhysicalDeviceVulkanMemoryModelFeatures(features); in getPhysicalDeviceVulkan12Features()
317 features->shaderOutputViewportIndex = VK_FALSE; in getPhysicalDeviceVulkan12Features()
318 features->shaderOutputLayer = VK_FALSE; in getPhysicalDeviceVulkan12Features()
319 features->subgroupBroadcastDynamicId = VK_TRUE; in getPhysicalDeviceVulkan12Features()
322 void PhysicalDevice::getFeatures2(VkPhysicalDeviceFeatures2 *features) const in getFeatures2()
324 features->features = getFeatures(); in getFeatures2()
325 VkBaseOutStructure *curExtension = reinterpret_cast<VkBaseOutStructure *>(features->pNext); in getFeatures2()
1470 …auto features = tiling == VK_IMAGE_TILING_LINEAR ? props.linearTilingFeatures : props.optimalTilin… in getImageFormatProperties() local
1471 …if(features & (VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT | VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT… in getImageFormatProperties()