diff options
author | Karol Herbst <[email protected]> | 2018-10-23 14:06:16 +0200 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2019-01-19 20:01:42 +0100 |
commit | acdad245850f5d89f52ff9d4fc8ddd5c0cfc78dd (patch) | |
tree | ca825e91f232fb98fedd188e8fcacae59680c72f /src/compiler/nir/nir_print.c | |
parent | 36a76b7192707edce540a7db8809df00e8643514 (diff) |
nir/spirv: handle SpvStorageClassCrossWorkgroup
v2: rename nir_var_global to nir_var_mem_global
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c index ab976af1c43..1bec3876143 100644 --- a/src/compiler/nir/nir_print.c +++ b/src/compiler/nir/nir_print.c @@ -421,6 +421,8 @@ get_variable_mode_str(nir_variable_mode mode, bool want_local_global_mode) return "ssbo"; case nir_var_mem_shared: return "shared"; + case nir_var_mem_global: + return "global"; case nir_var_shader_temp: return want_local_global_mode ? "shader_temp" : ""; case nir_var_function_temp: |