fix MSAA custom resolve
we were not binding the proper descriptor set. on gl this is only an assert, on vulkan it would be a problem if we supported subpasses, on metal there is no assert.
This commit is contained in:
committed by
Mathias Agopian
parent
6c27340d22
commit
ef14e9c90e
@@ -2341,6 +2341,9 @@ void PostProcessManager::customResolvePrepareSubpass(DriverApi& driver, CustomRe
|
||||
}
|
||||
|
||||
void PostProcessManager::customResolveSubpass(DriverApi& driver) noexcept {
|
||||
|
||||
bindPostProcessDescriptorSet(driver);
|
||||
|
||||
FEngine const& engine = mEngine;
|
||||
Handle<HwRenderPrimitive> const& fullScreenRenderPrimitive = engine.getFullScreenRenderPrimitive();
|
||||
auto const& material = getPostProcessMaterial("customResolveAsSubpass");
|
||||
|
||||
Reference in New Issue
Block a user