diff options
author | Karol Herbst <[email protected]> | 2019-01-16 00:11:23 +0100 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2019-01-19 20:01:41 +0100 |
commit | 6fefd6972438054e3fb45666b6714a5c9c4859b9 (patch) | |
tree | 059e31cfbcc28e19f6b0ff634fb108ab000e1c11 /src/compiler/glsl | |
parent | 3afc1e068f9f3ad125decc2761f7c0cf1fe2c3a6 (diff) |
nir: rename nir_var_ssbo to nir_var_mem_ssbo
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 | ||||
-rw-r--r-- | src/compiler/glsl/glsl_to_nir.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/glsl/gl_nir_lower_atomics.c b/src/compiler/glsl/gl_nir_lower_atomics.c index e0df547416f..8bbce00e467 100644 --- a/src/compiler/glsl/gl_nir_lower_atomics.c +++ b/src/compiler/glsl/gl_nir_lower_atomics.c @@ -101,7 +101,7 @@ lower_deref_instr(nir_builder *b, nir_intrinsic_instr *instr, nir_variable *var = nir_deref_instr_get_variable(deref); if (var->data.mode != nir_var_uniform && - var->data.mode != nir_var_ssbo && + var->data.mode != nir_var_mem_ssbo && var->data.mode != nir_var_shared) return false; /* atomics passed as function arguments can't be lowered */ diff --git a/src/compiler/glsl/glsl_to_nir.cpp b/src/compiler/glsl/glsl_to_nir.cpp index 6246c998022..d2db0f95aca 100644 --- a/src/compiler/glsl/glsl_to_nir.cpp +++ b/src/compiler/glsl/glsl_to_nir.cpp @@ -373,7 +373,7 @@ nir_visitor::visit(ir_variable *ir) break; case ir_var_shader_storage: - var->data.mode = nir_var_ssbo; + var->data.mode = nir_var_mem_ssbo; break; case ir_var_system_value: |