Skip to content

Commit 1cbaf81

Browse files
committed
fixup! Temporarily add Metal createComputePipeline2 logging
1 parent 1d8ebe8 commit 1cbaf81

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

slang-rhi.diff

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/src/metal/metal-pipeline.cpp b/src/metal/metal-pipeline.cpp
2-
index 73b9bd9..06925f7 100644
2+
index 73b9bd9..32ac912 100644
33
--- a/src/metal/metal-pipeline.cpp
44
+++ b/src/metal/metal-pipeline.cpp
55
@@ -5,6 +5,8 @@
@@ -27,10 +27,10 @@ index 73b9bd9..06925f7 100644
2727
+ std::cout << "*** !functionNames == " << !functionNames << "\n";
2828
+ if (functionNames)
2929
+ {
30-
+ std::cout << "*** functionNames->count() == " << functionNames()->count() << "\n";
31-
+ for (NS::UInteger i = 0; i < functionNames()->count(); ++i)
30+
+ std::cout << "*** functionNames->count() == " << functionNames->count() << "\n";
31+
+ for (NS::UInteger i = 0; i < functionNames->count(); ++i)
3232
+ {
33-
+ auto functionName = functionNames()->object(i)->description()->utf8String();
33+
+ auto functionName = functionNames->object(i)->description()->utf8String();
3434
+ std::cout << "*** functionNames[" << i << "] == \"" << functionName << "\"\n";
3535
+ }
3636
+ }

0 commit comments

Comments
 (0)