summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/standalone_scaffolding.cpp
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-11-04 13:51:59 +1100
committerTimothy Arceri <[email protected]>2016-12-30 10:57:17 +1100
commit194537ebe44cfcd6d72a98d0c2118f10a9e58deb (patch)
tree654fcbd5974d9fc5f063096c907c28864767af1c /src/compiler/glsl/standalone_scaffolding.cpp
parent718a0cf49f88ff456582366db45c31f881561ebf (diff)
mesa/glsl/i965: remove Driver.NewShader()
After removing brw_shader in the previous commit this is no longer needed. V2: remove use in src/compiler/glsl/test_optpass.cpp Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/compiler/glsl/standalone_scaffolding.cpp')
-rw-r--r--src/compiler/glsl/standalone_scaffolding.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/compiler/glsl/standalone_scaffolding.cpp b/src/compiler/glsl/standalone_scaffolding.cpp
index 11134269c90..9160ba03e90 100644
--- a/src/compiler/glsl/standalone_scaffolding.cpp
+++ b/src/compiler/glsl/standalone_scaffolding.cpp
@@ -90,19 +90,6 @@ _mesa_new_shader(GLuint name, gl_shader_stage stage)
return shader;
}
-struct gl_linked_shader *
-_mesa_new_linked_shader(gl_shader_stage stage)
-{
- struct gl_linked_shader *shader;
-
- assert(stage == MESA_SHADER_FRAGMENT || stage == MESA_SHADER_VERTEX);
- shader = rzalloc(NULL, struct gl_linked_shader);
- if (shader) {
- shader->Stage = stage;
- }
- return shader;
-}
-
GLbitfield
_mesa_program_state_flags(const gl_state_index state[STATE_LENGTH])
{