OSDN Git Service

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 586363d..48fc63f 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 dc73278..36c6e20 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;