mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-23 10:47:52 -05:00
GPU: Added a function to determine whether a shader stage is enabled or not.
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user