mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 05:27:49 +00:00
Fix RecomputeHaveAspectVertexBuffers check
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user