X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fmodule.h;h=5067895de662e2a29676f07f988df3d9e7d1e371;hb=e70662d7812464159f2e47f4bebb69d88f89ae93;hp=16e07053ea4abd427fac950b0b09da2bb89c6ac9;hpb=26602194c7831bb81b42138c4ee1564be9878342;p=libs%2Fgl.git diff --git a/source/core/module.h b/source/core/module.h index 16e07053..5067895d 100644 --- a/source/core/module.h +++ b/source/core/module.h @@ -106,7 +106,8 @@ public: UNIFORM_CONSTANT = 0, INPUT = 1, UNIFORM = 2, - OUTPUT = 3 + OUTPUT = 3, + PUSH_CONSTANT = 9 }; enum BuiltinSemantic @@ -156,7 +157,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;