diff mbox

[Bug,56405] Distorted graphics on Radeon HD 6620G

Message ID bug-56405-502-QBEWygwkil@http.bugs.freedesktop.org/ (mailing list archive)
State New, archived
Headers show

Commit Message

bugzilla-daemon@freedesktop.org Nov. 9, 2012, 7:43 p.m. UTC
https://bugs.freedesktop.org/show_bug.cgi?id=56405

--- Comment #16 from Michael Dressel <mdrslmr@t-online.de> ---
I compiled the commit 6671d0dad300e591ac7c0e5110c6778373d0149a
which I picked to start bisecting. (I picked it because the date
is related to the date of the 8.0 branch as mentioned above)

It shows the same problem.

In order to get it compiled I had to do the foloowing change:


And I changed my build script in order not to build vdpau and radeonsi
and some other things I beleive are not related to the driver r600 I beleive 
I need.
diff mbox

Patch

--- a/src/gallium/state_trackers/egl/common/egl_g3d_api.c
+++ b/src/gallium/state_trackers/egl/common/egl_g3d_api.c
@@ -53,7 +53,7 @@  egl_g3d_choose_st(_EGLDriver *drv, _EGLContext *ctx,

    switch (ctx->ClientAPI) {
    case EGL_OPENGL_ES_API:
-      switch (ctx->ClientVersion) {
+      switch (ctx->ClientMajorVersion) {
       case 1:
          api = ST_API_OPENGL;
          *profile = ST_PROFILE_OPENGL_ES1;
@@ -64,7 +64,7 @@  egl_g3d_choose_st(_EGLDriver *drv, _EGLContext *ctx,
          break;
       default:
          _eglLog(_EGL_WARNING, "unknown client version %d",
-               ctx->ClientVersion);
+               ctx->ClientMajorVersion);
          break;