[dawn] Print the subgroup matrix configurations in E2E tests
This makes it much easier to know which specific matrix configuration
is failing when a test run fails.
Change-Id: I6d61032dcb5a8b10639929115b5dc9d801f0edad
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/248076
Reviewed-by: dan sinclair <dsinclair@chromium.org>
Auto-Submit: James Price <jrprice@google.com>
Commit-Queue: James Price <jrprice@google.com>
diff --git a/src/dawn/tests/end2end/SubgroupMatrixTests.cpp b/src/dawn/tests/end2end/SubgroupMatrixTests.cpp
index 2dddda4..8700d13 100644
--- a/src/dawn/tests/end2end/SubgroupMatrixTests.cpp
+++ b/src/dawn/tests/end2end/SubgroupMatrixTests.cpp
@@ -334,6 +334,10 @@
auto& config = subgroupMatrixConfigs.configs[i];
uint32_t resultComponentByteSize = ComponentTypeToByteSize(config.resultComponentType);
+ InfoLog() << "Testing " << config.M << "x" << config.N << "x" << config.K << " "
+ << ComponentTypeToWgslType(config.componentType) << " -> "
+ << ComponentTypeToWgslType(config.resultComponentType);
+
// Generate a shader that performs a matrix multiplication that matches the config.
std::ostringstream shader;
shader << "enable chromium_experimental_subgroup_matrix;\n";