diff options
author | Jason Ekstrand <[email protected]> | 2015-09-09 13:24:35 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-09-11 09:21:20 -0700 |
commit | a4aa25be1e0a27b1a6a6b0bcf576beb9dfe1ea7a (patch) | |
tree | 30cefc1dcba792fba83755d8149fff8182a0c7a8 /src/glsl/nir/nir_lower_io.c | |
parent | 8c8fc5f8336c8c79e5890265ae6c03271aa94075 (diff) |
nir: Remove the mem_ctx parameter from ssa_def_rewrite_uses
Reviewed-by: Thomas Helland <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_lower_io.c')
-rw-r--r-- | src/glsl/nir/nir_lower_io.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glsl/nir/nir_lower_io.c b/src/glsl/nir/nir_lower_io.c index 3739fc83f91..9f79c5606ca 100644 --- a/src/glsl/nir/nir_lower_io.c +++ b/src/glsl/nir/nir_lower_io.c @@ -186,8 +186,7 @@ nir_lower_io_block(nir_block *block, void *void_state) nir_ssa_dest_init(&load->instr, &load->dest, intrin->num_components, NULL); nir_ssa_def_rewrite_uses(&intrin->dest.ssa, - nir_src_for_ssa(&load->dest.ssa), - state->mem_ctx); + nir_src_for_ssa(&load->dest.ssa)); } else { nir_dest_copy(&load->dest, &intrin->dest, state->mem_ctx); } |