[Mesa-dev] [Bug 43125] New: [bisected] Start screen in Amnesia too dark after "Rewrite the way uniforms are tracked and handled" commit

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Nov 20 19:36:26 PST 2011


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

             Bug #: 43125
           Summary: [bisected] Start screen in Amnesia too dark after
                    "Rewrite the way uniforms are tracked and handled"
                    commit
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: jlp.bugs at gmail.com


I have a laptop with ATI Technologies Inc Manhattan [Mobility Radeon HD 5400
Series] graphics card and using the r600g driver from mesa. The kernel is Linux
3.2-rc1.

When I start the game of Amnesia - The Dark Descent it offers me a screen where
I can select a profile to play with. This screen is too dark in latest git
checkouts. I did a bisection and this commit was pointed out as problematic:
719909698c67c287a393d2380278e7b7495ae018 
    mesa: Rewrite the way uniforms are tracked and handled

    Switch all of the code in ir_to_mesa, st_glsl_to_tgsi, glUniform*,
    glGetUniform, glGetUniformLocation, and glGetActiveUniforms to use the
    gl_uniform_storage structures in the gl_shader_program.

    A couple of notes:

     * Like most rewrite-the-world patches, this should be reviewed by
       applying the patch and examining the modified functions.

     * This leaves a lot of dead code around in linker.cpp and
       uniform_query.cpp.  This will be deleted in the next patches.

    v2: Update the comment block (previously a FINISHME) in _mesa_uniform
    about generating GL_INVALID_VALUE when an out-of-range sampler index
    is specified.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list