PDA

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



YousryA
10-28-2013, 02:45 AM
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.

menzel
10-28-2013, 03:04 AM
Hello,


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