[gstreamer-bugs] [Bug 615696] New: Shaders using GLSL 1.20 without #version.
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Apr 13 16:31:13 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=615696
GStreamer | gst-plugins-gl | git
Summary: Shaders using GLSL 1.20 without #version.
Classification: Desktop
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-gl
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: eric at anholt.net
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
After integrating the gst-plugins-gl shaders into piglit for regular parse
testing on Mesa, I found that 3 of them don't compile because they use GLSL
1.20 features (array constructors) without declaring #version 120. The 1.30
spec is quite clear that without #version, then 1.10 is the version parsed.
Current Mesa and the next Mesa GLSL parser both reject this code. It's easy to
avoid the 1.20 requirement by expanding the array setup.
I implemented this fix, plus several improvements to gstglfilterblur's
implementation, in git://people.freedesktop.org/~anholt/gst-plugins-gl
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list