https://bugs.freedesktop.org/show_bug.cgi?id=78700
Priority: medium
Bug ID: 78700
Assignee: [email protected]
Summary: Debug warnings should be generated when
BindAttribLocation isn't followed by a re-link
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: All
Status: NEW
Version: git
Component: Mesa core
Product: Mesa
We have seen applications in the past that do something like:
glCompileShader(...);
glAttachShader(...);
glLinkProgram(...);
glBindAttribLocation(...);
draw(...);
However, the glBindAttribLocation doesn't take affect until glLinkProgram is
called again.
With separate shader objects, you can't generally re-link the program because
glCreateShaderProgramv implicitly deletes the shader after linking.
glCreateShaderProgramv(...);
glBindAttribLocation(...); // can probably never do anything
Both of these cases should get warnings via ARB_debug callbacks.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev