diff options
author | Vinson Lee <[email protected]> | 2019-07-14 22:58:33 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2019-07-15 23:48:34 +0000 |
commit | d1a55d95594dcf634508c4b65e9cbcadfc1e1bd0 (patch) | |
tree | e56a048505fe38d2a14aa145d8ceda8b6bb98a28 /src/gallium/drivers/lima/ir | |
parent | 82dc168f51e35fe878d9d8eec79169dea82a7e34 (diff) |
lima/ppir: Fix assert condition in ppir_codegen_encode_branch.
Fixes: af0de6b91c0b ("lima/ppir: implement discard and discard_if")
Reported-by: Coverity Scan
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Vasily Khoruzhick <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima/ir')
-rw-r--r-- | src/gallium/drivers/lima/ir/pp/codegen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/lima/ir/pp/codegen.c b/src/gallium/drivers/lima/ir/pp/codegen.c index 49e91a87a38..09cf5e623bd 100644 --- 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; |