projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d635cc
)
lima/gpir: Fix compiler warning
author
Connor Abbott
<cwabbott0@gmail.com>
Fri, 13 Sep 2019 06:18:29 +0000
(13:18 +0700)
committer
Connor Abbott
<cwabbott0@gmail.com>
Tue, 24 Sep 2019 06:33:56 +0000
(08:33 +0200)
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/ir/gp/nir.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/lima/ir/gp/nir.c
b/src/gallium/drivers/lima/ir/gp/nir.c
index 567d2aa18962a9128eb65d3d858b58cf4fa9c8e3..6dcb4d88f02827a8b0536208edc60f088177ec77 100644
(file)
--- 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;