Re: [Piglit] [PATCH 1/3] util: add infrastructure to look-up glMemoryBarrier() enums via names

2015-12-10 Thread Jordan Justen
Thanks for looking at this! I wanted to add the memory barrier command to shader_runner to, but I also found that piglit_get_gl_enum_from_name would not handle those strings. My question is, why not just make piglit_get_gl_enum_from_name handle more strings? I think the enum=>string translation

[Piglit] [PATCH 1/3] util: add infrastructure to look-up glMemoryBarrier() enums via names

2015-12-09 Thread Timothy Arceri
--- tests/util/gen_dispatch.py| 14 +- tests/util/piglit-util-gl-enum-gen.c.mako | 24 tests/util/piglit-util-gl.h | 3 +++ 3 files changed, 40 insertions(+), 1 deletion(-) diff --git a/tests/util/gen_dispatch.py