glsl: simplify SSBO resources check
authorTimothy Arceri <timothy.arceri@collabora.com>
Sat, 2 Apr 2016 00:48:27 +0000 (11:48 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Sat, 2 Apr 2016 06:10:56 +0000 (17:10 +1100)
commit0082b33a78cd007054f7774c57a4f7ea9fc1d209
treeecc705a737b7c36b468514b0c2a03df44131d7f8
parent3e74bf5b9de39a482716f8b5d090fb45ec6cc3ca
glsl: simplify SSBO resources check

We already have a count of active SSBOs per stage so use it.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/linker.cpp