diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-03-26 23:18:54 +0100 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-04-08 17:23:46 +0200 |
commit | 7af82ca022fd6f02583e5686d5c69baf0b6a3611 (patch) | |
tree | 673ff142206ba69e30e28616c1ae4840fccbeb0f /src/video_core/engines/maxwell_3d.h | |
parent | Unify both sampler types. (diff) | |
download | yuzu-7af82ca022fd6f02583e5686d5c69baf0b6a3611.tar yuzu-7af82ca022fd6f02583e5686d5c69baf0b6a3611.tar.gz yuzu-7af82ca022fd6f02583e5686d5c69baf0b6a3611.tar.bz2 yuzu-7af82ca022fd6f02583e5686d5c69baf0b6a3611.tar.lz yuzu-7af82ca022fd6f02583e5686d5c69baf0b6a3611.tar.xz yuzu-7af82ca022fd6f02583e5686d5c69baf0b6a3611.tar.zst yuzu-7af82ca022fd6f02583e5686d5c69baf0b6a3611.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index 321af3297..fd2c35a01 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -1131,6 +1131,10 @@ public: /// Write the value to the register identified by method. void CallMethod(const GPU::MethodCall& method_call); + /// Given a Texture Handle, returns the TSC and TIC entries. + Texture::FullTextureInfo GetTextureInfo(const Texture::TextureHandle tex_handle, + std::size_t offset) const; + /// Returns a list of enabled textures for the specified shader stage. std::vector<Texture::FullTextureInfo> GetStageTextures(Regs::ShaderStage stage) const; |