It does sound like a bug. You have to specify the flat qualifier for integral out variables, e.g.
flat uint DrawID;, so the compiler should have warned you about that.
Woah, thanks for the information!
Yeah I guess, giving me no error about that was a bug..
I added the 'flat' qualifier to both shaders with 'uint', and worked as intended.