GPU: Added a function to determine whether a shader stage is enabled or not.

This commit is contained in:
Subv
2018-04-14 11:42:07 -05:00
parent 2b9a6b3281
commit ae58e46036
3 changed files with 27 additions and 3 deletions

View File

@ -518,6 +518,9 @@ public:
/// Returns a list of enabled textures for the specified shader stage.
std::vector<Texture::FullTextureInfo> GetStageTextures(Regs::ShaderStage stage) const;
/// Returns whether the specified shader stage is enabled or not.
bool IsShaderStageEnabled(Regs::ShaderStage stage) const;
private:
std::unordered_map<u32, std::vector<u32>> uploaded_macros;