diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2018-10-19 02:04:43 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2018-11-01 16:56:19 +0100 |
commit | 678c18aa5cca65042d3b91b655fd713f37304592 (patch) | |
tree | 777166010f905a3a522d71047979888461d9c9eb /src/video_core/surface.cpp | |
parent | Merge pull request #1614 from ReinUsesLisp/surface-params (diff) | |
download | yuzu-678c18aa5cca65042d3b91b655fd713f37304592.tar yuzu-678c18aa5cca65042d3b91b655fd713f37304592.tar.gz yuzu-678c18aa5cca65042d3b91b655fd713f37304592.tar.bz2 yuzu-678c18aa5cca65042d3b91b655fd713f37304592.tar.lz yuzu-678c18aa5cca65042d3b91b655fd713f37304592.tar.xz yuzu-678c18aa5cca65042d3b91b655fd713f37304592.tar.zst yuzu-678c18aa5cca65042d3b91b655fd713f37304592.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/surface.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp index d9a97e30b..e6941b95f 100644 --- a/src/video_core/surface.cpp +++ b/src/video_core/surface.cpp @@ -19,6 +19,8 @@ SurfaceTarget SurfaceTargetFromTextureType(Tegra::Texture::TextureType texture_t return SurfaceTarget::Texture3D; case Tegra::Texture::TextureType::TextureCubemap: return SurfaceTarget::TextureCubemap; + case Tegra::Texture::TextureType::TextureCubeArray: + return SurfaceTarget::TextureCubeArray; case Tegra::Texture::TextureType::Texture1DArray: return SurfaceTarget::Texture1DArray; case Tegra::Texture::TextureType::Texture2DArray: @@ -39,6 +41,7 @@ bool SurfaceTargetIsLayered(SurfaceTarget target) { case SurfaceTarget::Texture1DArray: case SurfaceTarget::Texture2DArray: case SurfaceTarget::TextureCubemap: + case SurfaceTarget::TextureCubeArray: return true; default: LOG_CRITICAL(HW_GPU, "Unimplemented surface_target={}", static_cast<u32>(target)); |