Switch from querying swizzle on caps to using swizzles stored on proxies.
Change-Id: I03f4a3affd6dda7a83bee8eec768dcaa93a6b801
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/220534
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
diff --git a/src/gpu/GrTextureOpList.cpp b/src/gpu/GrTextureOpList.cpp
index 86f8f60..fb63e76 100644
--- a/src/gpu/GrTextureOpList.cpp
+++ b/src/gpu/GrTextureOpList.cpp
@@ -85,6 +85,7 @@
fRecordedOps[i].get(),
nullptr,
nullptr,
+ GrSwizzle(),
GrXferProcessor::DstProxy()
};
flushState->setOpArgs(&opArgs);
@@ -115,6 +116,7 @@
fRecordedOps[i].get(),
nullptr,
nullptr,
+ GrSwizzle(),
GrXferProcessor::DstProxy()
};
flushState->setOpArgs(&opArgs);