X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Freflectdata.h;h=1e82a61bfadef9ef4b75910f40c44d4ee24afbcc;hp=a89e7fcf2972c973c89a803501ebbd6739f7f11c;hb=HEAD;hpb=0e61ac01ae99391c6b1301a9bf8de62fe651dac3 diff --git a/source/core/reflectdata.h b/source/core/reflectdata.h index a89e7fcf..981f45f0 100644 --- a/source/core/reflectdata.h +++ b/source/core/reflectdata.h @@ -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,8 +68,12 @@ struct ReflectData std::vector attributes; unsigned n_clip_distances = 0; unsigned n_descriptor_sets = 0; + unsigned push_constants_size = 0; + std::vector used_bindings; + LinAl::Vector compute_wg_size; void update_layout_hash(); + void update_used_bindings(); }; } // namespace GL