Index: src/gpu/GrInOrderCommandBuilder.cpp |
diff --git a/src/gpu/GrInOrderCommandBuilder.cpp b/src/gpu/GrInOrderCommandBuilder.cpp |
index 6d942449ee1f9d99be307550c1d47e199df3a201..5083e58d5a082d5e367bd09421aaff6015e8ea72 100644 |
--- a/src/gpu/GrInOrderCommandBuilder.cpp |
+++ b/src/gpu/GrInOrderCommandBuilder.cpp |
@@ -27,6 +27,7 @@ static bool path_fill_type_is_winding(const GrStencilSettings& pathStencilSettin |
GrTargetCommands::Cmd* GrInOrderCommandBuilder::recordDrawBatch(State* state, GrBatch* batch) { |
// Check if there is a Batch Draw we can batch with |
+ batch->setPipeline(state->getPipeline()); |
if (!this->cmdBuffer()->empty() && |
Cmd::kDrawBatch_CmdType == this->cmdBuffer()->back().type()) { |
DrawBatch* previous = static_cast<DrawBatch*>(&this->cmdBuffer()->back()); |