Jason Ekstrand <ja...@jlekstrand.net> writes: > On Fri, Feb 6, 2015 at 4:01 PM, Francisco Jerez <curroje...@riseup.net> > wrote: > >> Hey Matt, >> >> Matt Turner <matts...@gmail.com> writes: >> >> > On Fri, Feb 6, 2015 at 6:42 AM, Francisco Jerez <curroje...@riseup.net> >> wrote: >> >> MRFs cannot be read from anyway so they cannot possibly be a valid >> >> source of LOAD_PAYLOAD. >> >> --- >> > >> > The function only seems to test inst->dst.file == MRF. I don't see any >> > code for handling MRF sources. What am I missing? >> >> That test is for "handling" MRF sources -- More precisely, it's >> collecting the writemask and half flags for MRF writes, which can only >> possibly be useful if we're going to use them later on to read something >> out of an MRF into a payload, which we shouldn't be doing in the first >> place. >> >> Aside from simplifying the function somewhat, that allows us to drop the >> 16 register gap reserved for MRFs at register offset zero, what will >> allow us to drop the vgrf_to_reg[] offset calculation completely (also >> in split_virtual_grfs()) in a future patch (not sent for review yet). >> > > No, we do read from MRF's sort-of... Send messages have an implicit "read" > from an MRF.
Heh, and that's pretty much the only way you "read" from it. > This was written precicely so that we could use LOAD_PAYLOAD > to build MRF payloads. We do on pre-GEN6. > I'm aware, but you don't need any of this meta-data to LOAD_PAYLOAD *into* an MRF, and LOAD_PAYLOAD with an MRF as source should be illegal anyway. > >> _______________________________________________ >> mesa-dev mailing list >> mesa-dev@lists.freedesktop.org >> http://lists.freedesktop.org/mailman/listinfo/mesa-dev >> >>
pgpfF5PKyva7v.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev