summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-10-19 10:51:48 +1100
committerTimothy Arceri <[email protected]>2016-10-20 10:30:32 +1100
commit740a8fa1e214bafef1641336c90f09cb4ed0c415 (patch)
tree04de556383517b0539f44c993c9f1fd73f7b8ef0 /src/mesa/main
parent2b6e04e91f6b157dd00872f9a0965c0655e19ad9 (diff)
mesa: remove unused LocalSizeVariable
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/mtypes.h5
-rw-r--r--src/mesa/main/shaderapi.c1
2 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 23a864bf304..88397b93e57 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2078,11 +2078,6 @@ struct gl_compute_program
* Size of shared variables accessed by the compute shader.
*/
unsigned SharedSize;
-
- /**
- * Whether a variable work group size has been specified.
- */
- bool LocalSizeVariable;
};
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
index c40bb2d69a7..1af1c3f5794 100644
--- a/src/mesa/main/shaderapi.c
+++ b/src/mesa/main/shaderapi.c
@@ -2212,7 +2212,6 @@ _mesa_copy_linked_program_data(gl_shader_stage type,
for (i = 0; i < 3; i++)
dst_cp->LocalSize[i] = src->Comp.LocalSize[i];
dst_cp->SharedSize = src->Comp.SharedSize;
- dst_cp->LocalSizeVariable = src->Comp.LocalSizeVariable;
break;
}
default: