Re: [Mesa-dev] [PATCH 4/6] glsl: Make mode_string function globally available

2013-10-29 Thread Paul Berry
On 27 October 2013 14:59, Ian Romanick wrote: > From: Ian Romanick > > I made this a function (instead of a method of ir_variable) because it > made the change set smaller, and I expect that there will be an overload > that takes an ir_var_mode enum. Having both functions used the same way > se

[Mesa-dev] [PATCH 4/6] glsl: Make mode_string function globally available

2013-10-27 Thread Ian Romanick
From: Ian Romanick I made this a function (instead of a method of ir_variable) because it made the change set smaller, and I expect that there will be an overload that takes an ir_var_mode enum. Having both functions used the same way seemed better. v2: Add missing case for ir_var_system_value.