[Mesa-dev] [Bug 81500] wrong color in flightgear for the c172p if "Atmospheric light scattering" is used

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 18 17:29:04 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=81500

--- Comment #11 from Barto <mister.freeman at laposte.net> ---
I manage to find the commit who triggers the bug :

it's the commit d030a3404ca0fedf365cb0fd41eaad7abc8ff132 linker: Sort shader
I/O variables into a canonical order

    v2: Rebase on removal of ir_variable::user_location.

http://cgit.freedesktop.org/mesa/mesa/commit/?id=d030a3404ca0fedf365cb0fd41eaad7abc8ff132

I use a workaround in order to solve the compilation error :


drivers/common/meta.c: In function '_mesa_meta_begin':
drivers/common/meta.c:1202:1: error: invalid storage class for function
'invert_z'
 invert_z(GLfloat normZ)

in order to do a full bisect I replaced some lines in meta.c for the 12 commits
who have this compilation error ( line 579 to 584 ) :

if (ctx->Extensions.ARB_separate_shader_objects) {
         if (ctx->Pipeline.Current) {
            _mesa_reference_pipeline_object(ctx, &save->Pipeline,
                                            ctx->Pipeline.Current);
            _mesa_BindProgramPipeline(0);
      }

with these lines :

      if (ctx->Pipeline.Current) {
         _mesa_reference_pipeline_object(ctx, &save->Pipeline,
                                         ctx->Pipeline.Current);
         _mesa_BindProgramPipeline(0);
      }

now if a 10.2.4 version of mesa is scheduled it would be great to revert this
commit d030a3404ca0fedf365cb0fd41eaad7abc8ff132 in order to solve this bug

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140719/21f84522/attachment.html>


More information about the mesa-dev mailing list