From 12665b8bed4297db6712afb4eccd80d6bfbd202a Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 1 Feb 2019 12:20:02 +0000 Subject: [PATCH] Don't apply typehint when rendering overlay texture * On vulkan the typehint is forceful, so we don't want to inherit a unorm cast from the real texture. --- renderdoc/replay/replay_output.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/renderdoc/replay/replay_output.cpp b/renderdoc/replay/replay_output.cpp index 07aba5c36..19e105fea 100644 --- a/renderdoc/replay/replay_output.cpp +++ b/renderdoc/replay/replay_output.cpp @@ -800,6 +800,7 @@ void ReplayOutput::DisplayTex() texDisplay.rangeMin = 0.0f; texDisplay.rangeMax = 1.0f; texDisplay.linearDisplayAsGamma = false; + texDisplay.typeHint = CompType::Typeless; m_pDevice->RenderTexture(texDisplay); }