diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-06 14:07:10 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-12 12:43:02 -0700 |
commit | 15954ab6caa0327702b83d861a88c3c498f6d0f1 (patch) | |
tree | e4eed091e66e71b90f2f7903b41420960216586b /src/panfrost/midgard/midgard_compile.h | |
parent | 7229af794b824a3c117611319cc22054f47fbbe6 (diff) |
pan/midgard: Implement nir_intrinsic_load_num_work_groups
Just a sysval to route through.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/midgard_compile.h')
-rw-r--r-- | src/panfrost/midgard/midgard_compile.h | 1 |
1 files changed, 1 insertions, 0 deletions
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) \ |