Fix RecomputeHaveAspectVertexBuffers check
This commit is contained in:
parent
dd37e5017f
commit
9b4150d5fd
|
@ -460,7 +460,7 @@ namespace backend {
|
||||||
}
|
}
|
||||||
// Assumes we have a pipeline already
|
// Assumes we have a pipeline already
|
||||||
auto requiredInputs = lastRenderPipeline->GetInputState()->GetInputsSetMask();
|
auto requiredInputs = lastRenderPipeline->GetInputState()->GetInputsSetMask();
|
||||||
if ((inputsSet & ~requiredInputs).none()) {
|
if ((inputsSet & requiredInputs) == requiredInputs) {
|
||||||
aspects.set(VALIDATION_ASPECT_VERTEX_BUFFERS);
|
aspects.set(VALIDATION_ASPECT_VERTEX_BUFFERS);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue