mesa: Allow meta module to call sampler functions
To allow meta module to use sample objects mesa GL functions need to be visible and linkable for meta module. Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
committed by
Eric Anholt
parent
cbdc1d5354
commit
5a320d5bcf
@@ -160,7 +160,7 @@ _mesa_delete_sampler_object(struct gl_context *ctx,
|
||||
}
|
||||
|
||||
|
||||
static void GLAPIENTRY
|
||||
void GLAPIENTRY
|
||||
_mesa_GenSamplers(GLsizei count, GLuint *samplers)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
@@ -192,7 +192,7 @@ _mesa_GenSamplers(GLsizei count, GLuint *samplers)
|
||||
}
|
||||
|
||||
|
||||
static void GLAPIENTRY
|
||||
void GLAPIENTRY
|
||||
_mesa_DeleteSamplers(GLsizei count, const GLuint *samplers)
|
||||
{
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
@@ -242,7 +242,7 @@ _mesa_IsSampler(GLuint sampler)
|
||||
}
|
||||
|
||||
|
||||
static void GLAPIENTRY
|
||||
void GLAPIENTRY
|
||||
_mesa_BindSampler(GLuint unit, GLuint sampler)
|
||||
{
|
||||
struct gl_sampler_object *sampObj;
|
||||
@@ -600,7 +600,7 @@ set_sampler_srgb_decode(struct gl_context *ctx,
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
||||
static void GLAPIENTRY
|
||||
void GLAPIENTRY
|
||||
_mesa_SamplerParameteri(GLuint sampler, GLenum pname, GLint param)
|
||||
{
|
||||
struct gl_sampler_object *sampObj;
|
||||
|
||||
@@ -77,5 +77,16 @@ _mesa_init_sampler_object_functions(struct dd_function_table *driver);
|
||||
extern void
|
||||
_mesa_init_sampler_object_dispatch(struct _glapi_table *disp);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_BindSampler(GLuint unit, GLuint sampler);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_GenSamplers(GLsizei count, GLuint *samplers);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_DeleteSamplers(GLsizei count, const GLuint *samplers);
|
||||
|
||||
extern void GLAPIENTRY
|
||||
_mesa_SamplerParameteri(GLuint sampler, GLenum pname, GLint param);
|
||||
|
||||
#endif /* SAMPLEROBJ_H */
|
||||
|
||||
Reference in New Issue
Block a user