Mesa 3D graphics library

Forked from Mesa / mesa

  • Karol Herbst's avatar
    nir: rename global/local to private/function memory · d0c6ef27
    Karol Herbst authored
    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's avatarKarol Herbst <kherbst@redhat.com>
    Reviewed-by: Jason Ekstrand's avatarJason Ekstrand <jason@jlekstrand.net>
    d0c6ef27
Name
Last commit
Last update
bin Loading commit data...
build-support Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
m4 Loading commit data...
scons Loading commit data...
scripts Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
Makefile.am Loading commit data...
README.rst Loading commit data...
REVIEWERS Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...
autogen.sh Loading commit data...
common.py Loading commit data...
configure.ac Loading commit data...
install-gallium-links.mk Loading commit data...
install-lib-links.mk Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...