diff options
Diffstat (limited to 'src/compiler/nir/nir_phi_builder.c')
-rw-r--r-- | src/compiler/nir/nir_phi_builder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_phi_builder.c b/src/compiler/nir/nir_phi_builder.c index f96dad78dd8..6b4b6939917 100644 --- a/src/compiler/nir/nir_phi_builder.c +++ b/src/compiler/nir/nir_phi_builder.c @@ -81,7 +81,7 @@ struct nir_phi_builder_value { struct nir_phi_builder * nir_phi_builder_create(nir_function_impl *impl) { - struct nir_phi_builder *pb = ralloc(NULL, struct nir_phi_builder); + struct nir_phi_builder *pb = rzalloc(NULL, struct nir_phi_builder); pb->shader = impl->function->shader; pb->impl = impl; |