From: Alyssa Rosenzweig Date: Wed, 27 May 2020 18:53:05 +0000 (-0400) Subject: pan/bi: Suppress inf/nan for now X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ae8b4af75ea708323352c5c016dc4c72ba9c893;p=mesa.git pan/bi: Suppress inf/nan for now This is a (hopefully temporary) hack. The blob does it for ES2 at any rate. Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/bifrost/bi_pack.c b/src/panfrost/bifrost/bi_pack.c index 8643dd9afbf..04cc51f58b7 100644 --- a/src/panfrost/bifrost/bi_pack.c +++ b/src/panfrost/bifrost/bi_pack.c @@ -48,6 +48,8 @@ bi_pack_header(bi_clause *clause, bi_clause *next, bool is_fragment) .scoreboard_index = clause->scoreboard_id, .clause_type = clause->clause_type, .next_clause_type = next ? next->clause_type : 0, + .suppress_inf = true, + .suppress_nan = true, }; header.branch_cond |= header.back_to_back;