On 22 September 2016 at 20:39, Matteo Bruni mbruni@codeweavers.com wrote:
dlls/wined3d/directx.c | 5 +++++ dlls/wined3d/glsl_shader.c | 4 ++-- dlls/wined3d/wined3d_gl.h | 1 + 3 files changed, 8 insertions(+), 2 deletions(-)
This works, but I'm not sure it really scales beyond one or two instructions. It also seems to me that what you actually want to know is the GLSL version of the current shader, not entirely unlike shader_glsl_get_version().