Add Metal support for the `findLSB` intrinsic.

Change-Id: Id38a3d04fcb1904a4c666d92087b4fe14bd03a27
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/343110
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
diff --git a/src/sksl/SkSLMetalCodeGenerator.h b/src/sksl/SkSLMetalCodeGenerator.h
index 6b600f1..635ddc3 100644
--- a/src/sksl/SkSLMetalCodeGenerator.h
+++ b/src/sksl/SkSLMetalCodeGenerator.h
@@ -109,6 +109,7 @@
         kDistance_SpecialIntrinsic,
         kDot_SpecialIntrinsic,
         kFaceforward_SpecialIntrinsic,
+        kFindLSB_SpecialIntrinsic,
         kLength_SpecialIntrinsic,
         kMod_SpecialIntrinsic,
         kNormalize_SpecialIntrinsic,
@@ -221,6 +222,8 @@
 
     String getBitcastIntrinsic(const Type& outType);
 
+    String getTempVariable(const Type& varType);
+
     void writeFunctionCall(const FunctionCall& c);
 
     bool matrixConstructHelperIsNeeded(const Constructor& c);