program: add ATI_fragment_shader to shader stages list
authorMiklós Máté <mtmkls@gmail.com>
Thu, 24 Mar 2016 00:12:56 +0000 (01:12 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 27 Mar 2016 17:58:33 +0000 (19:58 +0200)
Signed-off-by: Miklós Máté <mtmkls@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/program/program.h

index 24e05974dc3294e10ae0c3a7e2ff842a0745693d..09e69280d461bb96b531a434eae6d7e59aef0ab3 100644 (file)
@@ -172,6 +172,8 @@ _mesa_program_enum_to_shader_stage(GLenum v)
       return MESA_SHADER_VERTEX;
    case GL_FRAGMENT_PROGRAM_ARB:
       return MESA_SHADER_FRAGMENT;
+   case GL_FRAGMENT_SHADER_ATI:
+      return MESA_SHADER_FRAGMENT;
    case GL_GEOMETRY_PROGRAM_NV:
       return MESA_SHADER_GEOMETRY;
    case GL_TESS_CONTROL_PROGRAM_NV: