From 3a4524e2fece57502c93318351534129874c37f9 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 10 Mar 2020 15:41:56 -0400 Subject: panfrost: Promote midgard_program to panfrost/util We'll want Bifrost to reuse the same linking mechanisms for the most part. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/panfrost/pan_assemble.c | 2 +- src/gallium/drivers/panfrost/pan_blend_shaders.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium') diff --git a/src/gallium/drivers/panfrost/pan_assemble.c b/src/gallium/drivers/panfrost/pan_assemble.c index f8874cee60a..44e8c7af561 100644 --- a/src/gallium/drivers/panfrost/pan_assemble.c +++ b/src/gallium/drivers/panfrost/pan_assemble.c @@ -60,7 +60,7 @@ panfrost_shader_compile(struct panfrost_context *ctx, /* Call out to Midgard compiler given the above NIR */ - midgard_program program = { + panfrost_program program = { .alpha_ref = state->alpha_state.ref_value }; diff --git a/src/gallium/drivers/panfrost/pan_blend_shaders.c b/src/gallium/drivers/panfrost/pan_blend_shaders.c index a293c6bc3a8..0a312f71e23 100644 --- a/src/gallium/drivers/panfrost/pan_blend_shaders.c +++ b/src/gallium/drivers/panfrost/pan_blend_shaders.c @@ -181,7 +181,7 @@ panfrost_compile_blend_shader( /* Compile the built shader */ - midgard_program program; + panfrost_program program; midgard_compile_shader_nir(shader, &program, true, rt, screen->gpu_id, false); /* Allow us to patch later */ -- cgit v1.2.3