summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-01-30 16:43:53 +0100
committerMarek Olšák <[email protected]>2016-02-09 21:19:51 +0100
commita3e9a5f9f8b135b66b48e95a3abb938624d885ca (patch)
treea90516b7e153fa2e8dd611a13f0173b5a859f04c
parent7046c588eb76a188b9b6b35d44bc9f25d6d2acd4 (diff)
st/mesa: remove st_is_program_native
The default scenario sets GL_TRUE too. Reviewed-by: Edward O'Callaghan <[email protected]>
-rw-r--r--src/mesa/state_tracker/st_cb_program.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/mesa/state_tracker/st_cb_program.c b/src/mesa/state_tracker/st_cb_program.c
index 6f9c53efc40..ca493d84715 100644
--- a/src/mesa/state_tracker/st_cb_program.c
+++ b/src/mesa/state_tracker/st_cb_program.c
@@ -205,18 +205,6 @@ st_delete_program(struct gl_context *ctx, struct gl_program *prog)
/**
- * Called via ctx->Driver.IsProgramNative()
- */
-static GLboolean
-st_is_program_native(struct gl_context *ctx,
- GLenum target,
- struct gl_program *prog)
-{
- return GL_TRUE;
-}
-
-
-/**
* Called via ctx->Driver.ProgramStringNotify()
* Called when the program's text/code is changed. We have to free
* all shader variants and corresponding gallium shaders when this happens.
@@ -303,7 +291,6 @@ st_init_program_functions(struct dd_function_table *functions)
functions->UseProgram = st_use_program;
functions->NewProgram = st_new_program;
functions->DeleteProgram = st_delete_program;
- functions->IsProgramNative = st_is_program_native;
functions->ProgramStringNotify = st_program_string_notify;
functions->LinkShader = st_link_shader;