diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-02-04 21:59:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-04 21:59:33 +0100 |
commit | 18c981b99606b40897d8bc2da218e34509873246 (patch) | |
tree | 7b95528950ba5644b07c3c9340ebdadb0c41db3d /src/video_core/rasterizer.cpp | |
parent | changed the WIN32 macro in microprofileui (#2528) (diff) | |
parent | Pica/Texture: Move part of ETC1 decoding to new file and cleanups (diff) | |
download | yuzu-18c981b99606b40897d8bc2da218e34509873246.tar yuzu-18c981b99606b40897d8bc2da218e34509873246.tar.gz yuzu-18c981b99606b40897d8bc2da218e34509873246.tar.bz2 yuzu-18c981b99606b40897d8bc2da218e34509873246.tar.lz yuzu-18c981b99606b40897d8bc2da218e34509873246.tar.xz yuzu-18c981b99606b40897d8bc2da218e34509873246.tar.zst yuzu-18c981b99606b40897d8bc2da218e34509873246.zip |
Diffstat (limited to 'src/video_core/rasterizer.cpp')
-rw-r--r-- | src/video_core/rasterizer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/rasterizer.cpp b/src/video_core/rasterizer.cpp index b9f5d4533..c034c12d3 100644 --- a/src/video_core/rasterizer.cpp +++ b/src/video_core/rasterizer.cpp @@ -21,6 +21,7 @@ #include "video_core/pica_types.h" #include "video_core/rasterizer.h" #include "video_core/shader/shader.h" +#include "video_core/texture/texture_decode.h" #include "video_core/utils.h" namespace Pica { @@ -579,10 +580,10 @@ static void ProcessTriangleInternal(const Shader::OutputVertex& v0, const Shader u8* texture_data = Memory::GetPhysicalPointer(texture.config.GetPhysicalAddress()); auto info = - DebugUtils::TextureInfo::FromPicaRegister(texture.config, texture.format); + Texture::TextureInfo::FromPicaRegister(texture.config, texture.format); // TODO: Apply the min and mag filters to the texture - texture_color[i] = DebugUtils::LookupTexture(texture_data, s, t, info); + texture_color[i] = Texture::LookupTexture(texture_data, s, t, info); #if PICA_DUMP_TEXTURES DebugUtils::DumpTexture(texture.config, texture_data); #endif |