From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 101596] Blender renders black UI elements
Date: Wed, 05 Jul 2017 03:33:51 +0000 [thread overview]
Message-ID: <bug-101596-502-KZsPqDBYjx@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-101596-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 1896 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=101596
--- Comment #5 from Matias N. Goldberg <dark_sylinc@yahoo.com.ar> ---
Mystery solved:
When I click the material button, this function is hit:
1 st_get_fp_variant st_program.c 1326 0x7fbb34c5c595
2 get_color_fp_variant st_cb_drawpixels.c 963 0x7fbb34c0ae87
3 st_DrawPixels st_cb_drawpixels.c 1115 0x7fbb34c0b3ea
4 _mesa_DrawPixels drawpix.c 163 0x7fbb3499d954
5 ?? 0x55b9c4a159d5
6 ?? 0x55b9c4a15d20
7 ?? 0x55b9c4a3e15c
8 ?? 0x55b9c4a3f956
9 ui_draw_but 0x55b9c4a428cb
10 UI_block_draw 0x55b9c49f700a
11 UI_panels_draw 0x55b9c4a23ede
12 ED_region_panels 0x55b9c4b11bbd
13 ?? 0x55b9c484050e
14 ED_region_do_draw 0x55b9c4b10837
15 wm_draw_update 0x55b9c4817a96
16 WM_main 0x55b9c4813008
17 main 0x55b9c47d015e
get_color_fp_variant ends up calling st_get_fp_variant even though
st->has_shareable_shaders is set; and st_get_fp_variant ends up creating a new
variant.
st_get_fp_variant will create a new variant and add it to the front of the
linked list:
fpv->next = stfp->variants;
stfp->variants = fpv;
Therefore later on st_update_fp thinks only one variant should be there, and
tries to use the first one, which is the new one created by _mesa_DrawPixels;
which is wrong, triggering all the glitches.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2670 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2017-07-05 3:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-26 12:18 [Bug 101596] Blender renders black UI elements bugzilla-daemon
2017-06-26 12:19 ` bugzilla-daemon
2017-06-26 12:19 ` bugzilla-daemon
2017-06-26 12:21 ` bugzilla-daemon
2017-06-26 22:38 ` bugzilla-daemon
2017-07-05 3:22 ` bugzilla-daemon
2017-07-05 3:33 ` bugzilla-daemon [this message]
2017-07-05 3:36 ` bugzilla-daemon
2017-07-05 3:41 ` bugzilla-daemon
2017-07-05 17:05 ` bugzilla-daemon
2017-07-05 17:53 ` bugzilla-daemon
2017-07-06 0:59 ` bugzilla-daemon
2017-07-07 23:52 ` bugzilla-daemon
2017-07-08 2:41 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-101596-502-KZsPqDBYjx@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).