projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82dc168
)
lima/ppir: Fix assert condition in ppir_codegen_encode_branch.
author
Vinson Lee
<vlee@freedesktop.org>
Mon, 15 Jul 2019 05:58:33 +0000
(22:58 -0700)
committer
Vinson Lee
<vinsonl@gmail.com>
Mon, 15 Jul 2019 23:48:34 +0000
(23:48 +0000)
Fixes: af0de6b91c0b ("lima/ppir: implement discard and discard_if")
Reported-by: Coverity Scan
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/ir/pp/codegen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/lima/ir/pp/codegen.c
b/src/gallium/drivers/lima/ir/pp/codegen.c
index 49e91a87a385eb952e83ba56f65fdf5370c77b73..09cf5e623bd9cbb546af45c194283ce36133a23c 100644
(file)
--- a/
src/gallium/drivers/lima/ir/pp/codegen.c
+++ b/
src/gallium/drivers/lima/ir/pp/codegen.c
@@
-533,7
+533,7
@@
static void ppir_codegen_encode_branch(ppir_node *node, void *code)
return;
}
- assert(node->op = ppir_op_branch);
+ assert(node->op =
=
ppir_op_branch);
branch = ppir_node_to_branch(node);
b->branch.unknown_0 = 0x0;