[Intel-gfx] Register "linking"
Eric Anholt
eric at anholt.net
Tue Jun 12 17:47:49 CEST 2012
On Tue, 12 Jun 2012 12:35:37 +0200, Olivier Galibert <galibert at pobox.com> wrote:
> Hi guys,
>
> 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().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120612/630fab34/attachment.sig>
More information about the Intel-gfx
mailing list