summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-07-24 11:36:06 -0700
committerKenneth Graunke <[email protected]>2018-07-25 10:19:41 -0700
commita2c63cae14de84f245e99154435a51de1d291058 (patch)
tree17d4eec6cb5df37dae71b0de87174e30e08475b6 /src/mesa
parentb21b38c46cd61d9b301a38ea7d868ac1eedb6d44 (diff)
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 <[email protected]> Reviewed-by: Christian Gmeiner <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_nir.h2
1 files changed, 1 insertions, 1 deletions
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,