Lines Matching refs:visitor
338 inline bool Iterate(Visitor* visitor, VkExtent3D* extents) { in Iterate() argument
340 visitor->Visit("width", &extents->width) && in Iterate()
341 visitor->Visit("height", &extents->height) && in Iterate()
342 visitor->Visit("depth", &extents->depth); in Iterate()
346 inline bool Iterate(Visitor* visitor, VkImageFormatProperties* properties) { in Iterate() argument
348 visitor->Visit("maxExtent", &properties->maxExtent) && in Iterate()
349 visitor->Visit("maxMipLevels", &properties->maxMipLevels) && in Iterate()
350 visitor->Visit("maxArrayLayers", &properties->maxArrayLayers) && in Iterate()
351 visitor->Visit("sampleCounts", &properties->sampleCounts) && in Iterate()
352 visitor->Visit("maxResourceSize", &properties->maxResourceSize); in Iterate()
356 inline bool Iterate(Visitor* visitor, VkPhysicalDeviceLimits* limits) { in Iterate() argument
358 visitor->Visit("maxImageDimension1D", &limits->maxImageDimension1D) && in Iterate()
359 visitor->Visit("maxImageDimension2D", &limits->maxImageDimension2D) && in Iterate()
360 visitor->Visit("maxImageDimension3D", &limits->maxImageDimension3D) && in Iterate()
361 visitor->Visit("maxImageDimensionCube", &limits->maxImageDimensionCube) && in Iterate()
362 visitor->Visit("maxImageArrayLayers", &limits->maxImageArrayLayers) && in Iterate()
363 visitor->Visit("maxTexelBufferElements", &limits->maxTexelBufferElements) && in Iterate()
364 visitor->Visit("maxUniformBufferRange", &limits->maxUniformBufferRange) && in Iterate()
365 visitor->Visit("maxStorageBufferRange", &limits->maxStorageBufferRange) && in Iterate()
366 visitor->Visit("maxPushConstantsSize", &limits->maxPushConstantsSize) && in Iterate()
367 visitor->Visit("maxMemoryAllocationCount", &limits->maxMemoryAllocationCount) && in Iterate()
368 visitor->Visit("maxSamplerAllocationCount", &limits->maxSamplerAllocationCount) && in Iterate()
369 visitor->Visit("bufferImageGranularity", &limits->bufferImageGranularity) && in Iterate()
370 visitor->Visit("sparseAddressSpaceSize", &limits->sparseAddressSpaceSize) && in Iterate()
371 visitor->Visit("maxBoundDescriptorSets", &limits->maxBoundDescriptorSets) && in Iterate()
372 visitor->Visit("maxPerStageDescriptorSamplers", &limits->maxPerStageDescriptorSamplers) && in Iterate()
373 …visitor->Visit("maxPerStageDescriptorUniformBuffers", &limits->maxPerStageDescriptorUniformBuffers… in Iterate()
374 …visitor->Visit("maxPerStageDescriptorStorageBuffers", &limits->maxPerStageDescriptorStorageBuffers… in Iterate()
375 …visitor->Visit("maxPerStageDescriptorSampledImages", &limits->maxPerStageDescriptorSampledImages) … in Iterate()
376 …visitor->Visit("maxPerStageDescriptorStorageImages", &limits->maxPerStageDescriptorStorageImages) … in Iterate()
377 …visitor->Visit("maxPerStageDescriptorInputAttachments", &limits->maxPerStageDescriptorInputAttachm… in Iterate()
378 visitor->Visit("maxPerStageResources", &limits->maxPerStageResources) && in Iterate()
379 visitor->Visit("maxDescriptorSetSamplers", &limits->maxDescriptorSetSamplers) && in Iterate()
380 visitor->Visit("maxDescriptorSetUniformBuffers", &limits->maxDescriptorSetUniformBuffers) && in Iterate()
381 …visitor->Visit("maxDescriptorSetUniformBuffersDynamic", &limits->maxDescriptorSetUniformBuffersDyn… in Iterate()
382 visitor->Visit("maxDescriptorSetStorageBuffers", &limits->maxDescriptorSetStorageBuffers) && in Iterate()
383 …visitor->Visit("maxDescriptorSetStorageBuffersDynamic", &limits->maxDescriptorSetStorageBuffersDyn… in Iterate()
384 visitor->Visit("maxDescriptorSetSampledImages", &limits->maxDescriptorSetSampledImages) && in Iterate()
385 visitor->Visit("maxDescriptorSetStorageImages", &limits->maxDescriptorSetStorageImages) && in Iterate()
386 visitor->Visit("maxDescriptorSetInputAttachments", &limits->maxDescriptorSetInputAttachments) && in Iterate()
387 visitor->Visit("maxVertexInputAttributes", &limits->maxVertexInputAttributes) && in Iterate()
388 visitor->Visit("maxVertexInputBindings", &limits->maxVertexInputBindings) && in Iterate()
389 visitor->Visit("maxVertexInputAttributeOffset", &limits->maxVertexInputAttributeOffset) && in Iterate()
390 visitor->Visit("maxVertexInputBindingStride", &limits->maxVertexInputBindingStride) && in Iterate()
391 visitor->Visit("maxVertexOutputComponents", &limits->maxVertexOutputComponents) && in Iterate()
392 visitor->Visit("maxTessellationGenerationLevel", &limits->maxTessellationGenerationLevel) && in Iterate()
393 visitor->Visit("maxTessellationPatchSize", &limits->maxTessellationPatchSize) && in Iterate()
394 …visitor->Visit("maxTessellationControlPerVertexInputComponents", &limits->maxTessellationControlPe… in Iterate()
395 …visitor->Visit("maxTessellationControlPerVertexOutputComponents", &limits->maxTessellationControlP… in Iterate()
396 …visitor->Visit("maxTessellationControlPerPatchOutputComponents", &limits->maxTessellationControlPe… in Iterate()
397 …visitor->Visit("maxTessellationControlTotalOutputComponents", &limits->maxTessellationControlTotal… in Iterate()
398 …visitor->Visit("maxTessellationEvaluationInputComponents", &limits->maxTessellationEvaluationInput… in Iterate()
399 …visitor->Visit("maxTessellationEvaluationOutputComponents", &limits->maxTessellationEvaluationOutp… in Iterate()
400 visitor->Visit("maxGeometryShaderInvocations", &limits->maxGeometryShaderInvocations) && in Iterate()
401 visitor->Visit("maxGeometryInputComponents", &limits->maxGeometryInputComponents) && in Iterate()
402 visitor->Visit("maxGeometryOutputComponents", &limits->maxGeometryOutputComponents) && in Iterate()
403 visitor->Visit("maxGeometryOutputVertices", &limits->maxGeometryOutputVertices) && in Iterate()
404 visitor->Visit("maxGeometryTotalOutputComponents", &limits->maxGeometryTotalOutputComponents) && in Iterate()
405 visitor->Visit("maxFragmentInputComponents", &limits->maxFragmentInputComponents) && in Iterate()
406 visitor->Visit("maxFragmentOutputAttachments", &limits->maxFragmentOutputAttachments) && in Iterate()
407 visitor->Visit("maxFragmentDualSrcAttachments", &limits->maxFragmentDualSrcAttachments) && in Iterate()
408 …visitor->Visit("maxFragmentCombinedOutputResources", &limits->maxFragmentCombinedOutputResources) … in Iterate()
409 visitor->Visit("maxComputeSharedMemorySize", &limits->maxComputeSharedMemorySize) && in Iterate()
410 visitor->Visit("maxComputeWorkGroupCount", &limits->maxComputeWorkGroupCount) && in Iterate()
411 visitor->Visit("maxComputeWorkGroupInvocations", &limits->maxComputeWorkGroupInvocations) && in Iterate()
412 visitor->Visit("maxComputeWorkGroupSize", &limits->maxComputeWorkGroupSize) && in Iterate()
413 visitor->Visit("subPixelPrecisionBits", &limits->subPixelPrecisionBits) && in Iterate()
414 visitor->Visit("subTexelPrecisionBits", &limits->subTexelPrecisionBits) && in Iterate()
415 visitor->Visit("mipmapPrecisionBits", &limits->mipmapPrecisionBits) && in Iterate()
416 visitor->Visit("maxDrawIndexedIndexValue", &limits->maxDrawIndexedIndexValue) && in Iterate()
417 visitor->Visit("maxDrawIndirectCount", &limits->maxDrawIndirectCount) && in Iterate()
418 visitor->Visit("maxSamplerLodBias", &limits->maxSamplerLodBias) && in Iterate()
419 visitor->Visit("maxSamplerAnisotropy", &limits->maxSamplerAnisotropy) && in Iterate()
420 visitor->Visit("maxViewports", &limits->maxViewports) && in Iterate()
421 visitor->Visit("maxViewportDimensions", &limits->maxViewportDimensions) && in Iterate()
422 visitor->Visit("viewportBoundsRange", &limits->viewportBoundsRange) && in Iterate()
423 visitor->Visit("viewportSubPixelBits", &limits->viewportSubPixelBits) && in Iterate()
424 visitor->Visit("minMemoryMapAlignment", &limits->minMemoryMapAlignment) && in Iterate()
425 visitor->Visit("minTexelBufferOffsetAlignment", &limits->minTexelBufferOffsetAlignment) && in Iterate()
426 visitor->Visit("minUniformBufferOffsetAlignment", &limits->minUniformBufferOffsetAlignment) && in Iterate()
427 visitor->Visit("minStorageBufferOffsetAlignment", &limits->minStorageBufferOffsetAlignment) && in Iterate()
428 visitor->Visit("minTexelOffset", &limits->minTexelOffset) && in Iterate()
429 visitor->Visit("maxTexelOffset", &limits->maxTexelOffset) && in Iterate()
430 visitor->Visit("minTexelGatherOffset", &limits->minTexelGatherOffset) && in Iterate()
431 visitor->Visit("maxTexelGatherOffset", &limits->maxTexelGatherOffset) && in Iterate()
432 visitor->Visit("minInterpolationOffset", &limits->minInterpolationOffset) && in Iterate()
433 visitor->Visit("maxInterpolationOffset", &limits->maxInterpolationOffset) && in Iterate()
434 visitor->Visit("subPixelInterpolationOffsetBits", &limits->subPixelInterpolationOffsetBits) && in Iterate()
435 visitor->Visit("maxFramebufferWidth", &limits->maxFramebufferWidth) && in Iterate()
436 visitor->Visit("maxFramebufferHeight", &limits->maxFramebufferHeight) && in Iterate()
437 visitor->Visit("maxFramebufferLayers", &limits->maxFramebufferLayers) && in Iterate()
438 visitor->Visit("framebufferColorSampleCounts", &limits->framebufferColorSampleCounts) && in Iterate()
439 visitor->Visit("framebufferDepthSampleCounts", &limits->framebufferDepthSampleCounts) && in Iterate()
440 visitor->Visit("framebufferStencilSampleCounts", &limits->framebufferStencilSampleCounts) && in Iterate()
441 …visitor->Visit("framebufferNoAttachmentsSampleCounts", &limits->framebufferNoAttachmentsSampleCoun… in Iterate()
442 visitor->Visit("maxColorAttachments", &limits->maxColorAttachments) && in Iterate()
443 visitor->Visit("sampledImageColorSampleCounts", &limits->sampledImageColorSampleCounts) && in Iterate()
444 visitor->Visit("sampledImageIntegerSampleCounts", &limits->sampledImageIntegerSampleCounts) && in Iterate()
445 visitor->Visit("sampledImageDepthSampleCounts", &limits->sampledImageDepthSampleCounts) && in Iterate()
446 visitor->Visit("sampledImageStencilSampleCounts", &limits->sampledImageStencilSampleCounts) && in Iterate()
447 visitor->Visit("storageImageSampleCounts", &limits->storageImageSampleCounts) && in Iterate()
448 visitor->Visit("maxSampleMaskWords", &limits->maxSampleMaskWords) && in Iterate()
449 visitor->Visit("timestampComputeAndGraphics", &limits->timestampComputeAndGraphics) && in Iterate()
450 visitor->Visit("timestampPeriod", &limits->timestampPeriod) && in Iterate()
451 visitor->Visit("maxClipDistances", &limits->maxClipDistances) && in Iterate()
452 visitor->Visit("maxCullDistances", &limits->maxCullDistances) && in Iterate()
453 visitor->Visit("maxCombinedClipAndCullDistances", &limits->maxCombinedClipAndCullDistances) && in Iterate()
454 visitor->Visit("discreteQueuePriorities", &limits->discreteQueuePriorities) && in Iterate()
455 visitor->Visit("pointSizeRange", &limits->pointSizeRange) && in Iterate()
456 visitor->Visit("lineWidthRange", &limits->lineWidthRange) && in Iterate()
457 visitor->Visit("pointSizeGranularity", &limits->pointSizeGranularity) && in Iterate()
458 visitor->Visit("lineWidthGranularity", &limits->lineWidthGranularity) && in Iterate()
459 visitor->Visit("strictLines", &limits->strictLines) && in Iterate()
460 visitor->Visit("standardSampleLocations", &limits->standardSampleLocations) && in Iterate()
461 visitor->Visit("optimalBufferCopyOffsetAlignment", &limits->optimalBufferCopyOffsetAlignment) && in Iterate()
462 …visitor->Visit("optimalBufferCopyRowPitchAlignment", &limits->optimalBufferCopyRowPitchAlignment) … in Iterate()
463 visitor->Visit("nonCoherentAtomSize", &limits->nonCoherentAtomSize); in Iterate()
467 inline bool Iterate(Visitor* visitor, in Iterate() argument
470 visitor->Visit("residencyStandard2DBlockShape", &properties->residencyStandard2DBlockShape) && in Iterate()
471 …visitor->Visit("residencyStandard2DMultisampleBlockShape", &properties->residencyStandard2DMultisa… in Iterate()
472 visitor->Visit("residencyStandard3DBlockShape", &properties->residencyStandard3DBlockShape) && in Iterate()
473 visitor->Visit("residencyAlignedMipSize", &properties->residencyAlignedMipSize) && in Iterate()
474 visitor->Visit("residencyNonResidentStrict", &properties->residencyNonResidentStrict); in Iterate()
478 inline bool Iterate(Visitor* visitor, in Iterate() argument
481 visitor->Visit("apiVersion", &properties->apiVersion) && in Iterate()
482 visitor->Visit("driverVersion", &properties->driverVersion) && in Iterate()
483 visitor->Visit("vendorID", &properties->vendorID) && in Iterate()
484 visitor->Visit("deviceID", &properties->deviceID) && in Iterate()
485 visitor->Visit("deviceType", &properties->deviceType) && in Iterate()
486 visitor->Visit("deviceName", &properties->deviceName) && in Iterate()
487 visitor->Visit("pipelineCacheUUID", &properties->pipelineCacheUUID) && in Iterate()
488 visitor->Visit("limits", &properties->limits) && in Iterate()
489 visitor->Visit("sparseProperties", &properties->sparseProperties); in Iterate()
493 inline bool Iterate(Visitor* visitor, VkPhysicalDeviceFeatures* features) { in Iterate() argument
495 visitor->Visit("robustBufferAccess", &features->robustBufferAccess) && in Iterate()
496 visitor->Visit("fullDrawIndexUint32", &features->fullDrawIndexUint32) && in Iterate()
497 visitor->Visit("imageCubeArray", &features->imageCubeArray) && in Iterate()
498 visitor->Visit("independentBlend", &features->independentBlend) && in Iterate()
499 visitor->Visit("geometryShader", &features->geometryShader) && in Iterate()
500 visitor->Visit("tessellationShader", &features->tessellationShader) && in Iterate()
501 visitor->Visit("sampleRateShading", &features->sampleRateShading) && in Iterate()
502 visitor->Visit("dualSrcBlend", &features->dualSrcBlend) && in Iterate()
503 visitor->Visit("logicOp", &features->logicOp) && in Iterate()
504 visitor->Visit("multiDrawIndirect", &features->multiDrawIndirect) && in Iterate()
505 visitor->Visit("drawIndirectFirstInstance", &features->drawIndirectFirstInstance) && in Iterate()
506 visitor->Visit("depthClamp", &features->depthClamp) && in Iterate()
507 visitor->Visit("depthBiasClamp", &features->depthBiasClamp) && in Iterate()
508 visitor->Visit("fillModeNonSolid", &features->fillModeNonSolid) && in Iterate()
509 visitor->Visit("depthBounds", &features->depthBounds) && in Iterate()
510 visitor->Visit("wideLines", &features->wideLines) && in Iterate()
511 visitor->Visit("largePoints", &features->largePoints) && in Iterate()
512 visitor->Visit("alphaToOne", &features->alphaToOne) && in Iterate()
513 visitor->Visit("multiViewport", &features->multiViewport) && in Iterate()
514 visitor->Visit("samplerAnisotropy", &features->samplerAnisotropy) && in Iterate()
515 visitor->Visit("textureCompressionETC2", &features->textureCompressionETC2) && in Iterate()
516 visitor->Visit("textureCompressionASTC_LDR", &features->textureCompressionASTC_LDR) && in Iterate()
517 visitor->Visit("textureCompressionBC", &features->textureCompressionBC) && in Iterate()
518 visitor->Visit("occlusionQueryPrecise", &features->occlusionQueryPrecise) && in Iterate()
519 visitor->Visit("pipelineStatisticsQuery", &features->pipelineStatisticsQuery) && in Iterate()
520 visitor->Visit("vertexPipelineStoresAndAtomics", &features->vertexPipelineStoresAndAtomics) && in Iterate()
521 visitor->Visit("fragmentStoresAndAtomics", &features->fragmentStoresAndAtomics) && in Iterate()
522 …visitor->Visit("shaderTessellationAndGeometryPointSize", &features->shaderTessellationAndGeometryP… in Iterate()
523 visitor->Visit("shaderImageGatherExtended", &features->shaderImageGatherExtended) && in Iterate()
524 …visitor->Visit("shaderStorageImageExtendedFormats", &features->shaderStorageImageExtendedFormats) … in Iterate()
525 visitor->Visit("shaderStorageImageMultisample", &features->shaderStorageImageMultisample) && in Iterate()
526 …visitor->Visit("shaderStorageImageReadWithoutFormat", &features->shaderStorageImageReadWithoutForm… in Iterate()
527 …visitor->Visit("shaderStorageImageWriteWithoutFormat", &features->shaderStorageImageWriteWithoutFo… in Iterate()
528 …visitor->Visit("shaderUniformBufferArrayDynamicIndexing", &features->shaderUniformBufferArrayDynam… in Iterate()
529 …visitor->Visit("shaderSampledImageArrayDynamicIndexing", &features->shaderSampledImageArrayDynamic… in Iterate()
530 …visitor->Visit("shaderStorageBufferArrayDynamicIndexing", &features->shaderStorageBufferArrayDynam… in Iterate()
531 …visitor->Visit("shaderStorageImageArrayDynamicIndexing", &features->shaderStorageImageArrayDynamic… in Iterate()
532 visitor->Visit("shaderClipDistance", &features->shaderClipDistance) && in Iterate()
533 visitor->Visit("shaderCullDistance", &features->shaderCullDistance) && in Iterate()
534 visitor->Visit("shaderFloat64", &features->shaderFloat64) && in Iterate()
535 visitor->Visit("shaderInt64", &features->shaderInt64) && in Iterate()
536 visitor->Visit("shaderInt16", &features->shaderInt16) && in Iterate()
537 visitor->Visit("shaderResourceResidency", &features->shaderResourceResidency) && in Iterate()
538 visitor->Visit("shaderResourceMinLod", &features->shaderResourceMinLod) && in Iterate()
539 visitor->Visit("sparseBinding", &features->sparseBinding) && in Iterate()
540 visitor->Visit("sparseResidencyBuffer", &features->sparseResidencyBuffer) && in Iterate()
541 visitor->Visit("sparseResidencyImage2D", &features->sparseResidencyImage2D) && in Iterate()
542 visitor->Visit("sparseResidencyImage3D", &features->sparseResidencyImage3D) && in Iterate()
543 visitor->Visit("sparseResidency2Samples", &features->sparseResidency2Samples) && in Iterate()
544 visitor->Visit("sparseResidency4Samples", &features->sparseResidency4Samples) && in Iterate()
545 visitor->Visit("sparseResidency8Samples", &features->sparseResidency8Samples) && in Iterate()
546 visitor->Visit("sparseResidency16Samples", &features->sparseResidency16Samples) && in Iterate()
547 visitor->Visit("sparseResidencyAliased", &features->sparseResidencyAliased) && in Iterate()
548 visitor->Visit("variableMultisampleRate", &features->variableMultisampleRate) && in Iterate()
549 visitor->Visit("inheritedQueries", &features->inheritedQueries); in Iterate()
553 inline bool Iterate(Visitor* visitor, in Iterate() argument
555 return visitor->Visit("driverPropertiesKHR", in Iterate()
560 inline bool Iterate(Visitor* visitor, in Iterate() argument
562 return visitor->Visit("driverID", &properties->driverID) && in Iterate()
563 visitor->Visit("driverName", &properties->driverName) && in Iterate()
564 visitor->Visit("driverInfo", &properties->driverInfo) && in Iterate()
565 visitor->Visit("conformanceVersion", &properties->conformanceVersion); in Iterate()
569 inline bool Iterate(Visitor* visitor, in Iterate() argument
571 return visitor->Visit("major", &version->major) && in Iterate()
572 visitor->Visit("minor", &version->minor) && in Iterate()
573 visitor->Visit("subminor", &version->subminor) && in Iterate()
574 visitor->Visit("patch", &version->patch); in Iterate()
578 inline bool Iterate(Visitor* visitor, in Iterate() argument
580 return visitor->Visit("variablePointerFeaturesKHR", in Iterate()
585 inline bool Iterate(Visitor* visitor, VkMemoryType* type) { in Iterate() argument
587 visitor->Visit("propertyFlags", &type->propertyFlags) && in Iterate()
588 visitor->Visit("heapIndex", &type->heapIndex); in Iterate()
592 inline bool Iterate(Visitor* visitor, VkMemoryHeap* heap) { in Iterate() argument
594 visitor->Visit("size", &heap->size) && in Iterate()
595 visitor->Visit("flags", &heap->flags); in Iterate()
599 inline bool Iterate(Visitor* visitor, VkPhysicalDeviceMemoryProperties* properties) { in Iterate() argument
601 visitor->Visit("memoryTypeCount", &properties->memoryTypeCount) && in Iterate()
602 visitor->VisitArray("memoryTypes", properties->memoryTypeCount, &properties->memoryTypes) && in Iterate()
603 visitor->Visit("memoryHeapCount", &properties->memoryHeapCount) && in Iterate()
604 visitor->VisitArray("memoryHeaps", properties->memoryHeapCount, &properties->memoryHeaps); in Iterate()
608 inline bool Iterate(Visitor* visitor, in Iterate() argument
610 return visitor->Visit("subgroupSize", &properties->subgroupSize) && in Iterate()
611 visitor->Visit("supportedStages", &properties->supportedStages) && in Iterate()
612 visitor->Visit("supportedOperations", in Iterate()
614 visitor->Visit("quadOperationsInAllStages", in Iterate()
619 inline bool Iterate(Visitor* visitor, in Iterate() argument
621 return visitor->Visit("pointClippingBehavior", in Iterate()
626 inline bool Iterate(Visitor* visitor, in Iterate() argument
628 return visitor->Visit("maxMultiviewViewCount", in Iterate()
630 visitor->Visit("maxMultiviewInstanceIndex", in Iterate()
635 inline bool Iterate(Visitor* visitor, in Iterate() argument
637 return visitor->Visit("deviceUUID", &properties->deviceUUID) && in Iterate()
638 visitor->Visit("driverUUID", &properties->driverUUID) && in Iterate()
639 visitor->Visit("deviceLUID", &properties->deviceLUID) && in Iterate()
640 visitor->Visit("deviceNodeMask", &properties->deviceNodeMask) && in Iterate()
641 visitor->Visit("deviceLUIDValid", &properties->deviceLUIDValid); in Iterate()
645 inline bool Iterate(Visitor* visitor, in Iterate() argument
647 return visitor->Visit("maxPerSetDescriptors", in Iterate()
649 visitor->Visit("maxMemoryAllocationSize", in Iterate()
654 inline bool Iterate(Visitor* visitor, in Iterate() argument
656 return visitor->Visit("storageBuffer16BitAccess", in Iterate()
658 visitor->Visit("uniformAndStorageBuffer16BitAccess", in Iterate()
660 visitor->Visit("storagePushConstant16", in Iterate()
662 visitor->Visit("storageInputOutput16", in Iterate()
667 inline bool Iterate(Visitor* visitor, in Iterate() argument
669 return visitor->Visit("multiview", &features->multiview) && in Iterate()
670 visitor->Visit("multiviewGeometryShader", in Iterate()
672 visitor->Visit("multiviewTessellationShader", in Iterate()
677 inline bool Iterate(Visitor* visitor, in Iterate() argument
679 return visitor->Visit("variablePointersStorageBuffer", in Iterate()
681 visitor->Visit("variablePointers", &features->variablePointers); in Iterate()
685 inline bool Iterate(Visitor* visitor, in Iterate() argument
687 return visitor->Visit("protectedMemory", &features->protectedMemory); in Iterate()
691 inline bool Iterate(Visitor* visitor, in Iterate() argument
693 return visitor->Visit("samplerYcbcrConversion", in Iterate()
698 inline bool Iterate(Visitor* visitor, in Iterate() argument
700 return visitor->Visit("shaderDrawParameters", in Iterate()
705 inline bool Iterate(Visitor* visitor, VkExternalFenceProperties* properties) { in Iterate() argument
706 return visitor->Visit("exportFromImportedHandleTypes", in Iterate()
708 visitor->Visit("compatibleHandleTypes", in Iterate()
710 visitor->Visit("externalFenceFeatures", in Iterate()
715 inline bool Iterate(Visitor* visitor, in Iterate() argument
717 return visitor->Visit("exportFromImportedHandleTypes", in Iterate()
719 visitor->Visit("compatibleHandleTypes", in Iterate()
721 visitor->Visit("externalSemaphoreFeatures", in Iterate()
726 inline bool Iterate(Visitor* visitor, VkQueueFamilyProperties* properties) { in Iterate() argument
728 visitor->Visit("queueFlags", &properties->queueFlags) && in Iterate()
729 visitor->Visit("queueCount", &properties->queueCount) && in Iterate()
730 visitor->Visit("timestampValidBits", &properties->timestampValidBits) && in Iterate()
731 visitor->Visit("minImageTransferGranularity", &properties->minImageTransferGranularity); in Iterate()
735 inline bool Iterate(Visitor* visitor, VkExtensionProperties* properties) { in Iterate() argument
737 visitor->Visit("extensionName", &properties->extensionName) && in Iterate()
738 visitor->Visit("specVersion", &properties->specVersion); in Iterate()
742 inline bool Iterate(Visitor* visitor, VkLayerProperties* properties) { in Iterate() argument
744 visitor->Visit("layerName", &properties->layerName) && in Iterate()
745 visitor->Visit("specVersion", &properties->specVersion) && in Iterate()
746 visitor->Visit("implementationVersion", &properties->implementationVersion) && in Iterate()
747 visitor->Visit("description", &properties->description); in Iterate()
751 inline bool Iterate(Visitor* visitor, VkFormatProperties* properties) { in Iterate() argument
753 visitor->Visit("linearTilingFeatures", &properties->linearTilingFeatures) && in Iterate()
754 visitor->Visit("optimalTilingFeatures", &properties->optimalTilingFeatures) && in Iterate()
755 visitor->Visit("bufferFeatures", &properties->bufferFeatures); in Iterate()
759 inline bool Iterate(Visitor* visitor, VkJsonLayer* layer) { in Iterate() argument
760 return visitor->Visit("properties", &layer->properties) && in Iterate()
761 visitor->Visit("extensions", &layer->extensions); in Iterate()
765 inline bool Iterate(Visitor* visitor, VkJsonDeviceGroup* device_group) { in Iterate() argument
766 return visitor->Visit("devices", &device_group->device_inds) && in Iterate()
767 visitor->Visit("subsetAllocation", in Iterate()
772 inline bool Iterate(Visitor* visitor, VkJsonDevice* device) { in Iterate() argument
778 visitor->Visit("subgroupProperties", &device->subgroup_properties) && in Iterate()
779 visitor->Visit("pointClippingProperties", in Iterate()
781 visitor->Visit("multiviewProperties", in Iterate()
783 visitor->Visit("idProperties", &device->id_properties) && in Iterate()
784 visitor->Visit("maintenance3Properties", in Iterate()
786 visitor->Visit("16bitStorageFeatures", in Iterate()
788 visitor->Visit("multiviewFeatures", &device->multiview_features) && in Iterate()
789 visitor->Visit("variablePointerFeatures", in Iterate()
791 visitor->Visit("protectedMemoryFeatures", in Iterate()
793 visitor->Visit("samplerYcbcrConversionFeatures", in Iterate()
795 visitor->Visit("shaderDrawParameterFeatures", in Iterate()
797 visitor->Visit("externalFenceProperties", in Iterate()
799 visitor->Visit("externalSemaphoreProperties", in Iterate()
803 ret &= visitor->Visit("properties", &device->properties) && in Iterate()
804 visitor->Visit("features", &device->features) && in Iterate()
805 visitor->Visit("memory", &device->memory) && in Iterate()
806 visitor->Visit("queues", &device->queues) && in Iterate()
807 visitor->Visit("extensions", &device->extensions) && in Iterate()
808 visitor->Visit("layers", &device->layers) && in Iterate()
809 visitor->Visit("formats", &device->formats); in Iterate()
811 ret &= visitor->Visit("VK_KHR_driver_properties", in Iterate()
815 ret &= visitor->Visit("VK_KHR_variable_pointers", in Iterate()
823 inline bool Iterate(Visitor* visitor, VkJsonInstance* instance) { in Iterate() argument
827 ret &= visitor->Visit("deviceGroups", &instance->device_groups); in Iterate()
830 ret &= visitor->Visit("layers", &instance->layers) && in Iterate()
831 visitor->Visit("extensions", &instance->extensions) && in Iterate()
832 visitor->Visit("devices", &instance->devices); in Iterate()
933 inline void VisitForWrite(Visitor* visitor, const T& t) { in VisitForWrite() argument
934 Iterate(visitor, const_cast<T*>(&t)); in VisitForWrite()
939 JsonWriterVisitor visitor; in ToJsonValue() local
940 VisitForWrite(&visitor, value); in ToJsonValue()
941 return visitor.get_object(); in ToJsonValue()
1071 inline bool VisitForRead(Visitor* visitor, T* t) { in VisitForRead() argument
1072 return Iterate(visitor, t); in VisitForRead()
1109 JsonReaderVisitor visitor(json_value, nullptr); in AsValue() local
1110 return VisitForRead(&visitor, t); in AsValue()
1115 JsonWriterVisitor visitor; in VkTypeToJson() local
1116 VisitForWrite(&visitor, t); in VkTypeToJson()
1117 return visitor.get_object().toStyledString(); in VkTypeToJson()