[graphite] Check for texture binding state changes in draw pass

Accidentally left out of a7c2d73.

Change-Id: I237f8734758def36badd33f63ff32859d4ae670e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/535440
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: James Godfrey-Kittle <jamesgk@google.com>
This commit is contained in:
James Godfrey-Kittle 2022-04-29 12:11:41 -04:00 committed by SkCQ
parent 59c906795c
commit a49fcb47c0

View File

@ -412,6 +412,7 @@ std::unique_ptr<DrawPass> DrawPass::Make(Recorder* recorder,
const bool pipelineChange = key.pipeline() != lastPipeline;
const bool stateChange = geometryUniformChange ||
shadingUniformChange ||
textureBindingsChange ||
draw.fGeometry.clip().scissor() != lastScissor;
// Update DrawWriter *before* we actually change any state so that accumulated draws from