[Mesa-dev] [PATCH 3/5] i965/fs: Replace usage of is_tex() with regs_written() checks.
Kenneth Graunke
kenneth at whitecape.org
Mon Jul 9 22:08:46 PDT 2012
On 07/09/2012 03:40 PM, Eric Anholt wrote:
[snip]
> @@ -1729,10 +1731,8 @@ fs_visitor::compute_to_mrf()
> * into a compute-to-MRF.
> */
>
> + /* SENDs can only write to GRFs, so no compute-to-MRF. */
> if (scan_inst->is_tex()) {
> - /* texturing writes several continuous regs, so we can't
> - * compute-to-mrf that.
> - */
> break;
> }
Based on your comment here, wouldn't it make more sense as
if (scan_inst->mlen)
break;
?
More information about the mesa-dev
mailing list