mesa/src/freedreno
Karol Herbst d0c6ef2793 nir: rename global/local to private/function memory
the naming is a bit confusing no matter how you look at it. Within SPIR-V
"global" memory is memory accessible from all threads. glsl "global" memory
normally refers to shader thread private memory declared at global scope. As
we already use "shared" for memory shared across all thrads of a work group
the solution where everybody could be happy with is to rename "global" to
"private" and use "global" later for memory usually stored within system
accessible memory (be it VRAM or system RAM if keeping SVM in mind).
glsl "local" memory is memory only accessible within a function, while SPIR-V
"local" memory is memory accessible within the same workgroup.

v2: rename local to function as well
v3: rename vtn_variable_mode_local as well

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2019-01-08 18:51:46 +01:00
..
drm freedreno: debug GEM obj names 2018-12-13 15:51:01 -05:00
ir3 nir: rename global/local to private/function memory 2019-01-08 18:51:46 +01:00
.dir-locals.el freedreno: Add .dir-locals to the common directory 2018-12-11 13:14:08 -08:00
Makefile.am freedreno: Fix the Makefile.am fix 2018-12-10 14:28:09 -08:00
Makefile.sources freedreno/ir3: code-motion 2018-12-07 13:49:21 -05:00
meson.build