From: Eric Anholt Subject: Re: Register "linking" Date: Tue, 12 Jun 2012 08:47:49 -0700 Message-ID: <87fwa0cz16.fsf@eliezer.anholt.net> References: <20120612103537.GC39612@dspnet.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2035454903==" Return-path: In-Reply-To: <20120612103537.GC39612@dspnet.fr> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Olivier Galibert , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============2035454903== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Tue, 12 Jun 2012 12:35:37 +0200, Olivier Galibert w= rote: > Hi guys, >=20 > I'm playing with my gm45, and trying to understand the inter-shader > register allocation and referencing aspects. From what I see, the vs > and clipper follow the brw_vue_map to know where data is. The > fragment shader, though, does its own input register allocation in the > urb_setup array. How is the link done between the two? I've been > unable to find it... The brw_sf* code takes the vertices from the vue_map and emits code to generate interpolation coefficients for the InputsRead of the fragment shader. Then we can find them in our payload in that order in fs_visitor::calculate_urb_set(). --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAk/XZKUACgkQHUdvYGzw6vdGwwCffUGgdXbmpZPh5yk2Nw+hrVYy MFEAn2IYFIWlegwIAW5Rq/0VqwR1f1ge =RhzH -----END PGP SIGNATURE----- --=-=-=-- --===============2035454903== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============2035454903==--