[Piglit] [PATCH 1/2] shader_runner_gles2: Remove unused variable warnings

2013-01-09 Thread Chad Versace
The function macros in shader_runner_gles_workarounds.h cause many unused variable warnings. The function macros have form #define glMapBuffer(...) UNDEFINED_FUNCTION(glMapBuffer, 0) and get expanded to the call unsupported_function(glMapBuffer, 0) Observe that the original arguments to

Re: [Piglit] [PATCH 1/2] shader_runner_gles2: Remove unused variable warnings

2013-01-09 Thread Tom Gall
Also looks good. I'll test it out this evening, but I'm sure it's fine. Reviewed-by: Tom Gall tom.g...@linaro.org On Wed, Jan 9, 2013 at 2:31 PM, Chad Versace chad.vers...@linux.intel.com wrote: The function macros in shader_runner_gles_workarounds.h cause many unused variable warnings. The

Re: [Piglit] [PATCH 1/2] shader_runner_gles2: Remove unused variable warnings

2013-01-09 Thread Tom Gall
Works fine. There is one more warning to squash that is the result of the recent addition of piglit_gen_ortho_uniform. Tested-by: Tom Gall tom.g...@linaro.org On Wed, Jan 9, 2013 at 6:53 PM, Tom Gall tom.g...@linaro.org wrote: Also looks good. I'll test it out this evening, but I'm sure it's