pan/bi: Add clause type for gl_FragCoord.zw load
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 1 May 2020 15:37:21 +0000 (11:37 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 4 May 2020 15:08:14 +0000 (11:08 -0400)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4883>

src/panfrost/bifrost/bi_print.c
src/panfrost/bifrost/bifrost.h

index 08237b6354dc871b9ac555ce3df0efde17e24f57..26a5ff7f198c674811a7a91082c84e5ac45b443c 100644 (file)
@@ -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 "??";
index 3e8e0229e9d0f43638c7c900aec5a47039a8eecd..eba95f7d6152445ab6bf7b458160b93725273f25 100644 (file)
@@ -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
 };