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/mesa/main/glspirv.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/mesa/main/glspirv.c')
-rw-r--r-- | src/mesa/main/glspirv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/glspirv.c b/src/mesa/main/glspirv.c index acad6f42fc7..227971091e1 100644 --- a/src/mesa/main/glspirv.c +++ b/src/mesa/main/glspirv.c @@ -243,7 +243,7 @@ _mesa_spirv_to_nir(struct gl_context *ctx, * inline functions. That way they get properly initialized at the top * of the function and not at the top of its caller. */ - NIR_PASS_V(nir, nir_lower_constant_initializers, nir_var_function); + NIR_PASS_V(nir, nir_lower_constant_initializers, nir_var_function_temp); NIR_PASS_V(nir, nir_lower_returns); NIR_PASS_V(nir, nir_inline_functions); NIR_PASS_V(nir, nir_opt_deref); |