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.

> > 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.
> 

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to