On Fri, Jan 11, 2019 at 1:55 PM Kenneth Graunke <kenn...@whitecape.org>
wrote:

> On Friday, January 11, 2019 8:33:41 AM PST Jason Ekstrand wrote:
> > I think I kind of like having "mem" be on external things.  Shared is a
> > little weird there because it never leaves the chip so is it mem or
> shader?
>
> On Intel GPUs, "shared" maps to a concept called "Shared Local Memory".
> So I tend to think of it as memory :)
>
> It's not perfect, though.  While most shader_in/shader_out end up being
> thread-local, shader_out in a TCS is actually shared across threads (and
> pre-dates the shared keyword).
>
> I'm sort of inclined to leave that alone for now unless you think we
> ought to do something about it.
>

If by "leave it alone" you mean leave _mem on there, that's fine with me.
It was more of a philosophical question than an actual request for any sort
of change.


> > > We may also want to rename the nir->globals list, or
> > > nir_lower_global_vars_to_local and nir_opt_global_to_local.  Not sure.
> > >
> >
> > Yes, whatever we do, we should make those lists more consistent.
> >
>
>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to