mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
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.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user