commit | 39fc725b0c81db8d76cb490488cd95de5c4d7a79 | [log] [tgz] |
---|---|---|
author | Paul Berry <stereotype441@gmail.com> | Tue Aug 23 13:49:19 2011 -0700 |
committer | Paul Berry <stereotype441@gmail.com> | Tue Sep 06 11:04:29 2011 -0700 |
tree | 5e10b9be2705a6cc3ce3797924670409a8b34710 | |
parent | f3ecc90730c1637b82e7a8eb8bef6d9a7a0531e8 [diff] |
i965: SF: Move the computation of urb_entry_read_offset. This patch moves the computation of the SF URB entry read offset from upload_sf_unit() to its own function, so that it can be re-used when creating the gen4-5 SF program. Reviewed-by: Eric Anholt <eric@anholt.net>