diff options
author | Timothy Arceri <[email protected]> | 2016-04-03 15:14:14 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-04-06 09:56:28 +1000 |
commit | 7ef57aa685012102b6f4d6235846f452efce4198 (patch) | |
tree | 1dee66d6245bdf98f1154b91e2d38e859b027ef9 /src | |
parent | f1293b2f9bc3a45c71941931edb5148d7b5f5a27 (diff) |
mesa: remove unused IsShaderStorage field
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/glsl/link_uniform_blocks.cpp | 1 | ||||
-rw-r--r-- | src/mesa/main/mtypes.h | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/compiler/glsl/link_uniform_blocks.cpp b/src/compiler/glsl/link_uniform_blocks.cpp index 586363d4f12..48fc63fa926 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 dc73278424b..36c6e201aae 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; |