summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-06-06 19:58:16 +0200
committerSubv <subv2112@gmail.com>2018-06-06 19:58:16 +0200
commitdbfc39d21492dd1346b0e0d7ab5a2dbd989432bd (patch)
treefa95ce57c5f16a01b766efe2b49ed90888800e3d /src/video_core/engines/maxwell_3d.h
parentnvdrv/devices/nvidia_ctrl_gpu : add IoctlCommands with their params (#524) (diff)
downloadyuzu-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 'src/video_core/engines/maxwell_3d.h')
-rw-r--r--src/video_core/engines/maxwell_3d.h3
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;