[Mesa-dev] [Bug 82628] bisected: GALLIUM_HUD hangs radeon 7970M (PRIME)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 15 16:58:33 PDT 2014


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

--- Comment #1 from Christoph Haag <haagch at frickel.club> ---
It's now reverted but for the record so that it's not forgotten:

Whether it makes sense or not, the GPU does not hang if I change the count from
one to two:

diff --git a/src/gallium/auxiliary/hud/hud_context.c
b/src/gallium/auxiliary/hud/hud_context.c
index a05d3c4..2d8bdca 100644
--- a/src/gallium/auxiliary/hud/hud_context.c
+++ b/src/gallium/auxiliary/hud/hud_context.c
@@ -532,7 +532,7 @@ hud_draw(struct hud_context *hud, struct pipe_resource
*tex)
    pipe_resource_reference(&hud->text.vbuf.buffer, NULL);

    /* draw the rest */
-   cso_set_vertex_elements(cso, 1, hud->velems);
+   cso_set_vertex_elements(cso, 2, hud->velems);
    LIST_FOR_EACH_ENTRY(pane, &hud->pane_list, head) {
       if (pane)
          hud_pane_draw_colored_objects(hud, pane);

-- 
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/20140815/d8ad2461/attachment.html>


More information about the mesa-dev mailing list