lima/ppir: Fix assert condition in ppir_codegen_encode_branch.
authorVinson Lee <vlee@freedesktop.org>
Mon, 15 Jul 2019 05:58:33 +0000 (22:58 -0700)
committerVinson Lee <vinsonl@gmail.com>
Mon, 15 Jul 2019 23:48:34 +0000 (23:48 +0000)
commitd1a55d95594dcf634508c4b65e9cbcadfc1e1bd0
treee56a048505fe38d2a14aa145d8ceda8b6bb98a28
parent82dc168f51e35fe878d9d8eec79169dea82a7e34
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 <vlee@freedesktop.org>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/ir/pp/codegen.c