From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 100177] [GM206] Misrendering in XCOM Ennemy Within Date: Mon, 13 Mar 2017 02:27:55 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1988562557==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1988562557== Content-Type: multipart/alternative; boundary="14893720750.dcb0fb.32237"; charset="UTF-8" --14893720750.dcb0fb.32237 Date: Mon, 13 Mar 2017 02:27:55 +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=3D100177 --- Comment #1 from Ilia Mirkin --- I have an unproven theory that this is related to polygon-offset failing on GM20x. Can't figure out what we're missing. In the GM20x traces it seems li= ke it's jumping through crazy hoops to set all the polygon offset stuff by usi= ng a macro to write out the values. It's effectively conditional on the value in some scratch register. I suspect it's to be able to apply a CSO without recomputing it, and adjusting its effect by adjusting scratch registers. However things are configured s.t. it does do the writes. One thought is that there's a register somewhere that sets the value of "r", i.e. the unit of polygon offset. This has traditionally been driven off the depth format as a function of rasterization details, but perhaps now it's s= et explicitly. It'd be 1/1<<24 for Z24, 1/1<<16 for Z16, and "variable" for Z3= 2F. However no such setting has been found, and there's nothing obvious in the trace. --=20 You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.= --14893720750.dcb0fb.32237 Date: Mon, 13 Mar 2017 02:27:55 +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

Commen= t # 1 on bug 10017= 7 from Ilia Mirkin
I have an unproven theory that this is related to polygon-offs=
et failing on
GM20x. Can't figure out what we're missing. In the GM20x traces it seems li=
ke
it's jumping through crazy hoops to set all the polygon offset stuff by usi=
ng a
macro to write out the values. It's effectively conditional on the value in
some scratch register. I suspect it's to be able to apply a CSO without
recomputing it, and adjusting its effect by adjusting scratch registers.
However things are configured s.t. it does do the writes.

One thought is that there's a register somewhere that sets the value of &qu=
ot;r",
i.e. the unit of polygon offset. This has traditionally been driven off the
depth format as a function of rasterization details, but perhaps now it's s=
et
explicitly. It'd be 1/1<<24 for Z24, 1/1<<16 for Z16, and "=
;variable" for Z32F.
However no such setting has been found, and there's nothing obvious in the
trace.


You are receiving this mail because:
  • You are the QA Contact for the bug.
  • You are the assignee for the bug.
= --14893720750.dcb0fb.32237-- --===============1988562557== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============1988562557==--