On 12/02/2014 01:31 PM, Tapani Pälli wrote: >> >> AFAICS this restriction is lifted in ES 3.0+ (e.g. see section 3.9.2 >> in the OpenGL ES 3.0 spec). > > Yep, it seems this check should be against earlier versions and only > when not having extensions that allow MRT enabled (NV_draw_buffers). >
Hi, Yes, we will update the patch to consider the extensions too. Good catch. > You can still use gl_FragData[] when using OpenGL ES 3 and GLSL ES 1.00, > however when using GLSL ES 3.00 gl_FragData[] gets deprecated and you > should use output layout qualifier to bind a output variable and target > draw buffer together. > I suppose this is already working like that. This patch does not modify that behavior. Thanks for the feedback, Eduardo _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev