aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
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/gallium
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/gallium')
-rw-r--r--src/gallium/drivers/panfrost/pan_assemble.c2
-rw-r--r--src/gallium/drivers/panfrost/pan_blend_shaders.c2
-rw-r--r--src/gallium/drivers/panfrost/pan_context.h3
3 files changed, 2 insertions, 5 deletions
diff --git a/src/gallium/drivers/panfrost/pan_assemble.c b/src/gallium/drivers/panfrost/pan_assemble.c
index 5a36465500e..1f478fd1e3b 100644
--- a/src/gallium/drivers/panfrost/pan_assemble.c
+++ b/src/gallium/drivers/panfrost/pan_assemble.c
@@ -65,7 +65,7 @@ panfrost_shader_compile(
.alpha_ref = state->alpha_state.ref_value
};
- midgard_compile_shader_nir(&ctx->compiler, s, &program, false, screen->gpu_id);
+ midgard_compile_shader_nir(s, &program, false, screen->gpu_id);
/* Prepare the compiled binary for upload */
int size = program.compiled.size;
diff --git a/src/gallium/drivers/panfrost/pan_blend_shaders.c b/src/gallium/drivers/panfrost/pan_blend_shaders.c
index b31b3ce14c8..33a1f61c941 100644
--- a/src/gallium/drivers/panfrost/pan_blend_shaders.c
+++ b/src/gallium/drivers/panfrost/pan_blend_shaders.c
@@ -173,7 +173,7 @@ panfrost_compile_blend_shader(
/* Compile the built shader */
midgard_program program;
- midgard_compile_shader_nir(&ctx->compiler, shader, &program, true, screen->gpu_id);
+ midgard_compile_shader_nir(shader, &program, true, screen->gpu_id);
/* At least two work registers are needed due to an encoding quirk */
res.work_count = MAX2(program.work_register_count, 2);
diff --git a/src/gallium/drivers/panfrost/pan_context.h b/src/gallium/drivers/panfrost/pan_context.h
index 07f0c5d89c5..79755eaf97c 100644
--- a/src/gallium/drivers/panfrost/pan_context.h
+++ b/src/gallium/drivers/panfrost/pan_context.h
@@ -105,9 +105,6 @@ struct panfrost_context {
/* Gallium context */
struct pipe_context base;
- /* Compiler context */
- struct midgard_screen compiler;
-
/* Bound job batch and map of panfrost_batch_key to job batches */
struct panfrost_batch *batch;
struct hash_table *batches;