mesa: remove unused IsShaderStorage field
authorTimothy Arceri <timothy.arceri@collabora.com>
Sun, 3 Apr 2016 05:14:14 +0000 (15:14 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 5 Apr 2016 23:56:28 +0000 (09:56 +1000)
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/compiler/glsl/link_uniform_blocks.cpp
src/mesa/main/mtypes.h

index 586363d4f123d4f94da346a6155f6e16e7bf10db..48fc63fa926ca8dc6fddc9dcf55cc6b4e12de31e 100644 (file)
@@ -261,7 +261,6 @@ process_block_array(struct uniform_block_array_elements *ub_array, char **name,
       }
       blocks[i].NumUniforms =
          (unsigned)(ptrdiff_t)(&variables[parcel->index] - blocks[i].Uniforms);
-      blocks[i].IsShaderStorage = b->is_shader_storage;
 
       *block_index = *block_index + 1;
       *binding_offset = *binding_offset + 1;
index dc73278424b11efdc1a2ad580f1606f0f787f92e..36c6e201aae35b2c55c4078e114ee9f72573c87c 100644 (file)
@@ -2500,11 +2500,6 @@ struct gl_uniform_block
     */
    GLuint UniformBufferSize;
 
-   /**
-    * Is this actually an interface block for a shader storage buffer?
-    */
-   bool IsShaderStorage;
-
    /** Stages that reference this block */
    uint8_t stageref;