[Mesa-dev] [PATCH 5/6] mesa: remove unused IsShaderStorage field

Timothy Arceri timothy.arceri at collabora.com
Sun Apr 3 11:16:32 UTC 2016


---
 src/compiler/glsl/link_uniform_blocks.cpp | 1 -
 src/mesa/main/mtypes.h                    | 5 -----
 2 files changed, 6 deletions(-)

diff --git a/src/compiler/glsl/link_uniform_blocks.cpp b/src/compiler/glsl/link_uniform_blocks.cpp
index 3ef1633..2efb4e3 100644
--- a/src/compiler/glsl/link_uniform_blocks.cpp
+++ b/src/compiler/glsl/link_uniform_blocks.cpp
@@ -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;
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 7495f05..05a8d29 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -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;
 
-- 
2.5.5



More information about the mesa-dev mailing list