diff options
author | Timothy Arceri <[email protected]> | 2017-11-01 16:20:36 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-11-03 08:32:35 +1100 |
commit | 4837ad483254a3b47cca524c7c6f3cc7071565f1 (patch) | |
tree | 954217ba52f54d7e700acd0b0efd2f0709eadb65 /src/mesa/state_tracker/st_nir.h | |
parent | 806721429afa090380bf39a4958fe4e21c63816c (diff) |
st/glsl_to_nir: pass gl_shader_program to st_finalize_nir()
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_nir.h')
-rw-r--r-- | src/mesa/state_tracker/st_nir.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_nir.h b/src/mesa/state_tracker/st_nir.h index 28d375c6fd1..9302a7c786b 100644 --- a/src/mesa/state_tracker/st_nir.h +++ b/src/mesa/state_tracker/st_nir.h @@ -41,7 +41,9 @@ struct nir_shader * st_glsl_to_nir(struct st_context *st, struct gl_program *pro struct gl_shader_program *shader_program, gl_shader_stage stage); -void st_finalize_nir(struct st_context *st, struct gl_program *prog, struct nir_shader *nir); +void st_finalize_nir(struct st_context *st, struct gl_program *prog, + struct gl_shader_program *shader_program, + struct nir_shader *nir); struct gl_program * st_nir_get_mesa_program(struct gl_context *ctx, |