From: Alyssa Rosenzweig Date: Fri, 1 May 2020 15:37:21 +0000 (-0400) Subject: pan/bi: Add clause type for gl_FragCoord.zw load X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a415259fc7404fa473722ebdb0773c8fec3cd3d;p=mesa.git pan/bi: Add clause type for gl_FragCoord.zw load Signed-off-by: Alyssa Rosenzweig Part-of: --- 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 };