*/
struct ReflectData
{
+ enum
+ {
+ DEFAULT_BLOCK = -1,
+ PUSH_CONSTANT = -2
+ };
+
typedef unsigned LayoutHash;
struct UniformBlockInfo;
std::string name;
unsigned data_size = 0;
int descriptor_set = 0;
- int bind_point = -1;
+ int bind_point = DEFAULT_BLOCK;
std::vector<const UniformInfo *> uniforms;
LayoutHash layout_hash = 0;