OpenGL: Max UBO checks

This commit is contained in:
Ameer J 2023-11-26 22:26:19 -05:00
parent f21340f7aa
commit 72aff2873d
10 changed files with 72 additions and 24 deletions

View file

@ -86,6 +86,9 @@ struct RuntimeInfo {
/// Transform feedback state for each varying
std::array<TransformFeedbackVarying, 256> xfb_varyings{};
u32 xfb_count{0};
/// Maximum number of UBO/CBUF bindings allowed by the host device
u32 max_num_cbufs{32};
};
} // namespace Shader