summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorAdhemerval Zanella <[email protected]>2013-01-21 05:19:31 -0600
committerAdam Jackson <[email protected]>2013-02-11 13:41:28 -0500
commita8016b2f607ce8921972acb6ee6723c5a2d54017 (patch)
treece81a5fb8ca36d51db02c1bee6877e22af36e5b0 /src/gallium/drivers
parent44a5d7371c97d71d7dc0f7e81bf0a91cf7add0e0 (diff)
llvmpipe: remove lp_swizzled_cbuf
Ununsed since 75da95c5. Reviewed-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_memory.c11
-rw-r--r--src/gallium/drivers/llvmpipe/lp_memory.h3
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.c2
3 files changed, 0 insertions, 16 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_memory.c b/src/gallium/drivers/llvmpipe/lp_memory.c
index 85f73e54ac4..712e28ea3f8 100644
--- a/src/gallium/drivers/llvmpipe/lp_memory.c
+++ b/src/gallium/drivers/llvmpipe/lp_memory.c
@@ -29,17 +29,6 @@
#include "lp_limits.h"
#include "lp_memory.h"
-/**
- * 32bpp RGBA swizzled tiles. One for for each thread and each
- * possible colorbuf. Adds up to quite a bit 8*8*64*64*4 == 1MB.
- * Several schemes exist to reduce this, such as scaling back the
- * number of threads or using a smaller tilesize when multiple
- * colorbuffers are bound.
- */
-PIPE_ALIGN_VAR(LP_MIN_VECTOR_ALIGN)
-uint8_t lp_swizzled_cbuf[LP_MAX_THREADS][PIPE_MAX_COLOR_BUFS][TILE_SIZE * TILE_SIZE * 4];
-
-
/* A single dummy tile used in a couple of out-of-memory situations.
*/
PIPE_ALIGN_VAR(LP_MIN_VECTOR_ALIGN)
diff --git a/src/gallium/drivers/llvmpipe/lp_memory.h b/src/gallium/drivers/llvmpipe/lp_memory.h
index 5552c2908e1..0acd4e6b8ef 100644
--- a/src/gallium/drivers/llvmpipe/lp_memory.h
+++ b/src/gallium/drivers/llvmpipe/lp_memory.h
@@ -35,9 +35,6 @@
#include "gallivm/lp_bld_type.h"
extern PIPE_ALIGN_VAR(LP_MIN_VECTOR_ALIGN)
-uint8_t lp_swizzled_cbuf[LP_MAX_THREADS][PIPE_MAX_COLOR_BUFS][TILE_SIZE * TILE_SIZE * 4];
-
-extern PIPE_ALIGN_VAR(LP_MIN_VECTOR_ALIGN)
uint8_t lp_dummy_tile[TILE_SIZE * TILE_SIZE * 4];
#endif /* LP_MEMORY_H */
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c
index 09c578769bc..b5e5da61c2a 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.c
+++ b/src/gallium/drivers/llvmpipe/lp_rast.c
@@ -867,8 +867,6 @@ lp_rast_create( unsigned num_threads )
/* for synchronizing rasterization threads */
pipe_barrier_init( &rast->barrier, rast->num_threads );
- memset(lp_swizzled_cbuf, 0, sizeof lp_swizzled_cbuf);
-
memset(lp_dummy_tile, 0, sizeof lp_dummy_tile);
return rast;