diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2018-10-16 03:04:20 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2018-10-18 00:52:08 +0200 |
commit | fd9e2d0073be84deff02a122d5db8d2917309a61 (patch) | |
tree | 1308b6b6f1c99169d22bb3ca963ce8a6104c557b /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | Merge pull request #1497 from bunnei/flush-framebuffers (diff) | |
download | yuzu-fd9e2d0073be84deff02a122d5db8d2917309a61.tar yuzu-fd9e2d0073be84deff02a122d5db8d2917309a61.tar.gz yuzu-fd9e2d0073be84deff02a122d5db8d2917309a61.tar.bz2 yuzu-fd9e2d0073be84deff02a122d5db8d2917309a61.tar.lz yuzu-fd9e2d0073be84deff02a122d5db8d2917309a61.tar.xz yuzu-fd9e2d0073be84deff02a122d5db8d2917309a61.tar.zst yuzu-fd9e2d0073be84deff02a122d5db8d2917309a61.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index 7c1cb72d0..0dd0d90a3 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -132,6 +132,8 @@ struct SurfaceParams { case Tegra::Texture::TextureType::Texture2D: case Tegra::Texture::TextureType::Texture2DNoMipmap: return SurfaceTarget::Texture2D; + case Tegra::Texture::TextureType::Texture3D: + return SurfaceTarget::Texture3D; case Tegra::Texture::TextureType::TextureCubemap: return SurfaceTarget::TextureCubemap; case Tegra::Texture::TextureType::Texture1DArray: @@ -791,6 +793,7 @@ struct SurfaceParams { struct { u32 index; u32 array_mode; + u32 volume; u32 layer_stride; u32 base_layer; } rt; |