[Mesa-dev] [Bug 58734] Add support for GL_EXT_bindable_uniform - Dungeon Defenders fails to launch crash

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 25 20:29:23 PST 2012


--- Comment #1 from Kenneth Graunke <kenneth at whitecape.org> ---
Created attachment 72119
  --> https://bugs.freedesktop.org/attachment.cgi?id=72119&action=edit
Hack to pretend EXT_bindable_uniform is supported

It looks like most of Dungeon Defenders' shaders try to enable
EXT_bindable_uniform via:

#extension GL_EXT_bindable_uniform : require

but all of the shaders also contain "/*ndabl*/uniform" instead of "bindable
uniform", which suggests that the game /used/ to use the extension, but doesn't
now.  It's just asking for functionality it doesn't need.

I commented on the upstream bug (linked from the URL field here); hopefully
icculus can fix that.  In the meantime, I've also attached a patch that makes
Mesa pretend to support the extension, which allows the game to run.  (It
doesn't actually implement anything.)

On i965/Ivybridge, this makes it draw the splash screen, but it then hits an
assertion failure.  I'll look into that.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121226/1509241c/attachment.html>

More information about the mesa-dev mailing list