On Mon, 2016-04-04 at 11:55 -0400, Ilia Mirkin wrote: > Replaces open-coded logic with existing helper. > > Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]> > --- > src/compiler/glsl/lower_ubo_reference.cpp | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/src/compiler/glsl/lower_ubo_reference.cpp > b/src/compiler/glsl/lower_ubo_reference.cpp > index 3155ab6..1a0140f 100644 > --- a/src/compiler/glsl/lower_ubo_reference.cpp > +++ b/src/compiler/glsl/lower_ubo_reference.cpp > @@ -372,8 +372,7 @@ lower_ubo_reference_visitor::ubo_load(void > *mem_ctx, > static bool > shader_storage_buffer_object(const _mesa_glsl_parse_state *state) > { > - return state->ARB_shader_storage_buffer_object_enable || > - state->is_version(430, 310); > + return state->has_shader_storage_buffer_objects(); > } > > uint32_t _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
