From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 91656] Pillars of Eternity glitch in maps
Date: Tue, 06 Oct 2015 04:44:33 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1819903107=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 662986E3C0
for ; Mon, 5 Oct 2015 21:44:33 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1819903107==
Content-Type: multipart/alternative; boundary="1444106673.2Cb1Ab7a3.12264"; charset="UTF-8"
--1444106673.2Cb1Ab7a3.12264
Date: Tue, 6 Oct 2015 04:44:33 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=91656
--- Comment #9 from Daniel Scharrer ---
This looks like an application bug to me - here's what the game does with the
minimap fog of war in the apitrace (right at the start of each frame, so it's
easy to find):
1. Uploads the fog of war to GL_ALPHA texture 2487
2. Binds framebuffer 2
3. Attaches texture 6613 as the color0 buffer
4. Clears color to (0, 0, 0, 0)
5. Unbinds framebuffer 2
6. Binds framebuffer 2
7. Attaches texture 6613 as the color0 buffer
8. Binds 6613 as texture0
9. Binds 2487 as texture1
10. Draws a full-screen quad with a shader that boils down to
a = pow(texture1.a, 8);
color0 = a * (0, 0, 0, 1) + (1 - a) * texture0;
Reading from and writing to the same texture in this way is undefined without
inserting the appropriate memory barriers.
--
You are receiving this mail because:
You are the assignee for the bug.
--1444106673.2Cb1Ab7a3.12264
Date: Tue, 6 Oct 2015 04:44:33 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 9
on bug 91656
from Daniel Scharrer
This looks like an application bug to me - here's what the game does with the
minimap fog of war in the apitrace (right at the start of each frame, so it's
easy to find):
1. Uploads the fog of war to GL_ALPHA texture 2487
2. Binds framebuffer 2
3. Attaches texture 6613 as the color0 buffer
4. Clears color to (0, 0, 0, 0)
5. Unbinds framebuffer 2
6. Binds framebuffer 2
7. Attaches texture 6613 as the color0 buffer
8. Binds 6613 as texture0
9. Binds 2487 as texture1
10. Draws a full-screen quad with a shader that boils down to
a = pow(texture1.a, 8);
color0 = a * (0, 0, 0, 1) + (1 - a) * texture0;
Reading from and writing to the same texture in this way is undefined without
inserting the appropriate memory barriers.
You are receiving this mail because:
- You are the assignee for the bug.
--1444106673.2Cb1Ab7a3.12264--
--===============1819903107==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0
cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK
--===============1819903107==--