Commit 183949cd by Nicolas Capens

Fix retaining the processing routines when no update.

Change-Id: I891c320662b046a1a4a94cf24b86b386f2fdf66e Reviewed-on: https://swiftshader-review.googlesource.com/5690Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com> Tested-by: 's avatarNicolas Capens <capn@google.com>
parent 1d672448
......@@ -234,10 +234,6 @@ namespace sw
sync->lock(sw::PRIVATE);
Routine *vertexRoutine;
Routine *setupRoutine;
Routine *pixelRoutine;
if(update || oldMultiSampleMask != context->multiSampleMask)
{
vertexState = VertexProcessor::update(drawType);
......
......@@ -480,6 +480,10 @@ namespace sw
VertexProcessor::State vertexState;
SetupProcessor::State setupState;
PixelProcessor::State pixelState;
Routine *vertexRoutine;
Routine *setupRoutine;
Routine *pixelRoutine;
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment