mesa: Stub implementation of glBindFragDataLocation
This just validates the input parameters so far. Fixes piglit's bindfragdata-invalid-parameters test. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
@@ -325,14 +325,6 @@ attach_shader(struct gl_context *ctx, GLuint program, GLuint shader)
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
bind_frag_data_location(struct gl_context *ctx, GLuint program,
|
||||
GLuint colorNumber, const GLchar *name)
|
||||
{
|
||||
_mesa_problem(ctx, "bind_frag_data_location() not implemented yet");
|
||||
}
|
||||
|
||||
|
||||
static GLuint
|
||||
create_shader(struct gl_context *ctx, GLenum type)
|
||||
{
|
||||
@@ -1060,16 +1052,6 @@ _mesa_AttachShader(GLuint program, GLuint shader)
|
||||
}
|
||||
|
||||
|
||||
/* GL_EXT_gpu_shader4, GL3 */
|
||||
void GLAPIENTRY
|
||||
_mesa_BindFragDataLocation(GLuint program, GLuint colorNumber,
|
||||
const GLchar *name)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
bind_frag_data_location(ctx, program, colorNumber, name);
|
||||
}
|
||||
|
||||
|
||||
void GLAPIENTRY
|
||||
_mesa_CompileShaderARB(GLhandleARB shaderObj)
|
||||
{
|
||||
|
Reference in New Issue
Block a user