BUG: OS x 10.9 / context 4.1 core,forward ARB_shader_subroutine SIGSEGV

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.


you can report bugs in Apples OpenGL implementation here: https://bugreport.apple.com .

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.