Re: [Mesa-dev] [PATCH] glsl: Update the #line behaviour on GLSL 3.30+ and GLSL ES+

2015-03-29 Thread Kenneth Graunke
On Monday, March 23, 2015 09:56:29 AM Antia Puentes wrote: > From GLSL 3.30 and GLSL ES 1.00 on, after processing the line > directive (including its new-line), the implementation should > behave as if it is compiling at the line number passed as > argument. In previous versions, it behaved as if c

[Mesa-dev] [PATCH] glsl: Update the #line behaviour on GLSL 3.30+ and GLSL ES+

2015-03-23 Thread Antia Puentes
From GLSL 3.30 and GLSL ES 1.00 on, after processing the line directive (including its new-line), the implementation should behave as if it is compiling at the line number passed as argument. In previous versions, it behaved as if compiling at the passed line number + 1. Partially fixes https://bu