diff options
author | Timothy Arceri <[email protected]> | 2018-05-09 13:25:46 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-05-12 14:48:21 +1000 |
commit | 0b3e9564bdda575c3956f338454f4f632041e151 (patch) | |
tree | 8559f3d36c887713e3bd80b2952f3c815c8681b9 /src/mesa/state_tracker/st_nir.h | |
parent | 0907d3ab9c61ee1fc841aaf22fb4a5ab38633a0c (diff) |
st/nir: make st_nir_opts() available externally
The following patch will make use of this for asm style programs.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_nir.h')
-rw-r--r-- | src/mesa/state_tracker/st_nir.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_nir.h b/src/mesa/state_tracker/st_nir.h index 1c2e32a5e6f..15f1ce93e5a 100644 --- a/src/mesa/state_tracker/st_nir.h +++ b/src/mesa/state_tracker/st_nir.h @@ -42,6 +42,8 @@ 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); + bool st_link_nir(struct gl_context *ctx, struct gl_shader_program *shader_program); |