summaryrefslogtreecommitdiff
path: root/src/panfrost/midgard/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/panfrost/midgard/compiler.h')
-rw-r--r--src/panfrost/midgard/compiler.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/panfrost/midgard/compiler.h b/src/panfrost/midgard/compiler.h
index ce273d3bf67..635c0cc14c5 100644
--- a/src/panfrost/midgard/compiler.h
+++ b/src/panfrost/midgard/compiler.h
@@ -217,9 +217,6 @@ typedef struct compiler_context {
nir_shader *nir;
gl_shader_stage stage;
- /* The screen we correspond to */
- struct midgard_screen *screen;
-
/* Is internally a blend shader? Depends on stage == FRAGMENT */
bool is_blend;
@@ -584,14 +581,10 @@ void schedule_program(compiler_context *ctx);
/* Broad types of register classes so we can handle special
* registers */
-#define NR_REG_CLASSES 6
-
#define REG_CLASS_WORK 0
#define REG_CLASS_LDST 1
-#define REG_CLASS_LDST27 2
#define REG_CLASS_TEXR 3
#define REG_CLASS_TEXW 4
-#define REG_CLASS_FRAGC 5
void mir_lower_special_reads(compiler_context *ctx);
struct lcra_state* allocate_registers(compiler_context *ctx, bool *spilled);