diff options
author | Dave Airlie <[email protected]> | 2019-06-20 06:47:08 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2019-06-21 10:27:57 +1000 |
commit | 00a56acc235e185bb3c7e2e0a7a731cc8f444044 (patch) | |
tree | feaeda4ede15322d44cae9462aa5f2f2ecdc136e /src/gallium/drivers/llvmpipe | |
parent | 955c63d3643f30d7db0c5d16e06a5eda4f62f889 (diff) |
llvmpipe: make remove_shader_variant static.
this isn't used outside this file.
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_fs.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_fs.h | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index ab285bed1ca..b05997a3aab 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -3023,7 +3023,7 @@ llvmpipe_bind_fs_state(struct pipe_context *pipe, void *fs) * Remove shader variant from two lists: the shader's variant list * and the context's variant list. */ -void +static void llvmpipe_remove_shader_variant(struct llvmpipe_context *lp, struct lp_fragment_shader_variant *variant) { diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.h b/src/gallium/drivers/llvmpipe/lp_state_fs.h index 28eccde17f8..dc04df8bd94 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.h +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.h @@ -145,8 +145,4 @@ struct lp_fragment_shader void lp_debug_fs_variant(const struct lp_fragment_shader_variant *variant); -void -llvmpipe_remove_shader_variant(struct llvmpipe_context *lp, - struct lp_fragment_shader_variant *variant); - #endif /* LP_STATE_FS_H_ */ |