[Mesa-dev] [PATCH 2/8] program: add ATI_fragment_shader to shader stages list
Miklós Máté
mtmkls at gmail.com
Thu Mar 24 00:12:56 UTC 2016
Signed-off-by: Miklós Máté <mtmkls at gmail.com>
---
src/mesa/program/program.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mesa/program/program.h b/src/mesa/program/program.h
index 24e0597..09e6928 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:
--
2.8.0.rc3
More information about the mesa-dev
mailing list