Add missing limits to DawnInfo
Change-Id: Iefd31cb6abb29a09a6c1de60cfe3c965b1fcff94
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/157021
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Fr <beaufort.francois@gmail.com>
Reviewed-by: Austin Eng <enga@chromium.org>
diff --git a/src/dawn/samples/DawnInfo.cpp b/src/dawn/samples/DawnInfo.cpp
index 1b88669..196b1d7 100644
--- a/src/dawn/samples/DawnInfo.cpp
+++ b/src/dawn/samples/DawnInfo.cpp
@@ -160,6 +160,11 @@
out << indent << "maxTextureArrayLayers: " << FormatNumber(limits.maxTextureArrayLayers)
<< "\n";
out << indent << "maxBindGroups: " << FormatNumber(limits.maxBindGroups) << "\n";
+ out << indent
+ << "maxBindGroupsPlusVertexBuffers: " << FormatNumber(limits.maxBindGroupsPlusVertexBuffers)
+ << "\n";
+ out << indent << "maxBindingsPerBindGroup: " << FormatNumber(limits.maxBindingsPerBindGroup)
+ << "\n";
out << indent << "maxDynamicUniformBuffersPerPipelineLayout: "
<< FormatNumber(limits.maxDynamicUniformBuffersPerPipelineLayout) << "\n";
out << indent << "maxDynamicStorageBuffersPerPipelineLayout: "
@@ -185,6 +190,7 @@
out << indent << "minStorageBufferOffsetAlignment: "
<< FormatNumber(limits.minStorageBufferOffsetAlignment) << "\n";
out << indent << "maxVertexBuffers: " << FormatNumber(limits.maxVertexBuffers) << "\n";
+ out << indent << "maxBufferSize: " << FormatNumber(limits.maxBufferSize) << "\n";
out << indent << "maxVertexAttributes: " << FormatNumber(limits.maxVertexAttributes) << "\n";
out << indent
<< "maxVertexBufferArrayStride: " << FormatNumber(limits.maxVertexBufferArrayStride)
@@ -196,6 +202,8 @@
<< "maxInterStageShaderVariables: " << FormatNumber(limits.maxInterStageShaderVariables)
<< "\n";
out << indent << "maxColorAttachments: " << FormatNumber(limits.maxColorAttachments) << "\n";
+ out << indent << "maxColorAttachmentBytesPerSample: "
+ << FormatNumber(limits.maxColorAttachmentBytesPerSample) << "\n";
out << indent
<< "maxComputeWorkgroupStorageSize: " << FormatNumber(limits.maxComputeWorkgroupStorageSize)
<< "\n";