mesa/es: Remove redundant blend equation mode validation
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 20 Sep 2011 23:08:35 +0000 (16:08 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Aug 2012 23:06:31 +0000 (16:06 -0700)
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/APIspec.xml

index b957db4..964a407 100644 (file)
                <return type="void"/>
                <param name="mode" type="GLenum"/>
        </proto>
-
-       <desc name="mode">
-               <value name="GL_FUNC_ADD" category="GLES2.0"/>
-               <value name="GL_FUNC_SUBTRACT" category="GLES2.0"/>
-               <value name="GL_FUNC_REVERSE_SUBTRACT" category="GLES2.0"/>
-               <value name="GL_FUNC_ADD_OES" category="OES_blend_subtract"/>
-               <value name="GL_FUNC_SUBTRACT_OES" category="OES_blend_subtract"/>
-               <value name="GL_FUNC_REVERSE_SUBTRACT_OES" category="OES_blend_subtract"/>
-
-               <value name="GL_MIN_EXT" category="EXT_blend_minmax"/>
-               <value name="GL_MAX_EXT" category="EXT_blend_minmax"/>
-       </desc>
 </template>
 
 <template name="BlendEquationSeparate">
                <param name="modeRGB" type="GLenum"/>
                <param name="modeAlpha" type="GLenum"/>
        </proto>
-
-       <desc name="modeRGB">
-               <value name="GL_FUNC_ADD" category="GLES2.0"/>
-               <value name="GL_FUNC_SUBTRACT" category="GLES2.0"/>
-               <value name="GL_FUNC_REVERSE_SUBTRACT" category="GLES2.0"/>
-               <value name="GL_FUNC_ADD_OES" category="OES_blend_subtract"/>
-               <value name="GL_FUNC_SUBTRACT_OES" category="OES_blend_subtract"/>
-               <value name="GL_FUNC_REVERSE_SUBTRACT_OES" category="OES_blend_subtract"/>
-
-               <value name="GL_MIN_EXT" category="EXT_blend_minmax"/>
-               <value name="GL_MAX_EXT" category="EXT_blend_minmax"/>
-       </desc>
-
-       <desc name="modeAlpha">
-               <value name="GL_FUNC_ADD" category="GLES2.0"/>
-               <value name="GL_FUNC_SUBTRACT" category="GLES2.0"/>
-               <value name="GL_FUNC_REVERSE_SUBTRACT" category="GLES2.0"/>
-               <value name="GL_FUNC_ADD_OES" category="OES_blend_subtract"/>
-               <value name="GL_FUNC_SUBTRACT_OES" category="OES_blend_subtract"/>
-               <value name="GL_FUNC_REVERSE_SUBTRACT_OES" category="OES_blend_subtract"/>
-
-               <value name="GL_MIN_EXT" category="EXT_blend_minmax"/>
-               <value name="GL_MAX_EXT" category="EXT_blend_minmax"/>
-       </desc>
 </template>
 
 <template name="TexImage3D">