commit | 2a26c50a628fbc6363bff432489c3facab4341ec | [log] [tgz] |
---|---|---|
author | Chris Dalton <csmartdalton@google.com> | Thu Aug 26 10:05:11 2021 -0600 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Thu Aug 26 17:24:47 2021 +0000 |
tree | 8501cb9e0dbc0292b9613994668a79bfaaee1a65 | |
parent | 82d081465e17f4ba92f724eab7759af24b72ae32 [diff] [blame] |
Store the correct number of samples in GrProgramInfo Bug: skia:11396 Change-Id: I9480b89635bd7a6bdff8ab4876c8eeafdbc27c8b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/442096 Commit-Queue: Chris Dalton <csmartdalton@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
diff --git a/src/gpu/GrOpFlushState.cpp b/src/gpu/GrOpFlushState.cpp index 67da4ab..4ce2094 100644 --- a/src/gpu/GrOpFlushState.cpp +++ b/src/gpu/GrOpFlushState.cpp
@@ -51,7 +51,9 @@ ++fCurrUpload; } - GrProgramInfo programInfo(this->writeView(), + GrProgramInfo programInfo(this->caps(), + this->writeView(), + this->usesMSAASurface(), pipeline, userStencilSettings, fCurrDraw->fGeometryProcessor,