forked from ShuriZma/suyu
1
0
Fork 0

video_core/surface: Remove obsolete TODO in PixelFormatFromRenderTargetFormat()

This isn't needed anymore, according to Hexagon
This commit is contained in:
Lioncash 2019-03-05 10:15:03 -05:00
parent 79f970e6de
commit 42085ff110
1 changed files with 0 additions and 2 deletions

View File

@ -89,8 +89,6 @@ PixelFormat PixelFormatFromDepthFormat(Tegra::DepthFormat format) {
PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format) { PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format) {
switch (format) { switch (format) {
// TODO (Hexagon12): Converting SRGBA to RGBA is a hack and doesn't completely correct the
// gamma.
case Tegra::RenderTargetFormat::RGBA8_SRGB: case Tegra::RenderTargetFormat::RGBA8_SRGB:
return PixelFormat::RGBA8_SRGB; return PixelFormat::RGBA8_SRGB;
case Tegra::RenderTargetFormat::RGBA8_UNORM: case Tegra::RenderTargetFormat::RGBA8_UNORM: