From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fernando Sahmkow Subject: Question on IPA on GM107 Date: Mon, 12 Nov 2018 19:10:57 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1944903471==" Return-path: 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 --===============1944903471== Content-Type: multipart/alternative; boundary="000000000000f12f1a057a7fd010" --000000000000f12f1a057a7fd010 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable So I'm trying to track an special value in IPA instruction generation. https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/nouveau/cod= egen/nv50_ir_emit_gm107.cpp#L2561 Register on 0x14 (20) is set to some source on "insn->op =3D=3D OP_PINTERP" I have found while emulation that such value can be set sometimes to FragCoord.w, I don't however know what that value is and how to represent it on glsl. Do you guys know where does that value come from and what it means? --=20 Atentamente, *Fernando A. Sahmkow* *M=C3=B3vil*: +584242280286 *Correo*: fsahmkow27-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --000000000000f12f1a057a7fd010 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
So I'm trying to track an special val= ue in IPA instruction generation.

Reg= ister on 0x14 (20) is set to some source on "insn->op =3D=3D OP_PINTERP"

I have found while emulation that such value can be set sometimes to F= ragCoord.w, I don't however know what that value is and how to represen= t it on glsl. Do you guys know where does that value come from and what it = means?

--
--000000000000f12f1a057a7fd010-- --===============1944903471== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============1944903471==--