summaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/compiler.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-10-31 22:25:05 -0400
committerTomeu Vizoso <[email protected]>2019-11-13 15:27:56 +0000
commit771d23584a1fa79f2547a74ff680fbec56bb2ee9 (patch)
treea37867c01c749d9ae4da22365a644382ac716082 /src/panfrost/midgard/compiler.h
parente343f2ceb91fb177f49788d9ce609819082f60c5 (diff)
pan/midgard: Remove util/ra support
It's now unused, in favour of LCRA. Signed-off-by: Alyssa Rosenzweig <[email protected]>
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);