'invocations' was using 0 as the "shader never set" flag and as the default. Formalize this and explicit set to 1 and link time.
To do this, more generally use a named -1 as a not set value.