aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2011-10-21 17:20:32 -0700
committerPaul Berry <[email protected]>2011-10-27 15:31:53 -0700
commite04bdeae82797dbdcf6f544a997a4626fdfd4aee (patch)
treee84f3f73a94b9c99bfc6fc4e60cf8de9f0fae285 /autogen.sh
parent102bdd26e1acf1ebf75ef85b62df2400239fd480 (diff)
i965/gen6+: Parameterize barycentric interpolation modes.
This patch modifies the fragment shader back-end so that instead of using a single delta_x/delta_y register pair to store barycentric coordinates, it uses an array of such register pairs, one for each possible intepolation mode. When setting up the WM, we intstruct it to only provide the barycentric coordinates that are actually needed by the fragment shader--that is computed by brw_compute_barycentric_interp_modes(). Currently this function returns just BRW_WM_PERSPECTIVE_PIXEL_BARYCENTRIC, because this is the only interpolation mode we support. However, that will change in a later patch. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions