Register "linking"
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...
Best,
OG.
Quoted 8 lines · Olivier Galibert
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_mapto know where data is. The fragment shader, though, does its own input register allocation in theurb_setuparray. 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().
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx