[Wayland-bugs] [Bug 703500] 49 Conform Tests Regressed (FAIL)

cogl (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 16 16:05:08 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=703500
  cogl | Wayland | unspecified

--- Comment #11 from Robert Bragg <robert at linux.intel.com> 2013-08-16 23:05:01 UTC ---
Created an attachment (id=251958)
 View: https://bugzilla.gnome.org/attachment.cgi?id=251958
 Review: https://bugzilla.gnome.org/review?bug=703500&attachment=251958

gl: bind position attribute to location 0

It turns out there was a bug in mesa and cogl causing these failures.

Mesa had some problems dealing with the special behaviour of attribute 0 in
some cases which have now been fixed in master (41eef83cc030e7) and the 9.2
branch (24d1949ddcd)

The problem in cogl was that we were always relying on the gles 2 semantics
that there is nothing special about generic attribute 0. With big GL though
you're required to associate attribute 0 with your position attribute.

The attached patch makes sure we always explicitly call glBindAttribLocation to
bind cogl_position_in to location 0 which seems to fix the remaining failures
for me.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Wayland-bugs mailing list