summaryrefslogtreecommitdiffstats
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-04-28 06:01:22 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-06-21 02:36:12 +0200
commitb8c75a845b1784045a10fa8b5f1f57f2ec53eeca (patch)
treeb71f71b5d3d8c3d12556e3fbf9344dbb9e8f220c /src/video_core/surface.cpp
parentgl_shader_decompiler: Allow 1D textures to be texture buffers (diff)
downloadyuzu-b8c75a845b1784045a10fa8b5f1f57f2ec53eeca.tar
yuzu-b8c75a845b1784045a10fa8b5f1f57f2ec53eeca.tar.gz
yuzu-b8c75a845b1784045a10fa8b5f1f57f2ec53eeca.tar.bz2
yuzu-b8c75a845b1784045a10fa8b5f1f57f2ec53eeca.tar.lz
yuzu-b8c75a845b1784045a10fa8b5f1f57f2ec53eeca.tar.xz
yuzu-b8c75a845b1784045a10fa8b5f1f57f2ec53eeca.tar.zst
yuzu-b8c75a845b1784045a10fa8b5f1f57f2ec53eeca.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/surface.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp
index 6384fa8d2..56c43af17 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -12,6 +12,8 @@ SurfaceTarget SurfaceTargetFromTextureType(Tegra::Texture::TextureType texture_t
switch (texture_type) {
case Tegra::Texture::TextureType::Texture1D:
return SurfaceTarget::Texture1D;
+ case Tegra::Texture::TextureType::Texture1DBuffer:
+ return SurfaceTarget::Texture1D; // Fixme
case Tegra::Texture::TextureType::Texture2D:
case Tegra::Texture::TextureType::Texture2DNoMipmap:
return SurfaceTarget::Texture2D;