Implement Bindless Handling on SetupTexture

This commit is contained in:
Fernando Sahmkow
2019-03-26 18:18:54 -04:00
committed by FernandoS27
parent fe392fff24
commit 7af82ca022
4 changed files with 34 additions and 18 deletions

View File

@ -1131,6 +1131,10 @@ public:
/// Write the value to the register identified by method.
void CallMethod(const GPU::MethodCall& method_call);
/// Given a Texture Handle, returns the TSC and TIC entries.
Texture::FullTextureInfo GetTextureInfo(const Texture::TextureHandle tex_handle,
std::size_t offset) const;
/// Returns a list of enabled textures for the specified shader stage.
std::vector<Texture::FullTextureInfo> GetStageTextures(Regs::ShaderStage stage) const;