diff options
author | Connor Abbott <[email protected]> | 2019-09-13 13:18:29 +0700 |
---|---|---|
committer | Connor Abbott <[email protected]> | 2019-09-24 08:33:56 +0200 |
commit | f989a024b45fdb228313328a8989f7fa797bf261 (patch) | |
tree | e8600794c808dce0e4bd30afec08a15731cbfb4e | |
parent | 0d635ccc912d7122f35f81eec27d8b2c0a2a7a28 (diff) |
lima/gpir: Fix compiler warning
Reviewed-by: Vasily Khoruzhick <[email protected]>
-rw-r--r-- | src/gallium/drivers/lima/ir/gp/nir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/lima/ir/gp/nir.c b/src/gallium/drivers/lima/ir/gp/nir.c index 567d2aa1896..6dcb4d88f02 100644 --- a/src/gallium/drivers/lima/ir/gp/nir.c +++ b/src/gallium/drivers/lima/ir/gp/nir.c @@ -246,7 +246,7 @@ static bool gpir_emit_load_const(gpir_block *block, nir_instr *ni) { nir_load_const_instr *instr = nir_instr_as_load_const(ni); gpir_const_node *node = - gpir_node_create_ssa(block, gpir_op_const, &instr->def); + gpir_node_to_const(gpir_node_create_ssa(block, gpir_op_const, &instr->def)); if (unlikely(!node)) return false; |