diff options
author | Ian Romanick <[email protected]> | 2014-10-20 15:26:42 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-10-24 19:54:39 -0700 |
commit | a2dc16ed81e053eea9d74a6c0105ef1e4e3e0428 (patch) | |
tree | 0e2a7fa59f94faffb430b58a46be25356dcb5510 /src/mesa/drivers/dri/i965/brw_shader.cpp | |
parent | 9cdf2f78fc123b9bfd2ff23f6d5cd4e834596c2b (diff) |
i965: Remove brw_new_shader_program
It was identical to the default implementation in
_mesa_new_shader_program.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_shader.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_shader.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/src/mesa/drivers/dri/i965/brw_shader.cpp index 935514c5238..21dcf2da0e2 100644 --- a/src/mesa/drivers/dri/i965/brw_shader.cpp +++ b/src/mesa/drivers/dri/i965/brw_shader.cpp @@ -49,17 +49,6 @@ brw_new_shader(struct gl_context *ctx, GLuint name, GLuint type) return &shader->base; } -struct gl_shader_program * -brw_new_shader_program(struct gl_context *ctx, GLuint name) -{ - struct gl_shader_program *prog = rzalloc(NULL, struct gl_shader_program); - if (prog) { - prog->Name = name; - _mesa_init_shader_program(ctx, prog); - } - return prog; -} - /** * Performs a compile of the shader stages even when we don't know * what non-orthogonal state will be set, in the hope that it reflects |