diff options
author | Subv <subv2112@gmail.com> | 2018-06-06 19:58:16 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-06-06 19:58:16 +0200 |
commit | dbfc39d21492dd1346b0e0d7ab5a2dbd989432bd (patch) | |
tree | fa95ce57c5f16a01b766efe2b49ed90888800e3d /src/video_core/engines/maxwell_3d.h | |
parent | nvdrv/devices/nvidia_ctrl_gpu : add IoctlCommands with their params (#524) (diff) | |
download | yuzu-dbfc39d21492dd1346b0e0d7ab5a2dbd989432bd.tar yuzu-dbfc39d21492dd1346b0e0d7ab5a2dbd989432bd.tar.gz yuzu-dbfc39d21492dd1346b0e0d7ab5a2dbd989432bd.tar.bz2 yuzu-dbfc39d21492dd1346b0e0d7ab5a2dbd989432bd.tar.lz yuzu-dbfc39d21492dd1346b0e0d7ab5a2dbd989432bd.tar.xz yuzu-dbfc39d21492dd1346b0e0d7ab5a2dbd989432bd.tar.zst yuzu-dbfc39d21492dd1346b0e0d7ab5a2dbd989432bd.zip |
Diffstat (limited to '')
-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 245410c95..56b837372 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -664,6 +664,9 @@ public: /// Returns a list of enabled textures for the specified shader stage. std::vector<Texture::FullTextureInfo> GetStageTextures(Regs::ShaderStage stage) const; + /// Returns the texture information for a specific texture in a specific shader stage. + Texture::FullTextureInfo GetStageTexture(Regs::ShaderStage stage, size_t offset) const; + /// Returns whether the specified shader stage is enabled or not. bool IsShaderStageEnabled(Regs::ShaderStage stage) const; |