vk/glsl_helpers: Fix GLSL_VK_SHADER with respect to commas
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 16 May 2015 05:17:05 +0000 (22:17 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 16 May 2015 05:17:07 +0000 (22:17 -0700)
commiteb1952592ebd72c0be70b0ddf781021bbadb3692
tree3a6e310c9163eb120804961f6fbc1112bda547f9
parent3b9f32e893f8bd817d1b7c26a4adfabb3b8f6145
vk/glsl_helpers: Fix GLSL_VK_SHADER with respect to commas

Previously, the GLSL_VK_SHADER macro didn't work if the shader contained
commas outside of parentheses due to the way the C preprocessor works.
This commit fixes this by making it variadic again and doing it correctly
this time.
src/vulkan/glsl_helpers.h