glsl: add parcel_out_uniform_storage::set_opaque_indices() helper
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 11 May 2017 15:43:18 +0000 (17:43 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 12 May 2017 08:30:30 +0000 (10:30 +0200)
commitf87416f62d0a6874300cde340a199926074b14d2
tree64aa313d3f6b170cf4f717915f4c404723e447a2
parent70251e36314f7053ea62c93f69685f37d4a2ff58
glsl: add parcel_out_uniform_storage::set_opaque_indices() helper

In order to sort indices for images inside a struct array we
need to do something similar to samplers.

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