glsl: move ast layout qualifier handling code into its own function
authorTimothy Arceri <timothy.arceri@collabora.com>
Thu, 12 Nov 2015 06:43:52 +0000 (17:43 +1100)
committerTimothy Arceri <t_arceri@yahoo.com.au>
Tue, 17 Nov 2015 20:29:25 +0000 (07:29 +1100)
commit649803742dd96ea6702c6ef16c35c36e6d4fd676
treee17eb1190cec5c04ffae171e4274d3ab92bfc65a
parent5b596f38785a11ad429e30b2237de2c8c59a451f
glsl: move ast layout qualifier handling code into its own function

We now also only apply these rules to variables rather than also
trying to apply them to function params.

V2: move code for handling stream layout qualifier

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/glsl/ast_to_hir.cpp