mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-03 09:23:05 +00:00
correct the implementation of RGBA16UI
This commit is contained in:
parent
885d88825e
commit
c6bc13d0aa
|
@ -249,6 +249,8 @@ PixelFormat PixelFormatFromTextureFormat(Tegra::Texture::TextureFormat format,
|
||||||
return PixelFormat::RGBA16U;
|
return PixelFormat::RGBA16U;
|
||||||
case Tegra::Texture::ComponentType::FLOAT:
|
case Tegra::Texture::ComponentType::FLOAT:
|
||||||
return PixelFormat::RGBA16F;
|
return PixelFormat::RGBA16F;
|
||||||
|
case Tegra::Texture::ComponentType::UINT:
|
||||||
|
return PixelFormat::RGBA16UI;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue