summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-07-02 19:42:04 +0200
committerSubv <subv2112@gmail.com>2018-07-02 19:42:04 +0200
commit0f929762b3ba722bab1290a9fe23fc8ad6e909f4 (patch)
treef5cd01068b0df8906b3ee5804ff9d240e88674ac /src/video_core/gpu.h
parentMerge pull request #602 from Subv/mufu_subop (diff)
downloadyuzu-0f929762b3ba722bab1290a9fe23fc8ad6e909f4.tar
yuzu-0f929762b3ba722bab1290a9fe23fc8ad6e909f4.tar.gz
yuzu-0f929762b3ba722bab1290a9fe23fc8ad6e909f4.tar.bz2
yuzu-0f929762b3ba722bab1290a9fe23fc8ad6e909f4.tar.lz
yuzu-0f929762b3ba722bab1290a9fe23fc8ad6e909f4.tar.xz
yuzu-0f929762b3ba722bab1290a9fe23fc8ad6e909f4.tar.zst
yuzu-0f929762b3ba722bab1290a9fe23fc8ad6e909f4.zip
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r--src/video_core/gpu.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index d0a4ac267..cc5ca656e 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -24,6 +24,15 @@ enum class RenderTargetFormat : u32 {
R11G11B10_FLOAT = 0xE0,
};
+enum class DepthFormat : u32 {
+ Z32_FLOAT = 0xA,
+ Z16_UNORM = 0x13,
+ S8_Z24_UNORM = 0x14,
+ Z24_X8_UNORM = 0x15,
+ Z24_S8_UNORM = 0x16,
+ Z24_C8_UNORM = 0x18,
+};
+
/// Returns the number of bytes per pixel of each rendertarget format.
u32 RenderTargetBytesPerPixel(RenderTargetFormat format);