summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/program.h
diff options
context:
space:
mode:
authorMiklós Máté <[email protected]>2016-03-24 01:12:56 +0100
committerMarek Olšák <[email protected]>2016-03-27 19:58:33 +0200
commitd71c1e9e54d379ff312dca7eb4d717e3f20e4099 (patch)
tree1a207474da4de8ea56dc3131f077db3c7b9d45d7 /src/mesa/program/program.h
parente2d5a6fac5c2b433cd78c0fc29b420b36c429cb9 (diff)
program: add ATI_fragment_shader to shader stages list
Signed-off-by: Miklós Máté <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/program/program.h')
-rw-r--r--src/mesa/program/program.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/program/program.h b/src/mesa/program/program.h
index 24e05974dc3..09e69280d46 100644
--- a/src/mesa/program/program.h
+++ b/src/mesa/program/program.h
@@ -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: