[Bug 110229] The driver is not waiting the shader have finished to update the framebuffer before displaying it.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 23 22:55:52 UTC 2019


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

            Bug ID: 110229
           Summary: The driver is not waiting the shader have finished to
                    update the framebuffer before displaying it.
           Product: Mesa
           Version: 18.3
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/R100
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: laurentduroisin at gmail.com
        QA Contact: dri-devel at lists.freedesktop.org

Hi!
I'm trying using per pixel linked lists with a source code that I've found on
the internet, but it deosn't work, the driver doesn't wait the shaders
executons have finished before updating the framebuffer event if I call
glFinish.

Mmmm..., I think it's a bug, I don't thing it's the code because the code is
not from me but from a code that I picked up on the Internet and which works on
windows.

Or maybe it's updating the double buffer with an empty framebuffer.

I added an sf::sleep to see what happens and it display the sprites during 5
seconds and then nothings.

The source code of my project can be found here :

https://github.com/LaurentDuroisin/ODFAEG

The bugs : 

-In the LightRenderComponent class, sometimes the normalMap is not updated
before the lights are drawn so the light is drawn above the wall even if the
light is behind the wall.

-In the per PerPixelLinkedListRenderComponent : same problem, the frame buffer
is updated before the shaders have finished to execute so nothing is drawn.

-In the OITRenderComponent class (weighted blended oit), same problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190323/92e184d1/attachment-0001.html>


More information about the dri-devel mailing list