diff options
author | Jason Ekstrand <[email protected]> | 2014-12-15 17:44:37 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-15 07:20:22 -0800 |
commit | 675ffdef3010400567a5f6f790f1f7bd2fede717 (patch) | |
tree | 8054dc07405551cf185b45b29bf7547368f1849f /src/glsl/nir/nir.h | |
parent | 951a7f23a076c1570f68b50fc7d03a33eb5145e7 (diff) |
nir: Make nir_ssa_undef_instr_create initialize the destination
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r-- | src/glsl/nir/nir.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h index 301e58fcc3d..b33d9c84909 100644 --- a/src/glsl/nir/nir.h +++ b/src/glsl/nir/nir.h @@ -1294,7 +1294,8 @@ nir_phi_instr *nir_phi_instr_create(void *mem_ctx); nir_parallel_copy_instr *nir_parallel_copy_instr_create(void *mem_ctx); -nir_ssa_undef_instr *nir_ssa_undef_instr_create(void *mem_ctx); +nir_ssa_undef_instr *nir_ssa_undef_instr_create(void *mem_ctx, + unsigned num_components); nir_deref_var *nir_deref_var_create(void *mem_ctx, nir_variable *var); nir_deref_array *nir_deref_array_create(void *mem_ctx); |