Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualJaroy

Posted 09 November 2012 - 01:43 AM

Hi all,

Iv'e got a little issue, on osx and ogl 3.2 ubo data doesn't seem to be sending correctly to the vertex shader only. Some data is sending which makes me think the buffer is offset or something. The strange thing is though ubos work fine on the fragment shader, and on windows this problem does't appear at all. If I swap the ubo out for individual uniforms then that works, but It's not really an option...oh the ubos are defined as std140, and the data I'm passing from the app is in multiples of vec4s so there shouldn't be an issue there. Maybe a mac driver issue? Anyways, any help appreciated.

#3Jaroy

Posted 09 November 2012 - 01:41 AM

Hi all,

Iv'e got a little issue, on osx and ogl 3.2 ubo data doesn't seem to be sending correctly to the vertex shader only. Some data is sending which makes me think the buffer is offset or something. The strange thing is though ubos work fine on the fragment shader, and on windows this problem does't appear at all. If I swap the ubo out for individual uniforms then that works, but It's not really an option...oh the ubos are defined as std140 as well. Maybe a mac driver issue? Anyways, any help appreciated.

#2Jaroy

Posted 09 November 2012 - 01:41 AM

Hi all,

Iv'e got a little issue, on osx and ogl 3.2 ubo data doesn't seem to be sending correctly to the vertex shader only. Some data is sending which makes me think the buffer is offset or something. The strange thing is though ubos work fine on the fragment shader, and on windows this problem does't appear at all. If I swap the ubo out for individual uniforms then that works, but It's not really an option...oh the ubos are defined as std140 as well. Maybe a mac driver issue? Anyways, any help appreciated.

#1Jaroy

Posted 09 November 2012 - 01:37 AM

Hi all,

Iv'e got a little issue, on osx and ogl 3.2 ubo data doesn't seem to be sending correctly to the vertex shader only. Some data is sending which makes me think the buffer is offset or something. The strange thing is though ubos work fine on the fragment shader, and on windows this problem does't appear at all. If I swap the ubo out for individual uniforms then that works, but It's not really an option. Maybe a mac driver issue? Anyways, any help appreciated.

PARTNERS