Re: [Mesa-dev] [PATCH] glcpp: Update tests for new #undef of built-in macro rules.

2016-08-15 Thread Kenneth Graunke
On Sunday, August 14, 2016 9:07:59 PM PDT Kenneth Graunke wrote: > Ian recently changed the preprocessor to allow this in most GLSL > versions, but not GLSL ES 3.00+. This patch converts the existing > test that expects a failure to a #version 300 es shader, and adds > a #version 110 shader to mak

Re: [Mesa-dev] [PATCH] glcpp: Update tests for new #undef of built-in macro rules.

2016-08-15 Thread Vinson Lee
On Sun, Aug 14, 2016 at 9:07 PM, Kenneth Graunke wrote: > Ian recently changed the preprocessor to allow this in most GLSL > versions, but not GLSL ES 3.00+. This patch converts the existing > test that expects a failure to a #version 300 es shader, and adds > a #version 110 shader to make sure t

[Mesa-dev] [PATCH] glcpp: Update tests for new #undef of built-in macro rules.

2016-08-14 Thread Kenneth Graunke
Ian recently changed the preprocessor to allow this in most GLSL versions, but not GLSL ES 3.00+. This patch converts the existing test that expects a failure to a #version 300 es shader, and adds a #version 110 shader to make sure that it's allowed. Fixes 'make check'. Cc: i...@freedesktop.org