commit | 284c8fbcef8d631a0a727f0b7a8b34f9e4ad215d | [log] [tgz] |
---|---|---|
author | Francisco Jerez <currojerez@riseup.net> | Sun May 15 20:30:06 2016 -0700 |
committer | Francisco Jerez <currojerez@riseup.net> | Mon May 23 14:05:20 2016 -0700 |
tree | e05d746a8e0ec29a48bffe4f96d1911f92cd9c70 | |
parent | 70023c40c6094208cc869ef4a8eb8d9ccebc8395 [diff] |
i965/fs: Make emit_spill/unspill static functions taking builder as argument. This seems cleaner than exposing an implementation detail of brw_fs_reg_allocate.cpp to the world, and will give the caller control over the instruction execution flags (e.g. force_writemask_all) that are applied to the scratch read and write instructions. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>