diff options
author | Samuel Pitoiset <[email protected]> | 2017-04-11 14:32:19 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-04-13 10:06:04 +0200 |
commit | 5fbe99ce9fe9922ed7b7c9bfda1825e2ae900a1e (patch) | |
tree | fa0a39923afd23f81ac267974a781773fe3c5594 /src/gallium/drivers | |
parent | b885488c2226d8eb782e4722b62d6c270f848fd0 (diff) |
softpipe: remove unused quad_shade_stage()
Fixes the following Clang warning.
sp_quad_fs.c:60:1: warning: unused function 'quad_shade_stage' [-Wunused-function]
quad_shade_stage(struct quad_stage *qs)
^
1 warning generated.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_quad_fs.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/drivers/softpipe/sp_quad_fs.c b/src/gallium/drivers/softpipe/sp_quad_fs.c index 8fb632d9dcf..26e7434edcb 100644 --- a/src/gallium/drivers/softpipe/sp_quad_fs.c +++ b/src/gallium/drivers/softpipe/sp_quad_fs.c @@ -55,14 +55,6 @@ struct quad_shade_stage }; -/** cast wrapper */ -static inline struct quad_shade_stage * -quad_shade_stage(struct quad_stage *qs) -{ - return (struct quad_shade_stage *) qs; -} - - /** * Execute fragment shader for the four fragments in the quad. * \return TRUE if quad is alive, FALSE if all four pixels are killed |