From 5a415259fc7404fa473722ebdb0773c8fec3cd3d Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 1 May 2020 11:37:21 -0400 Subject: [PATCH] pan/bi: Add clause type for gl_FragCoord.zw load Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bi_print.c | 1 + src/panfrost/bifrost/bifrost.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/panfrost/bifrost/bi_print.c b/src/panfrost/bifrost/bi_print.c index 08237b6354d..26a5ff7f198 100644 --- a/src/panfrost/bifrost/bi_print.c +++ b/src/panfrost/bifrost/bi_print.c @@ -37,6 +37,7 @@ bi_clause_type_name(enum bifrost_clause_type T) case BIFROST_CLAUSE_SSBO_LOAD: return "load"; case BIFROST_CLAUSE_SSBO_STORE: return "store"; case BIFROST_CLAUSE_BLEND: return "blend"; + case BIFROST_CLAUSE_FRAGZ: return "fragz"; case BIFROST_CLAUSE_ATEST: return "atest"; case BIFROST_CLAUSE_64BIT: return "64"; default: return "??"; diff --git a/src/panfrost/bifrost/bifrost.h b/src/panfrost/bifrost/bifrost.h index 3e8e0229e9d..eba95f7d615 100644 --- a/src/panfrost/bifrost/bifrost.h +++ b/src/panfrost/bifrost/bifrost.h @@ -42,6 +42,7 @@ enum bifrost_clause_type { BIFROST_CLAUSE_SSBO_LOAD = 5, BIFROST_CLAUSE_SSBO_STORE = 6, BIFROST_CLAUSE_BLEND = 9, + BIFROST_CLAUSE_FRAGZ = 12, BIFROST_CLAUSE_ATEST = 13, BIFROST_CLAUSE_64BIT = 15 }; -- 2.30.2