Index: src/gpu/GrInOrderCommandBuilder.cpp |
diff --git a/src/gpu/GrInOrderCommandBuilder.cpp b/src/gpu/GrInOrderCommandBuilder.cpp |
index b679b6f3b87a9d592e79b9b98983c26081009d62..912f0b5dbdb6a51657dea60756e51d1117492cc7 100644 |
--- a/src/gpu/GrInOrderCommandBuilder.cpp |
+++ b/src/gpu/GrInOrderCommandBuilder.cpp |
@@ -25,9 +25,11 @@ static bool path_fill_type_is_winding(const GrStencilSettings& pathStencilSettin |
return isWinding; |
} |
-GrTargetCommands::Cmd* GrInOrderCommandBuilder::recordDrawBatch(State* state, GrBatch* batch) { |
+GrTargetCommands::Cmd* GrInOrderCommandBuilder::recordDrawBatch(const State* state, |
+ const GrPipelineOptimizations& opts, |
+ GrBatch* batch) { |
// Check if there is a Batch Draw we can batch with |
- batch->setPipeline(state->getPipeline()); |
+ batch->setPipeline(state->getPipeline(), opts); |
GrBATCH_INFO("In-Recording (%s, %u)\n", batch->name(), batch->uniqueID()); |
if (!this->cmdBuffer()->empty() && |
Cmd::kDrawBatch_CmdType == this->cmdBuffer()->back().type()) { |