enum
{
DEFAULT_BLOCK = -1,
- PUSH_CONSTANT = -2
+ PUSH_CONSTANT = -2,
+ UNIFORM_BLOCK_BINDING = 0,
+ TEXTURE_BINDING = 0x1000000
};
typedef unsigned LayoutHash;
std::vector<AttributeInfo> attributes;
unsigned n_clip_distances = 0;
unsigned n_descriptor_sets = 0;
+ unsigned push_constants_size = 0;
std::vector<int> used_bindings;
void update_layout_hash();
+ void update_used_bindings();
};
} // namespace GL