[Mesa-dev] [PATCH] st/nir: Fix st_nir_opts() prototype.

Christian Gmeiner christian.gmeiner at gmail.com
Wed Jul 25 08:49:52 UTC 2018


Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>

--
Christian Gmeiner, MSc

https://christian-gmeiner.info

Kenneth Graunke <kenneth at whitecape.org> schrieb am Di., 24. Juli 2018,
23:55:

> This wasn't updated for the new scalar ISA parameter.  It worked anyway
> because all the function's callers live in the same file, so it found
> the correct function.  Tim made this external for the new st prog_to_nir
> translator, which got reverted, but which I'd like to land eventually.
>
> So, fix the prototype.
> ---
>  src/mesa/state_tracker/st_nir.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/state_tracker/st_nir.h
> b/src/mesa/state_tracker/st_nir.h
> index 15f1ce93e5a..aa6e32758e8 100644
> --- a/src/mesa/state_tracker/st_nir.h
> +++ b/src/mesa/state_tracker/st_nir.h
> @@ -42,7 +42,7 @@ void st_finalize_nir(struct st_context *st, struct
> gl_program *prog,
>                       struct gl_shader_program *shader_program,
>                       struct nir_shader *nir);
>
> -void st_nir_opts(struct nir_shader *nir);
> +void st_nir_opts(struct nir_shader *nir, bool is_scalar);
>
>  bool
>  st_link_nir(struct gl_context *ctx,
> --
> 2.18.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180725/38f6078a/attachment.html>


More information about the mesa-dev mailing list