Fix handling of proxying S8 textures

This commit is contained in:
baldurk
2023-03-16 16:55:21 +00:00
parent 38afb7c8ad
commit 3ba61e20a6
9 changed files with 80 additions and 25 deletions
+4
View File
@@ -2317,6 +2317,10 @@ void ReplayProxy::RemapProxyTextureIfNeeded(TextureDescription &tex, GetTextureD
switch(tex.format.type)
{
case ResourceFormatType::S8:
tex.format.compType = CompType::UInt;
params.remap = RemapTexture::RGBA8;
tex.creationFlags &= ~TextureCategory::DepthTarget;
break;
case ResourceFormatType::D16S8:
case ResourceFormatType::D24S8:
case ResourceFormatType::D32S8: