summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_print.c
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2019-01-16 00:11:23 +0100
committerKarol Herbst <[email protected]>2019-01-19 20:01:41 +0100
commit6fefd6972438054e3fb45666b6714a5c9c4859b9 (patch)
tree059e31cfbcc28e19f6b0ff634fb108ab000e1c11 /src/compiler/nir/nir_print.c
parent3afc1e068f9f3ad125decc2761f7c0cf1fe2c3a6 (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_print.c')
-rw-r--r--src/compiler/nir/nir_print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c
index d9bc073b2d5..18a0f8d019a 100644
--- a/src/compiler/nir/nir_print.c
+++ b/src/compiler/nir/nir_print.c
@@ -417,7 +417,7 @@ get_variable_mode_str(nir_variable_mode mode, bool want_local_global_mode)
return "ubo";
case nir_var_system_value:
return "system";
- case nir_var_ssbo:
+ case nir_var_mem_ssbo:
return "ssbo";
case nir_var_shared:
return "shared";
@@ -507,7 +507,7 @@ print_var_decl(nir_variable *var, print_state *state)
var->data.mode == nir_var_shader_out ||
var->data.mode == nir_var_uniform ||
var->data.mode == nir_var_mem_ubo ||
- var->data.mode == nir_var_ssbo) {
+ var->data.mode == nir_var_mem_ssbo) {
const char *loc = NULL;
char buf[4];