mesa: remove unused IsShaderStorage field
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
This commit is contained in:
@@ -261,7 +261,6 @@ process_block_array(struct uniform_block_array_elements *ub_array, char **name,
|
|||||||
}
|
}
|
||||||
blocks[i].NumUniforms =
|
blocks[i].NumUniforms =
|
||||||
(unsigned)(ptrdiff_t)(&variables[parcel->index] - blocks[i].Uniforms);
|
(unsigned)(ptrdiff_t)(&variables[parcel->index] - blocks[i].Uniforms);
|
||||||
blocks[i].IsShaderStorage = b->is_shader_storage;
|
|
||||||
|
|
||||||
*block_index = *block_index + 1;
|
*block_index = *block_index + 1;
|
||||||
*binding_offset = *binding_offset + 1;
|
*binding_offset = *binding_offset + 1;
|
||||||
|
@@ -2500,11 +2500,6 @@ struct gl_uniform_block
|
|||||||
*/
|
*/
|
||||||
GLuint UniformBufferSize;
|
GLuint UniformBufferSize;
|
||||||
|
|
||||||
/**
|
|
||||||
* Is this actually an interface block for a shader storage buffer?
|
|
||||||
*/
|
|
||||||
bool IsShaderStorage;
|
|
||||||
|
|
||||||
/** Stages that reference this block */
|
/** Stages that reference this block */
|
||||||
uint8_t stageref;
|
uint8_t stageref;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user