summaryrefslogtreecommitdiffstats
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.h b/src/gallium/drivers/panfrost/pan_context.h
index 64de9624f51..57f32480e1f 100644
--- a/src/gallium/drivers/panfrost/pan_context.h
+++ b/src/gallium/drivers/panfrost/pan_context.h
@@ -44,6 +44,7 @@
#include "util/hash_table.h"
#include "midgard/midgard_compile.h"
+#include "compiler/shader_enums.h"
/* Forward declare to avoid extra header dep */
struct prim_convert_context;
@@ -314,7 +315,7 @@ panfrost_shader_compile(
enum pipe_shader_ir ir_type,
const void *ir,
const char *src,
- int type,
+ gl_shader_stage stage,
struct panfrost_shader_state *state);
void