diff options
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2017-04-11 14:42:39 +0200 |
---|---|---|
committer | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2017-04-13 10:06:04 +0200 |
commit | 12647533fa7136530c55018a147c859663c54e21 (patch) | |
tree | 12536993cc70c8e7db3864e3ebfb004627947339 /src | |
parent | 5fbe99ce9fe9922ed7b7c9bfda1825e2ae900a1e (diff) |
softpipe: remove unused sp_exec_fragment_shader()
Fixes the following Clang warning.
sp_fs_exec.c:56:1: warning: unused function 'sp_exec_fragment_shader' [-Wunused-function]
sp_exec_fragment_shader(const struct sp_fragment_shader_variant *var)
^
1 warning generated.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_fs_exec.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/drivers/softpipe/sp_fs_exec.c b/src/gallium/drivers/softpipe/sp_fs_exec.c index f1662bffdb..cb22850496 100644 --- a/src/gallium/drivers/softpipe/sp_fs_exec.c +++ b/src/gallium/drivers/softpipe/sp_fs_exec.c @@ -51,14 +51,6 @@ struct sp_exec_fragment_shader }; -/** cast wrapper */ -static inline struct sp_exec_fragment_shader * -sp_exec_fragment_shader(const struct sp_fragment_shader_variant *var) -{ - return (struct sp_exec_fragment_shader *) var; -} - - static void exec_prepare( const struct sp_fragment_shader_variant *var, struct tgsi_exec_machine *machine, |