mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-18 06:07:52 +00:00
GPU: Load the sampler info (TSC) when retrieving active textures.
This commit is contained in:
parent
c8425b1af4
commit
3707231f5d
2 changed files with 68 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue