diff options
author | Karol Herbst <[email protected]> | 2019-01-16 00:05:04 +0100 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2019-01-19 20:01:41 +0100 |
commit | 9b24028426702f8d4c8c1f563ff9d32b99532357 (patch) | |
tree | daa3cb7bd7cac479cfd6f734e2c1b2b211a085da /src/compiler/spirv/vtn_cfg.c | |
parent | e5daef95877047d6c820953666dc570237c988db (diff) |
nir: rename nir_var_function to nir_var_function_temp
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/spirv/vtn_cfg.c')
-rw-r--r-- | src/compiler/spirv/vtn_cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/spirv/vtn_cfg.c b/src/compiler/spirv/vtn_cfg.c index dde5b972a29..36dbb540463 100644 --- a/src/compiler/spirv/vtn_cfg.c +++ b/src/compiler/spirv/vtn_cfg.c @@ -908,7 +908,7 @@ vtn_emit_cf_list(struct vtn_builder *b, struct list_head *cf_list, glsl_get_bare_type(b->func->type->return_type->type); nir_deref_instr *ret_deref = nir_build_deref_cast(&b->nb, nir_load_param(&b->nb, 0), - nir_var_function, ret_type, 0); + nir_var_function_temp, ret_type, 0); vtn_local_store(b, src, ret_deref); } |