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/nir/nir_lower_io.c | |
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/nir/nir_lower_io.c')
-rw-r--r-- | src/compiler/nir/nir_lower_io.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compiler/nir/nir_lower_io.c b/src/compiler/nir/nir_lower_io.c index c118842277c..d3d2d95f375 100644 --- a/src/compiler/nir/nir_lower_io.c +++ b/src/compiler/nir/nir_lower_io.c @@ -54,7 +54,7 @@ nir_assign_var_locations(struct exec_list *var_list, unsigned *size, * UBOs have their own address spaces, so don't count them towards the * number of global uniforms */ - if (var->data.mode == nir_var_mem_ubo || var->data.mode == nir_var_ssbo) + if (var->data.mode == nir_var_mem_ubo || var->data.mode == nir_var_mem_ssbo) continue; var->data.driver_location = location; @@ -590,7 +590,7 @@ build_explicit_io_load(nir_builder *b, nir_intrinsic_instr *intrin, case nir_var_mem_ubo: op = nir_intrinsic_load_ubo; break; - case nir_var_ssbo: + case nir_var_mem_ssbo: op = nir_intrinsic_load_ssbo; break; default: @@ -628,7 +628,7 @@ build_explicit_io_store(nir_builder *b, nir_intrinsic_instr *intrin, nir_intrinsic_op op; switch (mode) { - case nir_var_ssbo: + case nir_var_mem_ssbo: op = nir_intrinsic_store_ssbo; break; default: @@ -666,7 +666,7 @@ build_explicit_io_atomic(nir_builder *b, nir_intrinsic_instr *intrin, nir_intrinsic_op op; switch (mode) { - case nir_var_ssbo: + case nir_var_mem_ssbo: switch (intrin->intrinsic) { #define OP(O) case nir_intrinsic_deref_##O: op = nir_intrinsic_ssbo_##O; break; OP(atomic_exchange) |