From: bugzilla-daemon@freedesktop.org
Subject: [Bug 98336] si_shader.c:6612:26:
error:=?UTF-8?Q?=20implicit=20declaration=20of=20function=20=E2=80=98LLVMGetCalledValue=E2=80=99=20?=[-Werror=implicit-function-declaration]
Date: Thu, 20 Oct 2016 00:37:35 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1061155618=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id DB0316EA5B
for ; Thu, 20 Oct 2016 00:37:34 +0000 (UTC)
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
--===============1061155618==
Content-Type: multipart/alternative; boundary="14769238540.E396C.29463";
charset="UTF-8"
--14769238540.E396C.29463
Date: Thu, 20 Oct 2016 00:37:34 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D98336
Vinson Lee changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |bisected
CC| |edmondo@eriadon.com,
| |maraeo@gmail.com,
| |nhaehnle@gmail.com
--- Comment #1 from Vinson Lee ---
3ec9975555d1cc5365413ad9062f412904f944a3 is the first bad commit
commit 3ec9975555d1cc5365413ad9062f412904f944a3
Author: Marek Ol=C5=A1=C3=A1k
Date: Tue Oct 18 15:20:22 2016 +0200
radeonsi: eliminate trivial constant VS outputs
These constant value VS PARAM exports:
- 0,0,0,0
- 0,0,0,1
- 1,1,1,0
- 1,1,1,1
can be loaded into PS inputs using the DEFAULT_VAL field, and the VS
exports
can be removed from the IR to save export & parameter memory.
After LLVM optimizations, analyze the IR to see which exports are equal=
to
the ones listed above (or undef) and remove them if they are.
Targeted use cases:
- All DX9 eON ports always clear 10 VS outputs to 0.0 even if most of t=
hem
are unused by PS (such as Witcher 2 below).
- VS output arrays with unused elements that the GLSL compiler can't
eliminate (such as Batman below).
The shader-db deltas are quite interesting:
(not from upstream si-report.py, it won't be upstreamed)
PERCENTAGE DELTAS Shaders PARAM exports (affected only)
batman_arkham_origins 589 -67.17 %
bioshock-infinite 1769 -0.47 %
dirt-showdown 548 -2.68 %
dota2 1747 -3.36 %
f1-2015 776 -4.94 %
left_4_dead_2 1762 -0.07 %
metro_2033_redux 2670 -0.43 %
portal 474 -0.22 %
talos_principle 324 -3.63 %
warsow 176 -2.20 %
witcher2 1040 -73.78 %
----------------------------------------
All affected 991 -65.37 % ... 9681 -> 3353
----------------------------------------
Total 26725 -10.82 % ... 58490 -> 52162
v2: treat Undef as both 0 and 1
Reviewed-by: Nicolai H=C3=A4hnle (v1)
Tested-by: Edmondo Tommasina (v1)
:040000 040000 88f390ac9053318d6ab558e7e82b9d03f7435711
7bd48a7dfa3843fa64a5c41bbc60d181b44ee15c M src
bisect run success
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14769238540.E396C.29463
Date: Thu, 20 Oct 2016 00:37:34 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Vinson Lee
changed
bug 98336<=
/a>
| What |
Removed |
Added |
| Keywords |
|
bisected
|
| CC |
|
edmondo@eriadon.com, maraeo@gmail.com, nhaehnle@=
gmail.com
|
Comment=
# 1
on bug 98336<=
/a>
from Vinson Lee
3ec9975555d1cc5365413ad9062f412904f944a3 is the first bad comm=
it
commit 3ec9975555d1cc5365413ad9062f412904f944a3
Author: Marek Ol=C5=A1=C3=A1k <marek.olsak@amd.com>
Date: Tue Oct 18 15:20:22 2016 +0200
radeonsi: eliminate trivial constant VS outputs
These constant value VS PARAM exports:
- 0,0,0,0
- 0,0,0,1
- 1,1,1,0
- 1,1,1,1
can be loaded into PS inputs using the DEFAULT_VAL field, and the VS
exports
can be removed from the IR to save export & parameter memory.
After LLVM optimizations, analyze the IR to see which exports are equal=
to
the ones listed above (or undef) and remove them if they are.
Targeted use cases:
- All DX9 eON ports always clear 10 VS outputs to 0.0 even if most of t=
hem
are unused by PS (such as Witcher 2 below).
- VS output arrays with unused elements that the GLSL compiler can't
eliminate (such as Batman below).
The shader-db deltas are quite interesting:
(not from upstream si-report.py, it won't be upstreamed)
PERCENTAGE DELTAS Shaders PARAM exports (affected only)
batman_arkham_origins 589 -67.17 %
bioshock-infinite 1769 -0.47 %
dirt-showdown 548 -2.68 %
dota2 1747 -3.36 %
f1-2015 776 -4.94 %
left_4_dead_2 1762 -0.07 %
metro_2033_redux 2670 -0.43 %
portal 474 -0.22 %
talos_principle 324 -3.63 %
warsow 176 -2.20 %
witcher2 1040 -73.78 %
----------------------------------------
All affected 991 -65.37 % ... 9681 -> 3353
----------------------------------------
Total 26725 -10.82 % ... 58490 -> 52162
v2: treat Undef as both 0 and 1
Reviewed-by: Nicolai H=C3=A4hnle <nicolai.haehnle@amd.com> (v1)
Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com> (v1)
:040000 040000 88f390ac9053318d6ab558e7e82b9d03f7435711
7bd48a7dfa3843fa64a5c41bbc60d181b44ee15c M src
bisect run success
You are receiving this mail because:
- You are the assignee for the bug.
=
--14769238540.E396C.29463--
--===============1061155618==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1061155618==--