Lines Matching refs:indent
339 size_t indent) { in PrintExtensions() argument
341 printf("%s%s (v%u)\n", Indent(indent), e.extensionName, e.specVersion); in PrintExtensions()
348 size_t indent) { in PrintLayers() argument
350 printf("%s%s %u.%u.%u/%u\n", Indent(indent), layers[i].layerName, in PrintLayers()
356 printf("%s%s\n", Indent(indent + 1), layers[i].description); in PrintLayers()
359 printf("%sExtensions [%zu]:\n", Indent(indent + 1), in PrintLayers()
361 PrintExtensions(extensions[i], options, indent + 2); in PrintLayers()
367 void PrintAllFeatures(const char* indent, in PrintAllFeatures() argument
370 printf("%srobustBufferAccess: %s\n", indent, features.robustBufferAccess ? "YES" : "NO"); in PrintAllFeatures()
371 printf("%sfullDrawIndexUint32: %s\n", indent, features.fullDrawIndexUint32 ? "YES" : "NO"); in PrintAllFeatures()
372 printf("%simageCubeArray: %s\n", indent, features.imageCubeArray ? "YES" : "NO"); in PrintAllFeatures()
373 printf("%sindependentBlend: %s\n", indent, features.independentBlend ? "YES" : "NO"); in PrintAllFeatures()
374 printf("%sgeometryShader: %s\n", indent, features.geometryShader ? "YES" : "NO"); in PrintAllFeatures()
375 printf("%stessellationShader: %s\n", indent, features.tessellationShader ? "YES" : "NO"); in PrintAllFeatures()
376 printf("%ssampleRateShading: %s\n", indent, features.sampleRateShading ? "YES" : "NO"); in PrintAllFeatures()
377 printf("%sdualSrcBlend: %s\n", indent, features.dualSrcBlend ? "YES" : "NO"); in PrintAllFeatures()
378 printf("%slogicOp: %s\n", indent, features.logicOp ? "YES" : "NO"); in PrintAllFeatures()
379 printf("%smultiDrawIndirect: %s\n", indent, features.multiDrawIndirect ? "YES" : "NO"); in PrintAllFeatures()
380 …printf("%sdrawIndirectFirstInstance: %s\n", indent, features.drawIndirectFirstInstance ? "YES" : "… in PrintAllFeatures()
381 printf("%sdepthClamp: %s\n", indent, features.depthClamp ? "YES" : "NO"); in PrintAllFeatures()
382 printf("%sdepthBiasClamp: %s\n", indent, features.depthBiasClamp ? "YES" : "NO"); in PrintAllFeatures()
383 printf("%sfillModeNonSolid: %s\n", indent, features.fillModeNonSolid ? "YES" : "NO"); in PrintAllFeatures()
384 printf("%sdepthBounds: %s\n", indent, features.depthBounds ? "YES" : "NO"); in PrintAllFeatures()
385 printf("%swideLines: %s\n", indent, features.wideLines ? "YES" : "NO"); in PrintAllFeatures()
386 printf("%slargePoints: %s\n", indent, features.largePoints ? "YES" : "NO"); in PrintAllFeatures()
387 printf("%salphaToOne: %s\n", indent, features.alphaToOne ? "YES" : "NO"); in PrintAllFeatures()
388 printf("%smultiViewport: %s\n", indent, features.multiViewport ? "YES" : "NO"); in PrintAllFeatures()
389 printf("%ssamplerAnisotropy: %s\n", indent, features.samplerAnisotropy ? "YES" : "NO"); in PrintAllFeatures()
390 … printf("%stextureCompressionETC2: %s\n", indent, features.textureCompressionETC2 ? "YES" : "NO"); in PrintAllFeatures()
391 …printf("%stextureCompressionASTC_LDR: %s\n", indent, features.textureCompressionASTC_LDR ? "YES" :… in PrintAllFeatures()
392 printf("%stextureCompressionBC: %s\n", indent, features.textureCompressionBC ? "YES" : "NO"); in PrintAllFeatures()
393 printf("%socclusionQueryPrecise: %s\n", indent, features.occlusionQueryPrecise ? "YES" : "NO"); in PrintAllFeatures()
394 …printf("%spipelineStatisticsQuery: %s\n", indent, features.pipelineStatisticsQuery ? "YES" : "NO"); in PrintAllFeatures()
395 …printf("%svertexPipelineStoresAndAtomics: %s\n", indent, features.vertexPipelineStoresAndAtomics ?… in PrintAllFeatures()
396 …printf("%sfragmentStoresAndAtomics: %s\n", indent, features.fragmentStoresAndAtomics ? "YES" : "NO… in PrintAllFeatures()
397 …printf("%sshaderTessellationAndGeometryPointSize: %s\n", indent, features.shaderTessellationAndGeo… in PrintAllFeatures()
398 …printf("%sshaderImageGatherExtended: %s\n", indent, features.shaderImageGatherExtended ? "YES" : "… in PrintAllFeatures()
399 …printf("%sshaderStorageImageExtendedFormats: %s\n", indent, features.shaderStorageImageExtendedFor… in PrintAllFeatures()
400 …printf("%sshaderStorageImageMultisample: %s\n", indent, features.shaderStorageImageMultisample ? "… in PrintAllFeatures()
401 …printf("%sshaderStorageImageReadWithoutFormat: %s\n", indent, features.shaderStorageImageReadWitho… in PrintAllFeatures()
402 …printf("%sshaderStorageImageWriteWithoutFormat: %s\n", indent, features.shaderStorageImageWriteWit… in PrintAllFeatures()
403 …printf("%sshaderUniformBufferArrayDynamicIndexing: %s\n", indent, features.shaderUniformBufferArra… in PrintAllFeatures()
404 …printf("%sshaderSampledImageArrayDynamicIndexing: %s\n", indent, features.shaderSampledImageArrayD… in PrintAllFeatures()
405 …printf("%sshaderStorageBufferArrayDynamicIndexing: %s\n", indent, features.shaderStorageBufferArra… in PrintAllFeatures()
406 …printf("%sshaderStorageImageArrayDynamicIndexing: %s\n", indent, features.shaderStorageImageArrayD… in PrintAllFeatures()
407 printf("%sshaderClipDistance: %s\n", indent, features.shaderClipDistance ? "YES" : "NO"); in PrintAllFeatures()
408 printf("%sshaderCullDistance: %s\n", indent, features.shaderCullDistance ? "YES" : "NO"); in PrintAllFeatures()
409 printf("%sshaderFloat64: %s\n", indent, features.shaderFloat64 ? "YES" : "NO"); in PrintAllFeatures()
410 printf("%sshaderInt64: %s\n", indent, features.shaderInt64 ? "YES" : "NO"); in PrintAllFeatures()
411 printf("%sshaderInt16: %s\n", indent, features.shaderInt16 ? "YES" : "NO"); in PrintAllFeatures()
412 …printf("%sshaderResourceResidency: %s\n", indent, features.shaderResourceResidency ? "YES" : "NO"); in PrintAllFeatures()
413 printf("%sshaderResourceMinLod: %s\n", indent, features.shaderResourceMinLod ? "YES" : "NO"); in PrintAllFeatures()
414 printf("%ssparseBinding: %s\n", indent, features.sparseBinding ? "YES" : "NO"); in PrintAllFeatures()
415 printf("%ssparseResidencyBuffer: %s\n", indent, features.sparseResidencyBuffer ? "YES" : "NO"); in PrintAllFeatures()
416 … printf("%ssparseResidencyImage2D: %s\n", indent, features.sparseResidencyImage2D ? "YES" : "NO"); in PrintAllFeatures()
417 … printf("%ssparseResidencyImage3D: %s\n", indent, features.sparseResidencyImage3D ? "YES" : "NO"); in PrintAllFeatures()
418 …printf("%ssparseResidency2Samples: %s\n", indent, features.sparseResidency2Samples ? "YES" : "NO"); in PrintAllFeatures()
419 …printf("%ssparseResidency4Samples: %s\n", indent, features.sparseResidency4Samples ? "YES" : "NO"); in PrintAllFeatures()
420 …printf("%ssparseResidency8Samples: %s\n", indent, features.sparseResidency8Samples ? "YES" : "NO"); in PrintAllFeatures()
421 …printf("%ssparseResidency16Samples: %s\n", indent, features.sparseResidency16Samples ? "YES" : "NO… in PrintAllFeatures()
422 … printf("%ssparseResidencyAliased: %s\n", indent, features.sparseResidencyAliased ? "YES" : "NO"); in PrintAllFeatures()
423 …printf("%svariableMultisampleRate: %s\n", indent, features.variableMultisampleRate ? "YES" : "NO"); in PrintAllFeatures()
424 printf("%sinheritedQueries: %s\n", indent, features.inheritedQueries ? "YES" : "NO"); in PrintAllFeatures()
428 void PrintSupportedFeatures(const char* indent, in PrintSupportedFeatures() argument
431 if (features.robustBufferAccess) printf("%srobustBufferAccess\n", indent); in PrintSupportedFeatures()
432 if (features.fullDrawIndexUint32) printf("%sfullDrawIndexUint32\n", indent); in PrintSupportedFeatures()
433 if (features.imageCubeArray) printf("%simageCubeArray\n", indent); in PrintSupportedFeatures()
434 if (features.independentBlend) printf("%sindependentBlend\n", indent); in PrintSupportedFeatures()
435 if (features.geometryShader) printf("%sgeometryShader\n", indent); in PrintSupportedFeatures()
436 if (features.tessellationShader) printf("%stessellationShader\n", indent); in PrintSupportedFeatures()
437 if (features.sampleRateShading) printf("%ssampleRateShading\n", indent); in PrintSupportedFeatures()
438 if (features.dualSrcBlend) printf("%sdualSrcBlend\n", indent); in PrintSupportedFeatures()
439 if (features.logicOp) printf("%slogicOp\n", indent); in PrintSupportedFeatures()
440 if (features.multiDrawIndirect) printf("%smultiDrawIndirect\n", indent); in PrintSupportedFeatures()
441 if (features.drawIndirectFirstInstance) printf("%sdrawIndirectFirstInstance\n", indent); in PrintSupportedFeatures()
442 if (features.depthClamp) printf("%sdepthClamp\n", indent); in PrintSupportedFeatures()
443 if (features.depthBiasClamp) printf("%sdepthBiasClamp\n", indent); in PrintSupportedFeatures()
444 if (features.fillModeNonSolid) printf("%sfillModeNonSolid\n", indent); in PrintSupportedFeatures()
445 if (features.depthBounds) printf("%sdepthBounds\n", indent); in PrintSupportedFeatures()
446 if (features.wideLines) printf("%swideLines\n", indent); in PrintSupportedFeatures()
447 if (features.largePoints) printf("%slargePoints\n", indent); in PrintSupportedFeatures()
448 if (features.alphaToOne) printf("%salphaToOne\n", indent); in PrintSupportedFeatures()
449 if (features.multiViewport) printf("%smultiViewport\n", indent); in PrintSupportedFeatures()
450 if (features.samplerAnisotropy) printf("%ssamplerAnisotropy\n", indent); in PrintSupportedFeatures()
451 if (features.textureCompressionETC2) printf("%stextureCompressionETC2\n", indent); in PrintSupportedFeatures()
452 if (features.textureCompressionASTC_LDR) printf("%stextureCompressionASTC_LDR\n", indent); in PrintSupportedFeatures()
453 if (features.textureCompressionBC) printf("%stextureCompressionBC\n", indent); in PrintSupportedFeatures()
454 if (features.occlusionQueryPrecise) printf("%socclusionQueryPrecise\n", indent); in PrintSupportedFeatures()
455 if (features.pipelineStatisticsQuery) printf("%spipelineStatisticsQuery\n", indent); in PrintSupportedFeatures()
456 … if (features.vertexPipelineStoresAndAtomics) printf("%svertexPipelineStoresAndAtomics\n", indent); in PrintSupportedFeatures()
457 if (features.fragmentStoresAndAtomics) printf("%sfragmentStoresAndAtomics\n", indent); in PrintSupportedFeatures()
458 …aderTessellationAndGeometryPointSize) printf("%sshaderTessellationAndGeometryPointSize\n", indent); in PrintSupportedFeatures()
459 if (features.shaderImageGatherExtended) printf("%sshaderImageGatherExtended\n", indent); in PrintSupportedFeatures()
460 …eatures.shaderStorageImageExtendedFormats) printf("%sshaderStorageImageExtendedFormats\n", indent); in PrintSupportedFeatures()
461 if (features.shaderStorageImageMultisample) printf("%sshaderStorageImageMultisample\n", indent); in PrintSupportedFeatures()
462 …res.shaderStorageImageReadWithoutFormat) printf("%sshaderStorageImageReadWithoutFormat\n", indent); in PrintSupportedFeatures()
463 …s.shaderStorageImageWriteWithoutFormat) printf("%sshaderStorageImageWriteWithoutFormat\n", indent); in PrintSupportedFeatures()
464 …erUniformBufferArrayDynamicIndexing) printf("%sshaderUniformBufferArrayDynamicIndexing\n", indent); in PrintSupportedFeatures()
465 …aderSampledImageArrayDynamicIndexing) printf("%sshaderSampledImageArrayDynamicIndexing\n", indent); in PrintSupportedFeatures()
466 …erStorageBufferArrayDynamicIndexing) printf("%sshaderStorageBufferArrayDynamicIndexing\n", indent); in PrintSupportedFeatures()
467 …aderStorageImageArrayDynamicIndexing) printf("%sshaderStorageImageArrayDynamicIndexing\n", indent); in PrintSupportedFeatures()
468 if (features.shaderClipDistance) printf("%sshaderClipDistance\n", indent); in PrintSupportedFeatures()
469 if (features.shaderCullDistance) printf("%sshaderCullDistance\n", indent); in PrintSupportedFeatures()
470 if (features.shaderFloat64) printf("%sshaderFloat64\n", indent); in PrintSupportedFeatures()
471 if (features.shaderInt64) printf("%sshaderInt64\n", indent); in PrintSupportedFeatures()
472 if (features.shaderInt16) printf("%sshaderInt16\n", indent); in PrintSupportedFeatures()
473 if (features.shaderResourceResidency) printf("%sshaderResourceResidency\n", indent); in PrintSupportedFeatures()
474 if (features.shaderResourceMinLod) printf("%sshaderResourceMinLod\n", indent); in PrintSupportedFeatures()
475 if (features.sparseBinding) printf("%ssparseBinding\n", indent); in PrintSupportedFeatures()
476 if (features.sparseResidencyBuffer) printf("%ssparseResidencyBuffer\n", indent); in PrintSupportedFeatures()
477 if (features.sparseResidencyImage2D) printf("%ssparseResidencyImage2D\n", indent); in PrintSupportedFeatures()
478 if (features.sparseResidencyImage3D) printf("%ssparseResidencyImage3D\n", indent); in PrintSupportedFeatures()
479 if (features.sparseResidency2Samples) printf("%ssparseResidency2Samples\n", indent); in PrintSupportedFeatures()
480 if (features.sparseResidency4Samples) printf("%ssparseResidency4Samples\n", indent); in PrintSupportedFeatures()
481 if (features.sparseResidency8Samples) printf("%ssparseResidency8Samples\n", indent); in PrintSupportedFeatures()
482 if (features.sparseResidency16Samples) printf("%ssparseResidency16Samples\n", indent); in PrintSupportedFeatures()
483 if (features.sparseResidencyAliased) printf("%ssparseResidencyAliased\n", indent); in PrintSupportedFeatures()
484 if (features.variableMultisampleRate) printf("%svariableMultisampleRate\n", indent); in PrintSupportedFeatures()
485 if (features.inheritedQueries) printf("%sinheritedQueries\n", indent); in PrintSupportedFeatures()
489 void PrintGpuInfo(const GpuInfo& info, const Options& options, size_t indent) { in PrintGpuInfo() argument
493 printf("%s\"%s\" (%s) %u.%u.%u/%#x [%04x:%04x]\n", Indent(indent), in PrintGpuInfo()
507 Indent(indent + 1), heap, in PrintGpuInfo()
527 printf("%sType %u:%s\n", Indent(indent + 2), type, in PrintGpuInfo()
546 Indent(indent + 1), family, qprops.queueCount, flags_str, in PrintGpuInfo()
547 Indent(indent + 2), qprops.timestampValidBits, Indent(indent + 2), in PrintGpuInfo()
553 printf("%sFeatures:\n", Indent(indent + 1)); in PrintGpuInfo()
555 PrintAllFeatures(Indent(indent + 2), info.features); in PrintGpuInfo()
557 PrintSupportedFeatures(Indent(indent + 2), info.features); in PrintGpuInfo()
560 printf("%sExtensions [%zu]:\n", Indent(indent + 1), info.extensions.size()); in PrintGpuInfo()
562 PrintExtensions(info.extensions, options, indent + 2); in PrintGpuInfo()
563 printf("%sLayers [%zu]:\n", Indent(indent + 1), info.layers.size()); in PrintGpuInfo()
565 PrintLayers(info.layers, info.layer_extensions, options, indent + 2); in PrintGpuInfo()
570 size_t indent = 0; in PrintInfo() local
572 printf("%sInstance Extensions [%zu]:\n", Indent(indent), in PrintInfo()
574 PrintExtensions(info.extensions, options, indent + 1); in PrintInfo()
575 printf("%sInstance Layers [%zu]:\n", Indent(indent), info.layers.size()); in PrintInfo()
577 PrintLayers(info.layers, info.layer_extensions, options, indent + 1); in PrintInfo()
579 printf("%sPhysicalDevices [%zu]:\n", Indent(indent), info.gpus.size()); in PrintInfo()
581 PrintGpuInfo(gpu, options, indent + 1); in PrintInfo()