glsl: Don't do tree grafting on buffer variables
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 6 Apr 2015 07:37:58 +0000 (09:37 +0200)
committerSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Tue, 14 Jul 2015 05:04:04 +0000 (07:04 +0200)
commit3ad92589f29466383c0218aa4a73bff52019c4be
treef5d86f4bd27c34b63d733319fb8b1629ec8f34d5
parent173ed05a6d9e851b2b7b2f9f2d8993e5da115c40
glsl: Don't do tree grafting on buffer variables

Otherwise we can lose writes into the buffers backing the variables.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/glsl/opt_tree_grafting.cpp