diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-10-31 22:25:05 -0400 |
---|---|---|
committer | Tomeu Vizoso <[email protected]> | 2019-11-13 15:27:56 +0000 |
commit | 771d23584a1fa79f2547a74ff680fbec56bb2ee9 (patch) | |
tree | a37867c01c749d9ae4da22365a644382ac716082 /src/panfrost/midgard/midgard_compile.h | |
parent | e343f2ceb91fb177f49788d9ce609819082f60c5 (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/midgard_compile.h')
-rw-r--r-- | src/panfrost/midgard/midgard_compile.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/src/panfrost/midgard/midgard_compile.h b/src/panfrost/midgard/midgard_compile.h index 2e6e44913a8..045837a7b5d 100644 --- a/src/panfrost/midgard/midgard_compile.h +++ b/src/panfrost/midgard/midgard_compile.h @@ -26,27 +26,6 @@ #include "compiler/nir/nir.h" #include "util/u_dynarray.h" -#include "util/register_allocate.h" - -/* To be shoved inside panfrost_screen for the Gallium driver, or somewhere - * else for Vulkan/standalone. The single compiler "screen" to be shared across - * all shader compiles, used to store complex initialization (for instance, - * related to register allocation) */ - -struct midgard_screen { - /* Precomputed register allocation sets for varying numbers of work - * registers. The zeroeth entry corresponds to 8 work registers. The - * eighth entry corresponds to 16 work registers. NULL if this set has - * not been allocated yet. */ - - struct ra_regs *regs[9]; - - /* Work register classes corresponds to the above register sets. 20 per - * set for 5 classes per work/ldst/ldst27/texr/texw/fragc. TODO: Unify with - * compiler.h */ - - unsigned reg_classes[9][5 * 5]; -}; /* Define the general compiler entry point */ @@ -111,7 +90,7 @@ typedef struct { } midgard_program; int -midgard_compile_shader_nir(struct midgard_screen *screen, nir_shader *nir, midgard_program *program, bool is_blend, unsigned gpu_id); +midgard_compile_shader_nir(nir_shader *nir, midgard_program *program, bool is_blend, unsigned gpu_id); /* NIR options are shared between the standalone compiler and the online * compiler. Defining it here is the simplest, though maybe not the Right |