From 59012c31337f104aedfe69ca6d3cf784581df544 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 4 Nov 2011 16:32:02 -0700 Subject: mesa: Implement glGetFragDataLocation Fixes piglit's getfragdatalocation test. Signed-off-by: Ian Romanick Reviewed-by: Paul Berry Reviewed-by: Eric Anholt --- src/mesa/main/shaderapi.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/mesa/main/shaderapi.c') diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index 1d8af3ea06b..c4d01abc705 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -496,16 +496,6 @@ get_attached_shaders(struct gl_context *ctx, GLuint program, GLsizei maxCount, } -static GLint -get_frag_data_location(struct gl_context *ctx, GLuint program, - const GLchar *name) -{ - _mesa_problem(ctx, "get_frag_data_location() not implemented yet"); - return -1; -} - - - /** * glGetHandleARB() - return ID/name of currently bound shader program. */ @@ -1178,16 +1168,6 @@ _mesa_GetAttachedShaders(GLuint program, GLsizei maxCount, } -/* GL_EXT_gpu_shader4, GL3 */ -GLint GLAPIENTRY -_mesa_GetFragDataLocation(GLuint program, const GLchar *name) -{ - GET_CURRENT_CONTEXT(ctx); - return get_frag_data_location(ctx, program, name); -} - - - void GLAPIENTRY _mesa_GetInfoLogARB(GLhandleARB object, GLsizei maxLength, GLsizei * length, GLcharARB * infoLog) -- cgit v1.2.3