pan/bi: Suppress inf/nan for now
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 27 May 2020 18:53:05 +0000 (14:53 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 27 May 2020 20:58:00 +0000 (16:58 -0400)
This is a (hopefully temporary) hack. The blob does it for ES2 at any
rate.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5232>

src/panfrost/bifrost/bi_pack.c

index 8643dd9afbff56c945c69f48ff1b110292715711..04cc51f58b74461bc1e3fa2656254f328c700855 100644 (file)
@@ -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;