diff options
author | Hexagon12 <benassdo@gmail.com> | 2018-10-13 16:10:26 +0200 |
---|---|---|
committer | Hexagon12 <benassdo@gmail.com> | 2018-10-13 16:10:26 +0200 |
commit | cbf723896f221c782edef9feb6428c29c69fa2fc (patch) | |
tree | 9fa847296aedbc3c1cd5b52cee30aff029d496bf /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | Merge pull request #1458 from FernandoS27/fix-render-target-block-settings (diff) | |
download | yuzu-cbf723896f221c782edef9feb6428c29c69fa2fc.tar yuzu-cbf723896f221c782edef9feb6428c29c69fa2fc.tar.gz yuzu-cbf723896f221c782edef9feb6428c29c69fa2fc.tar.bz2 yuzu-cbf723896f221c782edef9feb6428c29c69fa2fc.tar.lz yuzu-cbf723896f221c782edef9feb6428c29c69fa2fc.tar.xz yuzu-cbf723896f221c782edef9feb6428c29c69fa2fc.tar.zst yuzu-cbf723896f221c782edef9feb6428c29c69fa2fc.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer_cache.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 20 |
1 files changed, 15 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 66d98ad4e..0b8ae3eb4 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -74,19 +74,21 @@ struct SurfaceParams { RG32UI = 43, R32UI = 44, ASTC_2D_8X8 = 45, + ASTC_2D_8X5 = 46, + ASTC_2D_5X4 = 47, MaxColorFormat, // Depth formats - Z32F = 46, - Z16 = 47, + Z32F = 48, + Z16 = 49, MaxDepthFormat, // DepthStencil formats - Z24S8 = 48, - S8Z24 = 49, - Z32FS8 = 50, + Z24S8 = 50, + S8Z24 = 51, + Z32FS8 = 52, MaxDepthStencilFormat, @@ -220,6 +222,8 @@ struct SurfaceParams { 1, // RG32UI 1, // R32UI 4, // ASTC_2D_8X8 + 4, // ASTC_2D_8X5 + 4, // ASTC_2D_5X4 1, // Z32F 1, // Z16 1, // Z24S8 @@ -282,6 +286,8 @@ struct SurfaceParams { 64, // RG32UI 32, // R32UI 16, // ASTC_2D_8X8 + 32, // ASTC_2D_8X5 + 32, // ASTC_2D_5X4 32, // Z32F 16, // Z16 32, // Z24S8 @@ -553,8 +559,12 @@ struct SurfaceParams { return PixelFormat::BC6H_SF16; case Tegra::Texture::TextureFormat::ASTC_2D_4X4: return PixelFormat::ASTC_2D_4X4; + case Tegra::Texture::TextureFormat::ASTC_2D_5X4: + return PixelFormat::ASTC_2D_5X4; case Tegra::Texture::TextureFormat::ASTC_2D_8X8: return PixelFormat::ASTC_2D_8X8; + case Tegra::Texture::TextureFormat::ASTC_2D_8X5: + return PixelFormat::ASTC_2D_8X5; case Tegra::Texture::TextureFormat::R16_G16: switch (component_type) { case Tegra::Texture::ComponentType::FLOAT: |