Robert Bragg 2caf9e0f59 glsl: always emit sampler uniforms for non NULL layers
There might be custom hooks that want to sample arbitrary layers
even though they aren't referenced as part of the auto generated layer
combine code. This ensures the sampler uniforms are always output for
non-null layers so at least these can be used.

We may consider changing this later to always emit a wrapper
cogl_sampleX() function for each layer so all samples of a layer can
consistently be modified by a COGL_SNIPPET_HOOK_TEXTURE_LOOKUP hook.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
2012-02-13 17:29:20 +00:00
..
2012-02-13 17:02:46 +00:00
2010-06-01 12:08:18 +01:00
2011-06-09 16:21:15 +01:00
2011-06-09 16:21:15 +01:00
2011-11-01 12:03:02 +00:00
2011-11-01 12:03:02 +00:00
2012-02-13 17:02:46 +00:00
2012-02-13 17:02:46 +00:00
2012-02-13 17:02:46 +00:00
2012-02-13 17:02:46 +00:00
2011-11-16 16:32:11 +00:00
2012-02-13 12:22:18 +00:00
2011-08-12 15:28:42 +01:00