[Mesa-dev] [Bug 29185] New: [glsl2] GL_ARB_draw_buffers unsupported in vertex shader
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jul 20 18:27:06 PDT 2010
https://bugs.freedesktop.org/show_bug.cgi?id=29185
Summary: [glsl2] GL_ARB_draw_buffers unsupported in vertex
shader
Product: Mesa
Version: git
Platform: All
OS/Version: Linux (All)
Status: NEW
Severity: minor
Priority: medium
Component: Mesa core
AssignedTo: mesa-dev at lists.freedesktop.org
ReportedBy: gordon.jin at intel.com
piglit/tests/glslparsertest/glsl2/draw_buffers-05.vert was changed
(http://cgit.freedesktop.org/piglit/commit/?id=48fc4beee7ae3818eef746396749be5e00ae670a)
to expect GL_ARB_draw_buffers supported in vertex shader (for version 1.10).
But mesa glsl2 branch still considers not to support it in vertex shader:
src/glsl/glsl_parser_extras.cpp:
} else if (strcmp(name, "GL_ARB_draw_buffers") == 0) {
/* This extension is only supported in fragment shaders.
*/
if (state->target != fragment_shader) {
unsupported = true;
} else {
state->ARB_draw_buffers_enable = (ext_mode != extension_disable);
state->ARB_draw_buffers_warn = (ext_mode == extension_warn);
}
so the piglit case fails to compile with error:
extension `GL_ARB_draw_buffers' unsupported in vertex shader
It passes with mesa master branch.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mesa-dev
mailing list