glsl: use has_shader_storage_buffer_objects helper
authorIlia Mirkin <imirkin@alum.mit.edu>
Mon, 4 Apr 2016 15:54:22 +0000 (11:54 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Wed, 6 Apr 2016 00:27:32 +0000 (20:27 -0400)
commit2e123e1a25182c2e43bf8de1b7911fa6ffc00ae1
tree7eca0b1aedf84daddce801c22ca54195d7b380db
parent5d39f0380639c80731ed0df2bcfd04f0095d8481
glsl: use has_shader_storage_buffer_objects helper

Replaces open-coded logic with existing helper.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/compiler/glsl/lower_ubo_reference.cpp