glsl: teach opt_structure_splitting about images in structures
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 25 May 2017 16:36:35 +0000 (18:36 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 1 Jun 2017 09:54:06 +0000 (11:54 +0200)
commit678e05cc345b714919959cb2c93fb9f052315355
tree2ebc75dd51b5265ddcd9930415d652610a5b3365
parent71efec290c8b28fa25c50a923b30a60cc38b934c
glsl: teach opt_structure_splitting about images in structures

GL_ARB_bindless_texture allows images to be declared inside
structures, but when memory/format qualifiers are used, they
should be propagated when structures are splitted.

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