Neil Roberts d3e6f2bc83 cogl-attribute: Fix binding an attribute to cogl_tex_coord_in
If an application tries to bind an attribute to cogl_tex_coord_in then
on GLES2 it would try to directly use that as the name of the GL
attribute. However in the generated shader that is actually #defined
to cogl_tex_coord0_in so we need to remap the name. This adds a
parameter to validate_cogl_attribute_name so that it can optionally
return a real_attribute_name. If it doesn't set this then the calling
function will default to the Cogl attribute name.

This fixes test-texture-3d with the GLES2 driver.

Reviewed-by: Robert Bragg <robert@linux.intel.com>
2012-02-22 17:17:50 +00:00
..
2012-02-14 20:42:10 +00:00
2010-06-01 12:08:18 +01:00
2012-02-14 20:42:10 +00:00
2012-02-14 20:42:10 +00:00
2011-11-01 12:03:02 +00:00
2012-02-15 14:57:59 +00:00
2012-02-14 20:42:10 +00:00
2012-02-20 23:12:45 +00:00
2012-02-22 21:32:42 +08:00
2011-08-12 15:28:42 +01:00