Mesa (gles3): i965: Actually support ES 3.0.

Kenneth Graunke kwg at kemper.freedesktop.org
Tue Nov 20 05:18:56 UTC 2012


Module: Mesa
Branch: gles3
Commit: 184ec88a7182780b397f9ddcfbfbce4cd62980ab
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=184ec88a7182780b397f9ddcfbfbce4cd62980ab

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Nov 19 21:16:36 2012 -0800

i965: Actually support ES 3.0.

Since Chad's patch:
i965: Validate requested GLES context version in brwCreateContext

We stopped being able to create ES 3.0 contexts due to the max version
check.  So...bump the max version.

---

 src/mesa/drivers/dri/i965/brw_context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 13d5c31..a7fba0b 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -108,7 +108,7 @@ brwCreateContext(int api,
       max_supported_version = 11;
       break;
    case API_OPENGLES2:
-      max_supported_version = 20;
+      max_supported_version = 30;
       break;
    case API_OPENGL_CORE:
       max_supported_version = supports_gl30 ? 31 : 0;




More information about the mesa-commit mailing list