]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/reflectdata.h
Add support for storage images in Renderer and PipelineState
[libs/gl.git] / source / core / reflectdata.h
index ba86dd333ea442cdad8d593cf6cfe2765b7741b1..1e82a61bfadef9ef4b75910f40c44d4ee24afbcc 100644 (file)
@@ -17,7 +17,9 @@ struct ReflectData
        enum
        {
                DEFAULT_BLOCK = -1,
-               PUSH_CONSTANT = -2
+               PUSH_CONSTANT = -2,
+               UNIFORM_BLOCK_BINDING = 0,
+               TEXTURE_BINDING = 0x1000000
        };
 
        typedef unsigned LayoutHash;
@@ -66,6 +68,7 @@ struct ReflectData
        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();