X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fmodule.h;h=ad11f00ba4e3470966b12f883490aa1baf1a9665;hb=0e61ac01ae99391c6b1301a9bf8de62fe651dac3;hp=16e07053ea4abd427fac950b0b09da2bb89c6ac9;hpb=26602194c7831bb81b42138c4ee1564be9878342;p=libs%2Fgl.git diff --git a/source/core/module.h b/source/core/module.h index 16e07053..ad11f00b 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; + unsigned descriptor_set = 0; int binding = -1; BuiltinSemantic builtin = NOT_BUILTIN;