mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-06 06:33:30 +00:00
Fix RecomputeHaveAspectVertexBuffers check
This commit is contained in:
parent
dd37e5017f
commit
9b4150d5fd
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user