mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
panfrost: Flag blend shader function as an entry point
Some lowering functions used by bifrost are searching for an entry point. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7151>
This commit is contained in:
parent
6d3fce5680
commit
c7748968ba
1 changed files with 1 additions and 0 deletions
|
|
@ -145,6 +145,7 @@ panfrost_create_blend_shader(struct panfrost_context *ctx,
|
|||
|
||||
nir_shader *shader = nir_shader_create(ctx, MESA_SHADER_FRAGMENT, &midgard_nir_options, NULL);
|
||||
nir_function *fn = nir_function_create(shader, "main");
|
||||
fn->is_entrypoint = true;
|
||||
nir_function_impl *impl = nir_function_impl_create(fn);
|
||||
|
||||
const struct util_format_description *format_desc =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue