diff options
author | Subv <subv2112@gmail.com> | 2018-04-14 18:42:07 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-04-15 05:54:23 +0200 |
commit | ae58e46036944ebadfed611b657911720383d60f (patch) | |
tree | 951caf616779423ce11f1b260701492ceb07f187 /src/video_core/engines/maxwell_3d.h | |
parent | Merge pull request #332 from bunnei/fix-total-mem-usage (diff) | |
download | yuzu-ae58e46036944ebadfed611b657911720383d60f.tar yuzu-ae58e46036944ebadfed611b657911720383d60f.tar.gz yuzu-ae58e46036944ebadfed611b657911720383d60f.tar.bz2 yuzu-ae58e46036944ebadfed611b657911720383d60f.tar.lz yuzu-ae58e46036944ebadfed611b657911720383d60f.tar.xz yuzu-ae58e46036944ebadfed611b657911720383d60f.tar.zst yuzu-ae58e46036944ebadfed611b657911720383d60f.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index 9c6236c39..1fae41cb2 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -518,6 +518,9 @@ public: /// Returns a list of enabled textures for the specified shader stage. std::vector<Texture::FullTextureInfo> GetStageTextures(Regs::ShaderStage stage) const; + /// Returns whether the specified shader stage is enabled or not. + bool IsShaderStageEnabled(Regs::ShaderStage stage) const; + private: std::unordered_map<u32, std::vector<u32>> uploaded_macros; |