Is gl_FragData supported on any SGXs



I saw Gordon's reply to this post: https://www.imgtec.com/forum/forum_posts.asp?TID=449&KW=gl%5FFragData&PID=2466#2466, (that the stencil buffer cannot be used for arbitrary values) but it's not clear if the stencil buffer can be used straight-up from a fragment shader via gl_FragData (to read/write reference values that you'd otherwise send through glStencilFunc). Anyone know?
 
 

Hi doctor_fransk,

there is no facility in OGLES2 to read or write stencil values in the fragment shader.

Regards,
Marco