On Tue, 12 Jun 2012 12:35:37 +0200, Olivier Galibert <[email protected]> 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().
pgpNKyHh1aEyq.pgp
Description: PGP signature
_______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
