System mac-mini mid’11
Querying a uniform from an unavailable shader stage causes a SIGSEGV
Example: In this case a TF shader without fragment generation is reflected (modern inspection isn’t available).
_locFsNormalCalculation = glGetSubroutineUniformLocation(_programId, GL_FRAGMENT_SHADER, "fsNormalCalculation");
The expected result is -1 or an invalid state.