X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Freflectdata.h;h=2c0d7fe3e1c0765586726a2dfb4acb7e28616cdc;hb=0a096b9bc02a67ea4a27645907c6b9d1fbdaae85;hp=33ef1799ea469805832af7d9752a8888cf555036;hpb=ba55832910f04b90695da360b5889fa85e83c1e1;p=libs%2Fgl.git diff --git a/source/core/reflectdata.h b/source/core/reflectdata.h index 33ef1799..2c0d7fe3 100644 --- a/source/core/reflectdata.h +++ b/source/core/reflectdata.h @@ -31,6 +31,7 @@ struct ReflectData unsigned matrix_stride = 0; DataType type = VOID; Tag tag; + int descriptor_set = 0; int binding = -1; }; @@ -38,6 +39,7 @@ struct ReflectData { std::string name; unsigned data_size = 0; + int descriptor_set = 0; int bind_point = -1; std::vector uniforms; LayoutHash layout_hash = 0; @@ -49,7 +51,7 @@ struct ReflectData struct AttributeInfo { std::string name; - unsigned location = -1; + int location = -1; unsigned array_size = 0; DataType type = VOID; };