diff options
-rw-r--r-- | src/glsl/nir/nir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c index 78ff886218d..2f7cbae42be 100644 --- a/src/glsl/nir/nir.c +++ b/src/glsl/nir/nir.c @@ -450,7 +450,7 @@ nir_call_instr_create(nir_shader *shader, nir_function_overload *callee) nir_tex_instr * nir_tex_instr_create(nir_shader *shader, unsigned num_srcs) { - nir_tex_instr *instr = ralloc(shader, nir_tex_instr); + nir_tex_instr *instr = rzalloc(shader, nir_tex_instr); instr_init(&instr->instr, nir_instr_type_tex); dest_init(&instr->dest); |