mesa: remove unused LocalSizeVariable
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 18 Oct 2016 23:51:48 +0000 (10:51 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 19 Oct 2016 23:30:32 +0000 (10:30 +1100)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/mesa/main/mtypes.h
src/mesa/main/shaderapi.c

index 23a864bf3042adc5951f5d3281e374116dfd7aa7..88397b93e5789a6da6ec8a06c80478dcdddcbeb6 100644 (file)
@@ -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;
 };
 
 
index c40bb2d69a76a37330dc2af49c966bc838502fea..1af1c3f57948caf7c520de0fd6dd3da6de9d7518 100644 (file)
@@ -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: