summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-10-31 22:08:24 +1100
committerTimothy Arceri <[email protected]>2016-12-30 10:57:16 +1100
commit29d70f5de966c18d563475bc5f60f252e9a900a3 (patch)
tree283d560bac4d13d8066aa3b4d0d1989e8108539b /src/compiler/glsl
parent8a69ae5345045af4642145ad0bcfd1314d4d949e (diff)
mesa: move _Used to gl_program
We no longer need to initialise it because gl_program is never reused. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/compiler/glsl')
-rw-r--r--src/compiler/glsl/linker.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/glsl/linker.cpp b/src/compiler/glsl/linker.cpp
index f8256785bca..e5cc6de2d12 100644
--- a/src/compiler/glsl/linker.cpp
+++ b/src/compiler/glsl/linker.cpp
@@ -4748,7 +4748,6 @@ link_shaders(struct gl_context *ctx, struct gl_shader_program *prog)
{
prog->data->LinkStatus = true; /* All error paths will set this to false */
prog->data->Validated = false;
- prog->_Used = false;
/* Section 7.3 (Program Objects) of the OpenGL 4.5 Core Profile spec says:
*