summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorgreggameplayer <33609333+greggameplayer@users.noreply.github.com>2018-08-11 20:01:50 +0200
committerbunnei <bunneidev@gmail.com>2018-08-11 20:01:50 +0200
commitdfcde52f3933bab397fc8619ede00383f4a7e5e2 (patch)
tree9c3cdb0b3162543d6f5308f31a2745b568ace4b8 /src/video_core/gpu.h
parentMerge pull request #1015 from lioncash/gamelist (diff)
downloadyuzu-dfcde52f3933bab397fc8619ede00383f4a7e5e2.tar
yuzu-dfcde52f3933bab397fc8619ede00383f4a7e5e2.tar.gz
yuzu-dfcde52f3933bab397fc8619ede00383f4a7e5e2.tar.bz2
yuzu-dfcde52f3933bab397fc8619ede00383f4a7e5e2.tar.lz
yuzu-dfcde52f3933bab397fc8619ede00383f4a7e5e2.tar.xz
yuzu-dfcde52f3933bab397fc8619ede00383f4a7e5e2.tar.zst
yuzu-dfcde52f3933bab397fc8619ede00383f4a7e5e2.zip
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r--src/video_core/gpu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index 874eddd78..0164c747a 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -35,6 +35,10 @@ enum class RenderTargetFormat : u32 {
R11G11B10_FLOAT = 0xE0,
R32_FLOAT = 0xE5,
B5G6R5_UNORM = 0xE8,
+ R16_UNORM = 0xEE,
+ R16_SNORM = 0xEF,
+ R16_SINT = 0xF0,
+ R16_UINT = 0xF1,
R16_FLOAT = 0xF2,
R8_UNORM = 0xF3,
};
@@ -52,6 +56,9 @@ enum class DepthFormat : u32 {
/// Returns the number of bytes per pixel of each rendertarget format.
u32 RenderTargetBytesPerPixel(RenderTargetFormat format);
+/// Returns the number of bytes per pixel of each depth format.
+u32 DepthFormatBytesPerPixel(DepthFormat format);
+
class DebugContext;
/**