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 23a864b..88397b9 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 c40bb2d..1af1c3f 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: