[Bug 765517] New: glcolorconvert: fix Fragment shader compile error in GLES3.0 or higher
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Apr 25 07:28:35 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=765517
Bug ID: 765517
Summary: glcolorconvert: fix Fragment shader compile error in
GLES3.0 or higher
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: jared.hu at nxp.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
1. glcolorconvert fragment shader compile error when using OpenGL ES 3.0 or
higher.
When compile shader (for example RGB->PlanerYUV) on OpenGL ES 3.0 or higher,I
meet an error like bellow:
(39:0) : error : function: 'texture2D' does not have a corresponding
declaration
(55:0) : error : reserved keyword : 'sample'
(55:0) : error : syntax error at 'sample'
In OpenGL ES Shading Language version 3.0 or higher, function "texture2D" is
changed to "texture" and 'sample' has become a reserved keyword for future use
which will also result in compile error.
2. By the way, when build glcolorconvert for OpenGL ES, I meet another build
error.
Form function “gst_gl_shader_bind_frag_data_location”, gl->BindFragDataLocation
is not an OpenGL ES API but Desktop GL API. We need add compile macro here.
--
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