[Mesa-dev] [Bug 105139] Assertion in Dying Light

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 16 23:52:15 UTC 2018


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

            Bug ID: 105139
           Summary: Assertion in Dying Light
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: notasas at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

Dying Light triggers an assertion when switching from fullscreen to windowed
mode:

DyingLightGame: state_tracker/st_atom_framebuffer.c:201:
st_update_framebuffer_state: Assertion `!framebuffer.cbufs[i] ||
framebuffer.cbufs[i]->texture->bind & PIPE_BIND_RENDER_TARGET' failed.

(gdb) p i
$1 = 0
(gdb) p framebuffer.nr_cbufs 
$2 = 1 '\001'
(gdb) p framebuffer.cbufs[i]
$3 = (struct pipe_surface *) 0x1a132450
(gdb) p framebuffer.cbufs[i]->texture->bind
$4 = 9

The assert wants PIPE_BIND_RENDER_TARGET but
PIPE_BIND_DEPTH_STENCIL|PIPE_BIND_SAMPLER_VIEW is set.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180216/797a2a2d/attachment-0001.html>


More information about the mesa-dev mailing list