From 937efc3b02b687e871b9e99242bcb3d696d6ee35 Mon Sep 17 00:00:00 2001 From: "z102.zhang" Date: Fri, 17 Aug 2018 11:15:27 +0800 Subject: [PATCH] BAD_COPY_PASTE in SkSLLayout.h replace fBuiltin with fInputAttachmentIndex Change-Id: I92a6048e151ec35347a4a1ee4867e286b0907399 Signed-off-by: z102.zhang Reviewed-on: https://skia-review.googlesource.com/147840 Reviewed-by: Ethan Nicholas Commit-Queue: Ethan Nicholas --- src/sksl/ir/SkSLLayout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sksl/ir/SkSLLayout.h b/src/sksl/ir/SkSLLayout.h index 5c99807ab5..50c88b45c9 100644 --- a/src/sksl/ir/SkSLLayout.h +++ b/src/sksl/ir/SkSLLayout.h @@ -181,7 +181,7 @@ struct Layout { separator = ", "; } if (fInputAttachmentIndex >= 0) { - result += separator + "input_attachment_index = " + to_string(fBuiltin); + result += separator + "input_attachment_index = " + to_string(fInputAttachmentIndex); separator = ", "; } if (Format::kUnspecified != fFormat) {