diff options
author | Roland Scheidegger <[email protected]> | 2014-05-13 02:20:32 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2014-05-15 02:35:26 +0200 |
commit | 1d28650b551bb516fdff99d0a196c1fa133f6d05 (patch) | |
tree | ad788566fe7c73ff6475c3ab578d830f39e163ab /src/gallium/drivers/llvmpipe/lp_context.h | |
parent | 3e817e7e56806d8adb8f16c35136045c29908944 (diff) |
llvmpipe: kill off llvmpipe_variant_count
Unused except it was increased for both fs and setup shader variants created.
Probably some leftover from ages ago.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_context.h')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_context.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_context.h b/src/gallium/drivers/llvmpipe/lp_context.h index ee8033cd28e..ee0831fbb6d 100644 --- a/src/gallium/drivers/llvmpipe/lp_context.h +++ b/src/gallium/drivers/llvmpipe/lp_context.h @@ -156,14 +156,6 @@ struct llvmpipe_context { }; -/** - * Fragment and setup variant count, used to trigger garbage collection. - * This is global since all variants in all contexts will be free when - * we do garbage collection. - */ -extern unsigned llvmpipe_variant_count; - - struct pipe_context * llvmpipe_create_context( struct pipe_screen *screen, void *priv ); @@ -171,7 +163,7 @@ struct pipe_resource * llvmpipe_user_buffer_create(struct pipe_screen *screen, void *ptr, unsigned bytes, - unsigned bind_flags); + unsigned bind_flags); static INLINE struct llvmpipe_context * |