summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/panfrost/pan_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_context.h')
-rw-r--r--src/gallium/drivers/panfrost/pan_context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.h b/src/gallium/drivers/panfrost/pan_context.h
index 7947169f83b..d071da1c62f 100644
--- a/src/gallium/drivers/panfrost/pan_context.h
+++ b/src/gallium/drivers/panfrost/pan_context.h
@@ -42,6 +42,8 @@
#include "util/u_blitter.h"
#include "util/hash_table.h"
+#include "midgard/midgard_compile.h"
+
/* Forward declare to avoid extra header dep */
struct prim_convert_context;
@@ -264,6 +266,9 @@ struct panfrost_shader_state {
unsigned general_varying_stride;
struct mali_attr_meta varyings[PIPE_MAX_ATTRIBS];
+ unsigned sysval_count;
+ unsigned sysval[MAX_SYSVAL_COUNT];
+
/* Information on this particular shader variant */
struct pipe_alpha_state alpha_state;
};