gl_state: Pack sampler bindings into a single ARB_multi_bind

This commit is contained in:
ReinUsesLisp 2018-09-26 21:52:31 -03:00
parent c0445006af
commit b8f1506aa5
5 changed files with 25 additions and 8 deletions

View file

@ -41,6 +41,7 @@ public:
static constexpr std::size_t NumCBData = 16;
static constexpr std::size_t NumVertexArrays = 32;
static constexpr std::size_t NumVertexAttributes = 32;
static constexpr std::size_t NumTextureSamplers = 32;
static constexpr std::size_t MaxShaderProgram = 6;
static constexpr std::size_t MaxShaderStage = 5;
// Maximum number of const buffers per shader stage.