diff options
author | Subv <subv2112@gmail.com> | 2018-03-26 22:46:49 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-03-26 22:46:49 +0200 |
commit | 4697025b73ff07e79cea9173cf5937267ec40328 (patch) | |
tree | 61071de7e8bdb04c4d895b63531b9e78641aa21d /src/video_core/engines/maxwell_3d.h | |
parent | GPU: Added the TSC structure. It contains information about the sampler. (diff) | |
download | yuzu-4697025b73ff07e79cea9173cf5937267ec40328.tar yuzu-4697025b73ff07e79cea9173cf5937267ec40328.tar.gz yuzu-4697025b73ff07e79cea9173cf5937267ec40328.tar.bz2 yuzu-4697025b73ff07e79cea9173cf5937267ec40328.tar.lz yuzu-4697025b73ff07e79cea9173cf5937267ec40328.tar.xz yuzu-4697025b73ff07e79cea9173cf5937267ec40328.tar.zst yuzu-4697025b73ff07e79cea9173cf5937267ec40328.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index 441cc0c19..8e2d888e7 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -432,7 +432,7 @@ public: void SubmitMacroCode(u32 entry, std::vector<u32> code); /// Returns a list of enabled textures for the specified shader stage. - std::vector<Texture::TICEntry> GetStageTextures(Regs::ShaderStage stage); + std::vector<Texture::FullTextureInfo> GetStageTextures(Regs::ShaderStage stage) const; private: MemoryManager& memory_manager; @@ -444,6 +444,12 @@ private: /// Parameters that have been submitted to the macro call so far. std::vector<u32> macro_params; + /// Retrieves information about a specific TIC entry from the TIC buffer. + Texture::TICEntry GetTICEntry(u32 tic_index) const; + + /// Retrieves information about a specific TSC entry from the TSC buffer. + Texture::TSCEntry GetTSCEntry(u32 tsc_index) const; + /** * Call a macro on this engine. * @param method Method to call |