mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
attempt to fix invalid ressource state on render target
This commit is contained in:
@@ -246,6 +246,9 @@ void GbufferBlitPass::UpdateSceneColorForRefraction(
|
||||
command_list->copyTexture(
|
||||
m_output_copy, nvrhi::TextureSlice().resolve(m_output_copy->getDesc()),
|
||||
m_output, nvrhi::TextureSlice().resolve(m_output->getDesc()));
|
||||
command_list->setTextureState(m_output, nvrhi::AllSubresources,
|
||||
nvrhi::ResourceStates::RenderTarget);
|
||||
command_list->commitBarriers();
|
||||
}
|
||||
|
||||
void GbufferBlitPass::Render(nvrhi::ICommandList* command_list,
|
||||
|
||||
Reference in New Issue
Block a user