X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fmodule.h;h=1c62f340505a254e2fec0d40817c6335e1a49060;hb=0a096b9bc02a67ea4a27645907c6b9d1fbdaae85;hp=a480b6139426efaeeb7287566d8bbdc1f2891690;hpb=959efbf61663efd7879070ce0447e02c8a447ce0;p=libs%2Fgl.git diff --git a/source/core/module.h b/source/core/module.h index a480b613..1c62f340 100644 --- a/source/core/module.h +++ b/source/core/module.h @@ -58,6 +58,8 @@ public: private: virtual void compile(SL::Compiler &) = 0; + + SL::Features create_features() const; }; /** @@ -154,7 +156,7 @@ public: const Structure *struct_type = 0; unsigned array_size = 0; int location = -1; - int descriptor_set = -1; + int descriptor_set = 0; int binding = -1; BuiltinSemantic builtin = NOT_BUILTIN;