Index: src/gpu/batches/GrTestBatch.h |
diff --git a/src/gpu/batches/GrTestBatch.h b/src/gpu/batches/GrTestBatch.h |
index 02881c9668ed2c1d0a78355990a045b625baf52b..a9f6c868d5f3aed59b28600eff1a02943184b83d 100644 |
--- a/src/gpu/batches/GrTestBatch.h |
+++ b/src/gpu/batches/GrTestBatch.h |
@@ -26,13 +26,12 @@ public: |
virtual const char* name() const override = 0; |
- void getInvariantOutputColor(GrInitInvariantOutput* out) const override { |
+ void computeBatchToXPOverrides(GrInitInvariantOutput* color, GrInitInvariantOutput* coverage, |
+ bool* usePLSDstRead) const { |
// When this is called on a batch, there is only one geometry bundle |
- out->setKnownFourComponents(this->geoData(0)->fColor); |
- } |
- |
- void getInvariantOutputCoverage(GrInitInvariantOutput* out) const override { |
- out->setUnknownSingleComponent(); |
+ color->setKnownFourComponents(this->geoData(0)->fColor); |
+ coverage->setUnknownSingleComponent(); |
+ *usePLSDstRead = false; |
} |
void initBatchTracker(const GrPipelineOptimizations& opt) override { |