From 15954ab6caa0327702b83d861a88c3c498f6d0f1 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 6 Aug 2019 14:07:10 -0700 Subject: pan/midgard: Implement nir_intrinsic_load_num_work_groups Just a sysval to route through. Signed-off-by: Alyssa Rosenzweig --- src/panfrost/midgard/midgard_compile.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/panfrost/midgard/midgard_compile.h') diff --git a/src/panfrost/midgard/midgard_compile.h b/src/panfrost/midgard/midgard_compile.h index a15d6c0cded..2eb873f39e4 100644 --- a/src/panfrost/midgard/midgard_compile.h +++ b/src/panfrost/midgard/midgard_compile.h @@ -67,6 +67,7 @@ enum { PAN_SYSVAL_VIEWPORT_OFFSET = 2, PAN_SYSVAL_TEXTURE_SIZE = 3, PAN_SYSVAL_SSBO = 4, + PAN_SYSVAL_NUM_WORK_GROUPS = 5, } pan_sysval; #define PAN_TXS_SYSVAL_ID(texidx, dim, is_array) \ -- cgit v1.2.3