Update LazySurfaceDesc to take a GrTextureType.

Bug: skia:12342
Change-Id: Ic57f3f30bc7d0a9d932eb4ac1c28b87b3b544ce4
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/439282
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/GrProxyProvider.cpp b/src/gpu/GrProxyProvider.cpp
index a05e84a..0a9dd3e 100644
--- a/src/gpu/GrProxyProvider.cpp
+++ b/src/gpu/GrProxyProvider.cpp
@@ -339,7 +339,7 @@
                 return LazyCallbackResult(resourceProvider->createTexture(
                         desc.fDimensions,
                         desc.fFormat,
-                        desc.fFormat.textureType(),
+                        desc.fTextureType,
                         colorType,
                         desc.fRenderable,
                         desc.fSampleCnt,
@@ -395,7 +395,7 @@
                 return LazyCallbackResult(resourceProvider->createTexture(
                         desc.fDimensions,
                         desc.fFormat,
-                        desc.fFormat.textureType(),
+                        desc.fTextureType,
                         colorType,
                         GrRenderable::kNo,
                         1,