glsl: Check for SSBO variable in check_for_ssbo_store
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 17 Nov 2015 18:55:26 +0000 (10:55 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 10 Dec 2015 07:50:38 +0000 (23:50 -0800)
commit614ad9b40b9412e243f4d86bcd7cb0952c42c46f
tree7119136285bc4659ca433512db9911e13ddd880a
parentc2e6cfbd78d25849a4e91e3ce3bb413b32ae337e
glsl: Check for SSBO variable in check_for_ssbo_store

The compiler probably already blocks this earlier on, but we should be
checking for an SSBO here.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/glsl/lower_ubo_reference.cpp