summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-01 09:49:35 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-06-08 10:01:00 +0200
commit3c2ae53b4c574deb4f9afe3104c7d022c53c5281 (patch)
treea66e762e1fadaebdd05b7f13a6dade2ed5129aa6 /src/video_core/renderer_opengl
parenttexture_cache: Implement rendering to 3D textures (diff)
downloadyuzu-3c2ae53b4c574deb4f9afe3104c7d022c53c5281.tar
yuzu-3c2ae53b4c574deb4f9afe3104c7d022c53c5281.tar.gz
yuzu-3c2ae53b4c574deb4f9afe3104c7d022c53c5281.tar.bz2
yuzu-3c2ae53b4c574deb4f9afe3104c7d022c53c5281.tar.lz
yuzu-3c2ae53b4c574deb4f9afe3104c7d022c53c5281.tar.xz
yuzu-3c2ae53b4c574deb4f9afe3104c7d022c53c5281.tar.zst
yuzu-3c2ae53b4c574deb4f9afe3104c7d022c53c5281.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/gl_texture_cache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.cpp b/src/video_core/renderer_opengl/gl_texture_cache.cpp
index 46df15dfc..61505879b 100644
--- a/src/video_core/renderer_opengl/gl_texture_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp
@@ -557,8 +557,8 @@ void TextureCacheOpenGL::ImageBlit(View& src_view, View& dst_view,
const Tegra::Engines::Fermi2D::Config& copy_config) {
const auto& src_params{src_view->GetSurfaceParams()};
const auto& dst_params{dst_view->GetSurfaceParams()};
- UNIMPLEMENTED_IF(src_params.target == SurfaceTarget::Texture3D);
- UNIMPLEMENTED_IF(dst_params.target == SurfaceTarget::Texture3D);
+ UNIMPLEMENTED_IF(src_params.depth != 1);
+ UNIMPLEMENTED_IF(dst_params.depth != 1);
state_tracker.NotifyScissor0();
state_tracker.NotifyFramebuffer();