BAD_COPY_PASTE in SkSLLayout.h

replace fBuiltin with fInputAttachmentIndex

Change-Id: I92a6048e151ec35347a4a1ee4867e286b0907399
Signed-off-by: z102.zhang <z102.zhang@samsung.com>
Reviewed-on: https://skia-review.googlesource.com/147840
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
This commit is contained in:
z102.zhang 2018-08-17 11:15:27 +08:00 committed by Skia Commit-Bot
parent 5bce14d015
commit 937efc3b02

View File

@ -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) {