diff options
author | Karol Herbst <[email protected]> | 2019-01-16 00:12:38 +0100 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2019-01-19 20:01:41 +0100 |
commit | 36a76b7192707edce540a7db8809df00e8643514 (patch) | |
tree | b50a34b3befbf7b42d1b38d5d98cf00792b2415b /src/compiler/glsl | |
parent | 6fefd6972438054e3fb45666b6714a5c9c4859b9 (diff) |
nir: rename nir_var_shared to nir_var_mem_shared
Signed-off-by: Karol Herbst <[email protected]>
Acked-by: Jason Ekstrand <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler/glsl')
-rw-r--r-- | src/compiler/glsl/gl_nir_lower_atomics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/gl_nir_lower_atomics.c b/src/compiler/glsl/gl_nir_lower_atomics.c index 8bbce00e467..60642e7130a 100644 --- a/src/compiler/glsl/gl_nir_lower_atomics.c +++ b/src/compiler/glsl/gl_nir_lower_atomics.c @@ -102,7 +102,7 @@ lower_deref_instr(nir_builder *b, nir_intrinsic_instr *instr, if (var->data.mode != nir_var_uniform && var->data.mode != nir_var_mem_ssbo && - var->data.mode != nir_var_shared) + var->data.mode != nir_var_mem_shared) return false; /* atomics passed as function arguments can't be lowered */ const unsigned uniform_loc = var->data.location; |