diff options
author | raven02 <jacky.kktsui@yahoo.com.hk> | 2018-09-16 16:47:02 +0200 |
---|---|---|
committer | raven02 <jacky.kktsui@yahoo.com.hk> | 2018-09-16 19:04:27 +0200 |
commit | 2845348608ccccd0ce36a351cc4a35e753d84837 (patch) | |
tree | 939d05956e81fbebb7bb7b2afd1258fcf3050c4d /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | Merge pull request #1273 from Subv/ld_sizes (diff) | |
download | yuzu-2845348608ccccd0ce36a351cc4a35e753d84837.tar yuzu-2845348608ccccd0ce36a351cc4a35e753d84837.tar.gz yuzu-2845348608ccccd0ce36a351cc4a35e753d84837.tar.bz2 yuzu-2845348608ccccd0ce36a351cc4a35e753d84837.tar.lz yuzu-2845348608ccccd0ce36a351cc4a35e753d84837.tar.xz yuzu-2845348608ccccd0ce36a351cc4a35e753d84837.tar.zst yuzu-2845348608ccccd0ce36a351cc4a35e753d84837.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index 57ea8593b..0525e9a94 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -70,19 +70,20 @@ struct SurfaceParams { RG8S = 42, RG32UI = 43, R32UI = 44, + ASTC_2D_8X8 = 45, MaxColorFormat, // Depth formats - Z32F = 45, - Z16 = 46, + Z32F = 46, + Z16 = 47, MaxDepthFormat, // DepthStencil formats - Z24S8 = 47, - S8Z24 = 48, - Z32FS8 = 49, + Z24S8 = 48, + S8Z24 = 49, + Z32FS8 = 50, MaxDepthStencilFormat, @@ -192,6 +193,7 @@ struct SurfaceParams { 1, // RG8S 1, // RG32UI 1, // R32UI + 4, // ASTC_2D_8X8 1, // Z32F 1, // Z16 1, // Z24S8 @@ -253,6 +255,7 @@ struct SurfaceParams { 16, // RG8S 64, // RG32UI 32, // R32UI + 16, // ASTC_2D_8X8 32, // Z32F 16, // Z16 32, // Z24S8 @@ -522,6 +525,8 @@ struct SurfaceParams { return PixelFormat::BC6H_SF16; case Tegra::Texture::TextureFormat::ASTC_2D_4X4: return PixelFormat::ASTC_2D_4X4; + case Tegra::Texture::TextureFormat::ASTC_2D_8X8: + return PixelFormat::ASTC_2D_8X8; case Tegra::Texture::TextureFormat::R16_G16: switch (component_type) { case Tegra::Texture::ComponentType::FLOAT: |