Fix RecomputeHaveAspectVertexBuffers check

This commit is contained in:
Austin Eng 2017-08-14 17:06:30 -04:00 committed by Austin Eng
parent dd37e5017f
commit 9b4150d5fd
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ namespace backend {
}
// Assumes we have a pipeline already
auto requiredInputs = lastRenderPipeline->GetInputState()->GetInputsSetMask();
if ((inputsSet & ~requiredInputs).none()) {
if ((inputsSet & requiredInputs) == requiredInputs) {
aspects.set(VALIDATION_ASPECT_VERTEX_BUFFERS);
return true;
}