diff options
author | Tapani Pälli <[email protected]> | 2013-02-18 09:12:27 +0200 |
---|---|---|
committer | Chad Versace <[email protected]> | 2013-02-20 10:01:45 -0800 |
commit | 413941e1a3155b29a190ab7ecfd844b1a5c2e460 (patch) | |
tree | b753485b24252ebb5e328d6e7f7bd539d4feeb62 /src/mesa/main/tests/dispatch_sanity.cpp | |
parent | 73bf626713f7efc43164f7649fc143f4a94299cb (diff) |
gles2: a stub implementation for GL_EXT_discard_framebuffer
This patch implements a stub for GL_EXT_discard_framebuffer with
required checks listed by the extension specification. This extension
is required by GLBenchmark 2.5 when compiled with OpenGL ES 2.0
as the rendering backend.
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-and-tested-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/main/tests/dispatch_sanity.cpp')
-rw-r--r-- | src/mesa/main/tests/dispatch_sanity.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp index 519f6a9a46a..bf6b297e139 100644 --- a/src/mesa/main/tests/dispatch_sanity.cpp +++ b/src/mesa/main/tests/dispatch_sanity.cpp @@ -949,6 +949,7 @@ const struct function gles11_functions_possible[] = { { "glDepthRangef", 11, -1 }, { "glDepthRangex", 11, -1 }, { "glDisable", 11, _gloffset_Disable }, + { "glDiscardFramebufferEXT", 11, -1 }, { "glDisableClientState", 11, _gloffset_DisableClientState }, { "glDrawArrays", 11, _gloffset_DrawArrays }, { "glDrawElements", 11, _gloffset_DrawElements }, @@ -1145,6 +1146,7 @@ const struct function gles2_functions_possible[] = { { "glDepthRangef", 20, -1 }, { "glDetachShader", 20, -1 }, { "glDisable", 20, _gloffset_Disable }, + { "glDiscardFramebufferEXT", 20, -1 }, { "glDisableVertexAttribArray", 20, -1 }, { "glDrawArrays", 20, _gloffset_DrawArrays }, { "glDrawBuffersNV", 20, -1 }, |