diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-03-10 15:41:56 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-11 20:28:20 +0000 |
commit | 3a4524e2fece57502c93318351534129874c37f9 (patch) | |
tree | 0d504b53eaa33147a62d575675e4db3723002250 /src/gallium/drivers/panfrost | |
parent | 529c0ba2199852e7d894955e30620885f3bffd47 (diff) |
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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150>
Diffstat (limited to 'src/gallium/drivers/panfrost')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_assemble.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/panfrost/pan_blend_shaders.c | 2 |
2 files changed, 2 insertions, 2 deletions
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 */ |