mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
st/nir: Fix st_nir_opts() prototype.
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. Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
This commit is contained in:
parent
b21b38c46c
commit
a2c63cae14
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue