[Mesa-dev] [PATCH] glspirv: no need to force entrypoint name to "main"

Jason Ekstrand jason at jlekstrand.net
Wed Oct 31 14:21:12 UTC 2018


Sorry I missed that one.

Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

On Wed, Oct 31, 2018 at 5:57 AM Alejandro PiƱeiro <apinheiro at igalia.com>
wrote:

> Since commit "intel/compiler: Stop assuming the entrypoint is called
> "main"" there is no need to force the entrypoint name to be "main".
> ---
>  src/mesa/main/glspirv.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/src/mesa/main/glspirv.c b/src/mesa/main/glspirv.c
> index 98b7ea77348..04e46ba571e 100644
> --- a/src/mesa/main/glspirv.c
> +++ b/src/mesa/main/glspirv.c
> @@ -253,7 +253,6 @@ _mesa_spirv_to_nir(struct gl_context *ctx,
>           exec_node_remove(&func->node);
>     }
>     assert(exec_list_length(&nir->functions) == 1);
> -   entry_point->name = ralloc_strdup(entry_point, "main");
>
>     /* Split member structs.  We do this before lower_io_to_temporaries so
> that
>      * it doesn't lower system values to temporaries by accident.
> --
> 2.14.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181031/1d966595/attachment.html>


More information about the mesa-dev mailing list