Trying to fix fluid pass
This commit is contained in:
@@ -268,7 +268,7 @@ void RenderCommand::bindDescriptor(Gfx::PDescriptorSet descriptor) {
|
||||
}
|
||||
}
|
||||
if (descriptorSet->setHandle->constantsBuffer != nullptr) {
|
||||
descriptorSet->setHandle->bind();
|
||||
descriptorSet->setHandle->constantsBuffer->bind();
|
||||
boundResources.add(PBufferAllocation(descriptorSet->setHandle->constantsBuffer));
|
||||
}
|
||||
|
||||
@@ -299,7 +299,7 @@ void RenderCommand::bindDescriptor(const Array<Gfx::PDescriptorSet>& descriptorS
|
||||
}
|
||||
}
|
||||
if (descriptorSet->setHandle->constantsBuffer != nullptr) {
|
||||
descriptorSet->setHandle->bind();
|
||||
descriptorSet->setHandle->constantsBuffer->bind();
|
||||
boundResources.add(PBufferAllocation(descriptorSet->setHandle->constantsBuffer));
|
||||
}
|
||||
sets[layout->findParameter(descriptorSet->getName())] = descriptorSet->getHandle();
|
||||
|
||||
Reference in New Issue
Block a user