glsl: skip tree grafting for sampler and image types
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 26 Apr 2017 16:34:27 +0000 (18:34 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 6 May 2017 14:40:19 +0000 (16:40 +0200)
commitb738fae4b977fc08ddfff012e689b6a7d8a87022
tree2a0458cf15b425e16bb7e26c32a5ce5f45b0ae1b
parentd04b0f31d328af95cebec816adfe683a6095bca8
glsl: skip tree grafting for sampler and image types

v2: - use is_sampler()/is_image() instead (Samuel Pitoiset)

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/glsl/opt_tree_grafting.cpp